Ajout du style pour la page de connexion
This commit is contained in:
@ -8,15 +8,17 @@
|
||||
|
||||
<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>
|
||||
<table class="grade-report">
|
||||
{% for matiere, notes in grades.items() %}
|
||||
<tr><th colspan=3>{{ matiere }}</th></tr>
|
||||
{% for note in notes %}
|
||||
<tr>
|
||||
<td>{{ note[1] }}</td>
|
||||
<td>{{ note[4] }}/{{ note[5] }}</td>
|
||||
<td>coeff. {{ note[3] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
@ -6,9 +6,6 @@
|
||||
|
||||
<h1>Bienvenue sur Antinote !</h1>
|
||||
|
||||
Ce site est encore en construction. yo
|
||||
|
||||
{{ session }}
|
||||
|
||||
Vous pouvez vous déplacer dans le site à l'aide des menus.
|
||||
|
||||
{% endblock %}
|
@ -5,12 +5,20 @@
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<link href="/static/login.css" rel="stylesheet" type="text/css">
|
||||
<title>Se connecter</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Se connecter</h1>
|
||||
<p>Vous pouvez utiliser les identifiants de démonstration : <strong>demo</strong>/<strong>demo</strong>.</p>
|
||||
{% if request.args["error"] %}
|
||||
<p class="error-box">Nom d'utilisateur ou mot de passe invalide.</p>
|
||||
{% endif %}
|
||||
<form method="post">
|
||||
<input type="text" name="username">
|
||||
<input type="password" name="password">
|
||||
<table>
|
||||
<tr><th>Nom d'utilisateur</th><td><input type="text" name="username"></td></tr>
|
||||
<tr><th>Mot de passe</th><td><input type="password" name="password"></td></tr>
|
||||
</table>
|
||||
<input type="submit">
|
||||
</form>
|
||||
</body>
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
<h1>Emploi du temps</h1>
|
||||
|
||||
Ce site est encore en construction.
|
||||
Veuillez attendre encore un peu pour que cette fonctionnalité soit implémentée.
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user