kers/templates/base.html

72 lines
1.7 KiB
HTML
Raw Normal View History

2020-07-22 17:16:04 +02:00
{% load static %}
2020-07-22 04:08:30 +02:00
<!DOCTYPE html>
<html>
2020-07-22 05:44:49 +02:00
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
2020-07-22 17:16:04 +02:00
<title>{% block title %}{% endblock %} KeRS</title>
<link rel="stylesheet" type="text/css" href="{% static 'main.css' %}"/>
2020-08-04 04:27:30 +02:00
<link rel="stylesheet" type="text/css" href="{% static 'dracula.css' %}"/>
2020-07-22 05:44:49 +02:00
{% block styles %}{% endblock %}
</head>
<body>
2020-07-22 17:25:59 +02:00
<header>
2020-07-25 13:27:20 +02:00
<h1><a href="/"><span class="align">Zeus WPI Kelder&shy;registratie&shy;systeem</span></a></h1>
2020-07-22 17:25:59 +02:00
<nav>
<div class="align">
<ul class="alignLeft">
<li>
<a href="{% url 'events:index' %}">
Home</a>
</li>
<li>
<a href="{% url 'users:profile' %}">
2020-07-22 17:43:50 +02:00
Profiel
2020-07-22 17:25:59 +02:00
</a>
</li>
</ul>
<ul class="alignRight">
{% if user.is_authenticated %}
2020-07-25 13:27:20 +02:00
<li class="deemphasized">
2020-07-22 17:25:59 +02:00
<span>
2020-07-22 17:44:32 +02:00
Hallo, {{ user.username }}
2020-07-22 17:25:59 +02:00
</span>
</li>
2020-07-26 22:45:43 +02:00
{% if user.is_staff or user.is_superuser %}
<li>
<a href="{% url 'admin:index' %}">
Admininterface
</a>
</li>
{% endif %}
2020-07-22 17:25:59 +02:00
<li>
<a href="{% url 'users:logout' %}">
2020-07-26 22:45:43 +02:00
Afmelden
2020-07-22 17:25:59 +02:00
</a>
</li>
{% else %}
<li>
<a href="{% url 'oauth:login' %}">
2020-07-26 22:45:43 +02:00
Inloggen
2020-07-22 17:25:59 +02:00
</a>
</li>
{% endif %}
2020-07-22 15:10:49 +02:00
2020-07-22 17:25:59 +02:00
</ul>
<div style="clear: both;"></div>
</div>
</nav>
</header>
<main class="align">
2020-07-22 15:10:49 +02:00
{% block content %}{% endblock %}
2020-07-22 14:06:16 +02:00
</main>
<footer class="align">
2020-08-04 18:45:48 +02:00
<a href="https://git.zeus.gent/bestuur/drive/blob/master/activiteiten/2020-2021/kelderregels.md">Regels in de kelder</a> |
<a href="https://zeus.gent/about/privacy/#kers">Privacybeleid</a> |
<a href="https://git.zeus.gent/bestuur/kers">Broncode</a> |
Ontwikkeld door <a href="https://zeus.gent/">Zeus WPI</a>
</footer>
2020-07-22 14:06:16 +02:00
</body>
2020-07-22 04:08:30 +02:00
</html>