antinote/app/templates/layout/base.html

44 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2023-05-15 03:38:16 +02:00
{# layout/base.html.j2 #}
<!DOCTYPE html>
<html lang="fr-fr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/static/style.css" rel="stylesheet" type="text/css">
<script src="https://kit.fontawesome.com/0fd87250ec.js" crossorigin="anonymous"></script>
<title>{% block title %}{% endblock %}</title>
<style>
:root {
--theme-color: #00643c;
--theme-color-light: #caefe1;
}
</style>
</head>
<body>
<header>
<div id="identification">
<a href="/logout">Se déconnecter</a>
2023-05-15 03:38:16 +02:00
<div id="schoolid">Lycée polyvalent Alain-René Lesage</div>
<div id="userid">Espace Élèves - {{ s.user.nom }} {{ s.user.prenom }}</div>
2023-05-15 03:38:16 +02:00
</div>
<ul id="navbar">
{% for url, label, style in menuitems %}
{% if request.path == url %}
<li><a href="{{ url }}" class="active {{ style }}">{{ label|safe }}</a></li>
{% else %}
<li><a href="{{ url }}" class="{{ style }}">{{ label|safe }}</a></li>
{% endif %}
{% endfor %}
</ul>
</header>
<main>
{% block main %}{% endblock %}
</main>
<footer>
&copy; Antinote {{year}}
</footer>
</body>
</html>