Skip to content
......@@ -4,23 +4,26 @@
<title>Liste Chasseur</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<h1>Liste Chasseur</h1>
<form action="/nouveauChasseur" method="post">
<table>
<tr>
<th>Identifiant chasseur</th>
<th>Identifiant</th>
<th>Type chasseur</th>
<th>Etat chasseur</th>
</tr>
<tr>
<td th:each="chasseur : ${chasseur}" th:text="${chasseur.id_chasseur}"></td>
<td th:each="chasseur : ${chasseur}" th:text="${chasseur.type}"></td>
<td th:each="chasseur : ${chasseur}" th:text="${chasseur.etat}"></td>
<tr th:each="chasseur: ${listeChasseur}">
<td>
<a th:href="'/ficheChasseur?id_chasseur=' + ${chasseur.id_chasseur}" th:text="${chasseur.id_chasseur}">
</a>
</td>
<td th:text="${chasseur.type_chasseur}"></td>
<td th:text="${chasseur.etat_chasseur}"></td>
</tr>
</table>
</form>
<a href="/menu" class="menu">Retour au Menu</a>
</body>
</html>
......@@ -8,28 +8,37 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<title>Liste Pilote</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
<h1>Liste Pilote</h1>
</header>
<table>
<tr>
<th>Id pilote</th>
<th>nom</th>
<th>prenom</th>
<th>age</th>
<th>race</th>
<th>grade</th>
<th>etat</th>
<th>Nom</th>
<th>Prenom</th>
<th>Age</th>
<th>Race</th>
<th>Grade</th>
<th>Type</th>
<th>Etat</th>
</tr>
<tr>
<td th:each="pilote : ${pilotes}" th:text="${pilote.id_pilote}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.nom}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.prenom}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.age_inscription}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.race}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.grade}"></td>
<td th:each="pilote : ${pilotes}" th:text="${pilote.etat_pilote}"></td>
<tr th:each="pilote : ${pilotes}">
<td th:text="${pilote.id_pilote}"></td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age_inscription}"></td>
<td th:text="${pilote.race}"></td>
<td th:text="${pilote.grade}"></td>
<td th:text="${pilote.type_pilote}"></td>
<td th:text="${pilote.etat_pilote}"></td>
<td><a th:href="'/fichePilote?id_pilote=' + ${pilote.id_pilote}">Voir la fiche du Pilote</a></td>
</tr>
</table>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
</footer>
</body>
</html>
<!DOCTYPE html>
<!--
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this template
-->
<html>
<head>
<title>Menu</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/style.css">
</head>
<body>
<header>
<h1>ALLIANCE REBELLE</h1>
</header>
<main>
<h2>Pilote</h2>
<ul>
<li><a href="/inscriptionPilote" class="menu">Inscription d'un nouveau pilote</a></li>
<li><a href="/listePilote" class="menu">Liste des pilotes actifs</a></li>
</ul>
<h2>Chasseur</h2>
<ul>
<li><a href="/nouveauChasseur" class="menu">Ajouter un chasseur à la flotte</a></li>
<li><a href="/listeChasseur" class="menu">Liste des chasseurs</a></li>
</ul>
<h2>Mission</h2>
<ul>
<li><a href="/nouvelleMission" class="menu">Nouvelle mission</a></li>
<li><a href="/listeMission" class="menu">Liste des missions</a></li>
<li><a href="/clotureMission" class="menu">Clôturer une mission</a></li>
</ul>
</main>
<footer></footer>
</body>
</html>