mirror of
https://github.com/ae-utbm/sith.git
synced 2025-03-31 08:50:26 +00:00
40 lines
991 B
HTML
40 lines
991 B
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<link rel="stylesheet" href="style.css" />
|
|
<title>{% block title %}Bienvenue sur le Sith de l'AE!{% endblock %}</title>
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
{% block header %}
|
|
{% if user.is_authenticated %}Hello, {{ user.username }}!{% endif %}
|
|
<ul>
|
|
<li><a href="{% url 'core:register' %}">Register</a></li>
|
|
<li><a href="{% url 'core:login' %}">Login</a></li>
|
|
<li><a href="{% url 'core:logout' %}">Logout</a></li>
|
|
<li><a href="{% url 'core:user_list' %}">Users</a></li>
|
|
</ul>
|
|
{% endblock %}
|
|
</header>
|
|
|
|
<div id="content">
|
|
{% if error %}
|
|
{{ error }}
|
|
{% endif %}
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<footer>
|
|
{% block footer %}
|
|
Site réalisé par des gens biens
|
|
{% endblock %}
|
|
</footer>
|
|
<!--
|
|
{% block tests %}
|
|
{{ tests }}
|
|
{% endblock %}
|
|
-->
|
|
</body>
|
|
</html>
|