174 lines
7.0 KiB
HTML
174 lines
7.0 KiB
HTML
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="/static/style.css" />
|
|
<title>Notes de {{ eleve.prenom }} {{ eleve.nom }} - EduGrade</title>
|
|
</head>
|
|
<body>
|
|
<div class="dashboard-wrapper">
|
|
<nav class="navbar">
|
|
<div class="nav-brand">
|
|
<svg
|
|
width="35"
|
|
height="35"
|
|
viewBox="0 0 60 60"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<rect
|
|
width="60"
|
|
height="60"
|
|
rx="15"
|
|
fill="white"
|
|
fill-opacity="0.2"
|
|
/>
|
|
<path
|
|
d="M30 15L40 25L30 35L20 25L30 15Z"
|
|
fill="white"
|
|
/>
|
|
<path
|
|
d="M30 25L40 35L30 45L20 35L30 25Z"
|
|
fill="white"
|
|
fill-opacity="0.7"
|
|
/>
|
|
</svg>
|
|
<span>EduGrade</span>
|
|
</div>
|
|
<div class="nav-links">
|
|
<a href="/prof/eleves" class="nav-link">
|
|
<svg
|
|
width="18"
|
|
height="18"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
>
|
|
<path
|
|
d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
|
|
/>
|
|
</svg>
|
|
Retour aux élèves
|
|
</a>
|
|
<a href="/prof/dashboard" class="nav-link">Dashboard</a>
|
|
<a href="/logout" class="btn-logout">
|
|
<svg
|
|
width="18"
|
|
height="18"
|
|
viewBox="0 0 20 20"
|
|
fill="currentColor"
|
|
>
|
|
<path
|
|
d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"
|
|
/>
|
|
</svg>
|
|
Déconnexion
|
|
</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="content-wrapper">
|
|
<div class="page-header">
|
|
<div>
|
|
<h1>
|
|
<svg
|
|
width="30"
|
|
height="30"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
>
|
|
<path
|
|
d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
|
|
/>
|
|
</svg>
|
|
Notes de {{ eleve.prenom }} {{ eleve.nom }}
|
|
</h1>
|
|
<p class="page-subtitle">
|
|
<span class="badge-login">{{ eleve.login }}</span>
|
|
</p>
|
|
</div>
|
|
<a href="/prof/notes/ajouter" class="btn btn-primary">
|
|
<svg
|
|
width="18"
|
|
height="18"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
>
|
|
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
|
|
</svg>
|
|
Ajouter une note
|
|
</a>
|
|
</div>
|
|
|
|
{% if notes %}
|
|
<div class="table-container">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>UE</th>
|
|
<th>Matière</th>
|
|
<th class="text-center">Note</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for note in notes %}
|
|
<tr>
|
|
<td>
|
|
<span class="badge-ue"
|
|
>{{ note.ue_code }}</span
|
|
>
|
|
<span class="text-muted"
|
|
>{{ note.ue_nom }}</span
|
|
>
|
|
</td>
|
|
<td>
|
|
<span class="badge-code"
|
|
>{{ note.matiere_code }}</span
|
|
>
|
|
<strong>{{ note.matiere }}</strong>
|
|
</td>
|
|
<td class="text-center">
|
|
<span
|
|
class="note-value {% if note.note >= 10 %}note-success{% else %}note-danger{% endif %}"
|
|
>
|
|
{{ note.note }}/20
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% else %}
|
|
<div class="empty-state">
|
|
<svg
|
|
width="80"
|
|
height="80"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
opacity="0.3"
|
|
>
|
|
<path
|
|
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"
|
|
/>
|
|
</svg>
|
|
<h3>Aucune note</h3>
|
|
<p>Cet élève n'a aucune note pour le moment</p>
|
|
<a href="/prof/notes/ajouter" class="btn btn-primary">
|
|
<svg
|
|
width="18"
|
|
height="18"
|
|
viewBox="0 0 24 24"
|
|
fill="currentColor"
|
|
>
|
|
<path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
|
|
</svg>
|
|
Ajouter une note
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|