69 lines
1.5 KiB
HTML
69 lines
1.5 KiB
HTML
{% load static %}
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8"/>
|
||
<meta name="viewport" content="width=device-width"/>
|
||
<title>{% block title %}{% endblock %} – KeRS</title>
|
||
<link rel="stylesheet" type="text/css" href="{% static 'main.css' %}"/>
|
||
{% block styles %}{% endblock %}
|
||
</head>
|
||
<body>
|
||
|
||
<header>
|
||
<h1><a href="/"><span class="align">Zeus WPI Kelder­registratie­systeem</span></a></h1>
|
||
<nav>
|
||
<div class="align">
|
||
<ul class="alignLeft">
|
||
<li>
|
||
<a href="{% url 'events:index' %}">
|
||
Home</a>
|
||
</li>
|
||
<li>
|
||
<a href="{% url 'users:profile' %}">
|
||
Profiel
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<ul class="alignRight">
|
||
{% 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>
|
||
<div style="clear: both;"></div>
|
||
</div>
|
||
</nav>
|
||
</header>
|
||
<main class="align">
|
||
{% block content %}{% endblock %}
|
||
</main>
|
||
<footer class="align">
|
||
<a href="https://zeus.gent/about/privacy/">Privacybeleid</a> |
|
||
<a href="https://git.zeus.gent/bestuur/kers">Broncode</a> |
|
||
Ontwikkeld door <a href="https://zeus.gent/">Zeus WPI</a>
|
||
</footer>
|
||
</body>
|
||
</html>
|