kers/templates/base.html

63 lines
1.3 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-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>
<li>
<a href="{% url 'users:logout' %}">
2020-07-22 17:43:50 +02:00
Log out
2020-07-22 17:25:59 +02:00
</a>
</li>
{% else %}
<li>
<a href="{% url 'oauth:login' %}">
2020-07-22 17:43:50 +02:00
Log in
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">
<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>
2020-07-22 14:06:16 +02:00
</body>
2020-07-22 04:08:30 +02:00
</html>