antinote/app/templates/layout/base.html

43 lines
1.3 KiB
HTML

{# 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">
<div id="schoolid">Lycée polyvalent Alain-René Lesage</div>
<div id="userid">Espace Élèves - NOM Prénom (Classe)</div>
</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>