44 lines
1.4 KiB
HTML
44 lines
1.4 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">
|
|
<a href="/logout">Se déconnecter</a>
|
|
<div id="schoolid">Lycée polyvalent Alain-René Lesage</div>
|
|
<div id="userid">Espace Élèves - {{ s.user.nom }} {{ s.user.prenom }}</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>
|
|
© Antinote {{year}}
|
|
</footer>
|
|
</body>
|
|
</html>
|