kers/templates/base.html

72 lines
1.7 KiB
HTML
Raw Permalink Normal View History

2020-07-22 15:16:04 +00:00
{% load static %}
2020-07-22 02:08:30 +00:00
<!DOCTYPE html>
<html>
2020-07-22 03:44:49 +00:00
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width"/>
2020-07-22 15:16:04 +00:00
<title>{% block title %}{% endblock %} KeRS</title>
<link rel="stylesheet" type="text/css" href="{% static 'main.css' %}"/>
2020-08-04 02:27:30 +00:00
<link rel="stylesheet" type="text/css" href="{% static 'dracula.css' %}"/>
2020-07-22 03:44:49 +00:00
{% block styles %}{% endblock %}
</head>
<body>
2020-07-22 15:25:59 +00:00
<header>
2020-07-25 11:27:20 +00:00
<h1><a href="/"><span class="align">Zeus WPI Kelder&shy;registratie&shy;systeem</span></a></h1>
2020-07-22 15:25:59 +00: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 15:43:50 +00:00
Profiel
2020-07-22 15:25:59 +00:00
</a>
</li>
</ul>
<ul class="alignRight">
{% if user.is_authenticated %}
2020-07-25 11:27:20 +00:00
<li class="deemphasized">
2020-07-22 15:25:59 +00:00
<span>
2020-07-22 15:44:32 +00:00
Hallo, {{ user.username }}
2020-07-22 15:25:59 +00:00
</span>
</li>
2020-07-26 20:45:43 +00:00
{% if user.is_staff or user.is_superuser %}
<li>
<a href="{% url 'admin:index' %}">
Admininterface
</a>
</li>
{% endif %}
2020-07-22 15:25:59 +00:00
<li>
<a href="{% url 'users:logout' %}">
2020-07-26 20:45:43 +00:00
Afmelden
2020-07-22 15:25:59 +00:00
</a>
</li>
{% else %}
<li>
<a href="{% url 'oauth:login' %}">
2020-07-26 20:45:43 +00:00
Inloggen
2020-07-22 15:25:59 +00:00
</a>
</li>
{% endif %}
2020-07-22 13:10:49 +00:00
2020-07-22 15:25:59 +00:00
</ul>
<div style="clear: both;"></div>
</div>
</nav>
</header>
<main class="align">
2020-07-22 13:10:49 +00:00
{% block content %}{% endblock %}
2020-07-22 12:06:16 +00:00
</main>
<footer class="align">
2020-08-04 16:45:48 +00: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 12:06:16 +00:00
</body>
2020-07-22 02:08:30 +00:00
</html>