Ajout des fichiers

This commit is contained in:
2023-05-15 03:38:16 +02:00
parent 79a94cda35
commit 626f8359cf
13 changed files with 389 additions and 0 deletions

22
app/templates/grades.html Normal file
View File

@ -0,0 +1,22 @@
{# grades.html #}
{% extends "layout/base.html" %}
{% block title %}Mes notes | Antinote{% endblock %}
{% block main %}
<h1>Mes notes</h1>
<ul id="liste-notes">
<li>
<span class="section">Mathématiques</span>
<ul>
<li>12/20</li>
<li>15/20</li>
</ul>
</li>
<li>Philosophie</li>
</ul>
{% endblock %}

14
app/templates/index.html Normal file
View File

@ -0,0 +1,14 @@
{% extends "layout/base.html" %}
{% block title %}Accueil | Antinote{% endblock %}
{% block main %}
<h1>Bienvenue sur Antinote&nbsp;!</h1>
Ce site est encore en construction. yo
{{ session }}
{% endblock %}

View File

@ -0,0 +1,42 @@
{# 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>

0
app/templates/login.html Normal file
View File

View File

@ -0,0 +1,11 @@
{% extends "layout/base.html" %}
{% block title %}Accueil | Antinote{% endblock %}
{% block main %}
<h1>Emploi du temps</h1>
Ce site est encore en construction.
{% endblock %}