62 lines
1.7 KiB
HTML
62 lines
1.7 KiB
HTML
|
{% load static %}
|
||
|
<!doctype html>
|
||
|
<html class="no-js" lang="">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||
|
<title>{% block title %}{%endblock%} - Mordor</title>
|
||
|
<meta name="description" content="">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
||
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||
|
<link rel="stylesheet" type="text/css" href="{% static 'main.css' %}"/>
|
||
|
{% block styles %}{% endblock %}
|
||
|
<!-- Place favicon.ico in the root directory -->
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
<hgroup>
|
||
|
<h1>Mordor</h1>
|
||
|
<div class="subtitle">Mate order tool</div>
|
||
|
<nav>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<a href="{% url 'winkel' %}">Winkel</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{% url 'orders' %}">Mijn orders</a>
|
||
|
</li>
|
||
|
{% if user.is_authenticated %}
|
||
|
<li class="deemphasized">
|
||
|
<span>
|
||
|
Hallo, {{ user.username }}
|
||
|
</span>
|
||
|
</li>
|
||
|
{% if user.is_staff or user.is_superuser %}
|
||
|
<li>
|
||
|
<a href="{% url 'admin:index' %}">
|
||
|
Admininterface
|
||
|
</a>
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
<li>
|
||
|
<a href="{% url 'users:logout' %}">
|
||
|
Afmelden
|
||
|
</a>
|
||
|
</li>
|
||
|
{% else %}
|
||
|
<li>
|
||
|
<a href="{% url 'oauth:login' %}">
|
||
|
Inloggen
|
||
|
</a>
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</nav>
|
||
|
</hgroup>
|
||
|
<main>
|
||
|
{% block content %}{% endblock %}
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|