Skip to content
......@@ -5,35 +5,39 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Cloture Mission</title>
<title>cloture mission</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Cloture Mission</h1>
<h1>cloture mission</h1>
</header>
<main>
<form action="clotureMission" method="post">
<div>
<label for="clotureMission">Nombre d'heure</label>
<label for="clotureMission">nombre d'heure</label>
<input type="text" id="heures" name="heures"/>
</div>
<div>
<label for="resultat">Resultat Mission : </label>
<label for="resultat">resultat mission : </label>
<select id="resultat" name="resultats">
<option th:each="resultat : ${resultatMission}" th:value="${resultat}" th:text="${resultat}"></option>
</select>
</div>
<div>
<label>tail</label>
<label>detail</label>
<div>
<label for="pilote">Pilote</label>
<label for="pilote">pilote</label>
<select id="pilote" name="pilote">
<option th:each="pilote : ${etatPilote}" th:value="${etatPilote}" th:text="${etatPilote}"></option>
</select>
<label for="chasseur">Chasseur</label>
<label for="chasseur">chasseur</label>
<select id="chasseur" name="chasseur">
<option th:each="chasseur : ${etatChasseur}" th:value="${etatChasseur}" th:text="${etatChasseur}"></option>
</select>
......@@ -41,7 +45,8 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
</div>
</form>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Fiche Chasseur</title>
<title>fiche chasseur</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<h1>Fiche Chasseur</h1>
<header>
<h1>fiche chasseur</h1>
</header>
<main>
<table>
<tr>
<th>Identifiant</th>
<th>Type Chasseur</th>
<th>Etat Chasseur</th>
<th>identifiant</th>
<th>type chasseur</th>
<th>etat chasseur</th>
</tr>
<tr th:each="chasseur: ${ficheChasseur}">
<td th:text="${chasseur.id_chasseur}"></td>
......@@ -20,6 +27,10 @@
<td th:text="${chasseur.etat_chasseur}"></td>
</tr>
</table>
<a th:href="@{/listeChasseur}">Retour à la liste des chasseurs</a>
<a th:href="@{/listeChasseur}">retour a la liste des chasseurs</a>
<footer>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</body>
</html>
......@@ -5,28 +5,34 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Fiche Pilote</title>
<title>fiche pilote</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Fiche Pilote</h1>
<h1>fiche pilote</h1>
</header>
<p>Prénom : <span th:text="${pilote.prenom}"></span></p>
<p>Nom : <span th:text="${pilote.nom}"></span></p>
<p>Race : <span th:text="${pilote.race}"></span></p>
<p>Age_inscription : <span th:text="${pilote.age_inscription}"></span></p>
<p>État : <span th:text="${pilote.etat_pilote}"></span></p>
<main>
<p>prenom : <span th:text="${pilote.prenom}"></span></p>
<p>nom : <span th:text="${pilote.nom}"></span></p>
<p>race : <span th:text="${pilote.race}"></span></p>
<p>age inscription : <span th:text="${pilote.age}"></span></p>
<p>etat : <span th:text="${pilote.etat}"></span></p>
<!--besoin db des missions afin pouvoir afficher Missions-->
<p>Nombre d'heures de vol : </p>
<p>Grade : <span th:text="${pilote.grade}"></span></p>
<p>nombre d'heures de vol : </p>
<p>grade : <span th:text="${pilote.grade}"></span></p>
<!--besoin db des missions afin pouvoir afficher Missions-->
<p>Liste des Missions</p>
<p>Type pilote : <span th:text="${pilote.type_pilote}"></span></p>
<p>liste des missions</p>
<p>type pilote : <span th:text="${pilote.type}"></span></p>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</body>
</html>
......@@ -5,40 +5,49 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Inscription Pilote</title>
<title>inscription pilote</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Inscription Pilote</h1>
<h1>inscription pilote</h1>
</header>
<main>
<form action="inscriptionPilote" method="post">
<div>
<label for="prenom">Prenom</label>
<div class="box"/>
<label class="label"/>
<div class="form-prenom">
<label for="prenom">prenom</label>
<input type="text" id="prenom" name="prenom"/>
</div>
<div>
<label for="nom">Nom</label>
<div class="form-nom">
<label for="nom">nom</label>
<input type="text" id="nom" name="nom"/>
<!--th:value="${user.nomnom}"-->
</div>
<div>
<label for="races">Choose a race :</label>
<label for="races">choisir une race :</label>
<select id="races" name="races">
<option th:each="race : ${racePilotes}" th:value="${race}" th:text="${race}"></option>
</select>
</div>
<div>
<label for="age">Age</label>
<div class="form-age">
<label for="age">age</label>
<input type="text" id="age" name="age"/>
</div>
<input type="submit" value="Submit"/>
<input type="submit" value="Valider"/>
<input type="reset" value="Annuler"/>
</div>
</form>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Liste Chasseur</title>
<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">
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<h1>Liste Chasseur</h1>
<header>
<h1>liste chasseur</h1>
</header>
<main>
<table>
<tr>
<th>Identifiant</th>
<th>Type chasseur</th>
<th>Etat chasseur</th>
<th>identifiant</th>
<th>type chasseur</th>
<th>etat chasseur</th>
</tr>
<tr th:each="chasseur: ${listeChasseur}">
<td>
<a th:href="'/ficheChasseur?id_chasseur=' + ${chasseur.id_chasseur}" th:text="${chasseur.id_chasseur}">
<a th:href="'/ficheChasseur?id_chasseur=' + ${chasseur.idChasseur}" th:text="${chasseur.idChasseur}">
</a>
</td>
<td th:text="${chasseur.type_chasseur}"></td>
<td th:text="${chasseur.etat_chasseur}"></td>
<td th:text="${chasseur.type}"></td>
<td th:text="${chasseur.etat}"></td>
</tr>
</table>
<a href="/menu" class="menu">Retour au Menu</a>
<footer>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>liste mission</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Liste Missions Terminées</h1>
</header>
<table>
<tr>
<th>Mission</th>
<th>Pilote(s)</th>
<th>Chasseur(s)</th>
<th>Resultat</th>
<th>Nombre d'heures</th>
</tr>
<tr th:each="mission : ${missions}">
<td th:text="${mission.titre}"></td>
<td>
<span th:each="affectation, iterStat : ${mission.affectation}">
<span th:text="${affectation.pilote.nom}"></span>
<span th:if="${!iterStat.last}"></br></span>
</span>
</td>
<td>
<span th:each="affectation, iterStat : ${mission.affectation}">
<span th:text="${affectation.chasseur.type}"></span>
<span th:if="${!iterStat.last}"></br></span>
</span>
</td>
<td>
<span th:each="affectation, iterStat : ${mission.affectation}">
<span th:text="${affectation.mission.resultat}"></span>
<span th:if="${!iterStat.last}"></br></span>
</span>
</td>
<td>
<span th:each="affectation, iterStat : ${mission.affectation}">
<span th:text="${affectation.mission.nbHeure}"></span>
<span th:if="${!iterStat.last}"></br></span>
</span>
</td>
</tr>
</table>
<footer>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</main>
</body>
</html>
......@@ -5,15 +5,25 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Liste Pilote</title>
<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">
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Liste Pilote</h1>
<h1>liste des pilotes</h1>
</header>
<main>
<div class="tri">
<a th:href="@{/listePiloteParType}"><p>Trier par rang de pilote</p></a>
<a th:href="@{/listePiloteParGrade}"><p>Trier par grade de pilote</p></a>
<a th:href="@{/listePiloteParEtat}"><p>Trier par état de pilote</p></a>
</div>
<table>
<tr>
<th>Id pilote</th>
......@@ -26,19 +36,23 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<th>Etat</th>
</tr>
<tr th:each="pilote : ${pilotes}">
<td th:text="${pilote.id_pilote}"></td>
<td th:text="${pilote.idPilote}"></td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age_inscription}"></td>
<td th:text="${pilote.age}"></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>
<td th:text="${pilote.type}"></td>
<td th:text="${pilote.etat}"></td>
<td>
<a th:href="'/fichePilote?id_pilote=' + ${pilote.idPilote}" th:text="'Fiche Pilote'">
</a>
</td>
</tr>
</table>
</main>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
<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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<h1>Liste des Pilotes disponible (sans apprenti)</h1>
<table>
<tr>
<th>Id pilote</th>
<th>Nom</th>
<th>Prenom</th>
<th>Age</th>
<th>Race</th>
<th>Grade</th>
<th>Type</th>
<th>Etat</th>
</tr>
<tr th:each="pilote : ${pilotes}">
<td>
<a th:href="'/fichePilote?id_pilote=' + ${pilote.idPilote}" th:text="${pilote.idPilote}">
</a>
</td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age}"></td>
<td th:text="${pilote.race}"></td>
<td th:text="${pilote.grade}"></td>
<td th:text="${pilote.type}"></td>
<td th:text="${pilote.etat}"></td>
</tr>
</table>
<p>
<a href="/listePilote">Retour au Liste Pilote</a>
</p>
</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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>liste des pilotes par etat</h1>
</header>
<main>
<form action="/listePiloteParEtat" method="post">
<div>
<label for="etats">choisir un etat :</label>
<select id="etats" name="etats">
<option th:each="etat : ${etats}" th:value="${etat}" th:text="${etat}"></option>
</select>
<input type="submit" value="Trier"/>
</div>
</form>
<table>
<tr>
<th>Id pilote</th>
<th>Nom</th>
<th>Prenom</th>
<th>Age</th>
<th>Race</th>
<th>Grade</th>
<th>Type</th>
<th>Etat</th>
</tr>
<tr th:each="pilote : ${pilotes}">
<td>
<a th:href="'/fichePilote?id_pilote=' + ${pilote.idPilote}" th:text="${pilote.idPilote}">
</a>
</td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age}"></td>
<td th:text="${pilote.race}"></td>
<td th:text="${pilote.grade}"></td>
<td th:text="${pilote.type}"></td>
<td th:text="${pilote.etat}"></td>
</tr>
</table>
<p>
<a href="/listePilote">retour au liste pilote</a>
</p>
</main>
<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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>liste des pilotes par grades</h1>
</header>
<main>
<form action="/listePiloteParGrade" method="post">
<div>
<label for="grades">choisir un grade :</label>
<select id="grades" name="grades">
<option th:each="grade : ${grades}" th:value="${grade}" th:text="${grade}"></option>
</select>
<input type="submit" value="Trier"/>
</div>
</form>
<table>
<tr>
<th>Id pilote</th>
<th>Nom</th>
<th>Prenom</th>
<th>Age</th>
<th>Race</th>
<th>Grade</th>
<th>Type</th>
<th>Etat</th>
</tr>
<tr th:each="pilote : ${pilotes}">
<td>
<a th:href="'/fichePilote?id_pilote=' + ${pilote.idPilote}" th:text="${pilote.idPilote}">
</a>
</td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age}"></td>
<td th:text="${pilote.race}"></td>
<td th:text="${pilote.grade}"></td>
<td th:text="${pilote.type}"></td>
<td th:text="${pilote.etat}"></td>
</tr>
</table>
<p>
<a href="/listePilote">retour a la liste pilote</a>
</p>
</main>
<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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>liste des pilotes par rang</h1>
</header>
<main>
<form action="/listePiloteParType" method="post">
<div>
<label for="types">choisir un rang :</label>
<select id="types" name="types">
<option th:each="type : ${types}" th:value="${type}" th:text="${type}"></option>
</select>
<input type="submit" value="Trier"/>
</div>
</form>
<table>
<tr>
<th>Id pilote</th>
<th>Nom</th>
<th>Prenom</th>
<th>Age</th>
<th>Race</th>
<th>Grade</th>
<th>Type</th>
<th>Etat</th>
</tr>
<tr th:each="pilote : ${pilotes}">
<td>
<a th:href="'/fichePilote?id_pilote=' + ${pilote.idPilote}" th:text="${pilote.idPilote}">
</a>
</td>
<td th:text="${pilote.nom}"></td>
<td th:text="${pilote.prenom}"></td>
<td th:text="${pilote.age}"></td>
<td th:text="${pilote.race}"></td>
<td th:text="${pilote.grade}"></td>
<td th:text="${pilote.type}"></td>
<td th:text="${pilote.etat}"></td>
</tr>
</table>
<p>
<a href="/listePilote">retour au liste pilote</a>
</p>
</main>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
</footer>
</body>
</html>
......@@ -7,12 +7,16 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<head>
<title>Menu</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>ALLIANCE REBELLE</h1>
<h1>alliance rebelle</h1>
</header>
<main>
<h2>Pilote</h2>
......@@ -29,10 +33,9 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<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="/listeMission" class="menu">Liste des missions terminée</a></li>
<li><a href="/clotureMission" class="menu">Clôturer une mission</a></li>
</ul>
</main>
<footer></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 xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Modifier Etat 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>Modifier Etat Chasseur</h1>
<form action="/modifierEtatChasseur" method="post">
<div>
<label for="etat">Etat du chasseur</label>
<select id="etat" name="etat">
<option th:each="chasseur : ${chasseur}" th:value="${chasseur.etat}" th:text="${chasseur.etat}"></option>
</select>
</div>
<input type="submit" value="Modifier"/>
</form>
<a th:href="@{/listeChasseur}">Retour à la liste des chasseurs</a>
</body>
</html>
......@@ -2,28 +2,36 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Nouveau Chasseur</title>
<title>nouveau chasseur</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" href="/style.css"/>
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header><h1>Nouveau Chasseur</h1></header>
<form action="/nouveauChasseur" method="get">
<header>
<h1>nouveau chasseur</h1>
</header>
<main>
<form action="/nouveauChasseur" method="post">
<div>
<fieldset>
<legend>Selectionner un chasseur</legend>
<legend>selectionner un chasseur</legend>
<div th:each="type : ${type}">
<input type="radio" th:id="${type}" th:name="typeChasseur" th:value="${type}" />
<label th:for="${type}" th:text="${type}"></label>
</div>
</fieldset>
<div>
<input type="submit" value="Envoyer"/>
<input type="submit" value="Valider"/>
<input type="reset" value="Annuler"/>
</div>
</div>
</form>
</main>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
</footer>
......
......@@ -5,31 +5,42 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
-->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<title>Nouvelle Mission</title>
<title>nouvelle mission</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="/style.css">
<link href="https://fonts.cdnfonts.com/css/star-wars" rel="stylesheet">
<style>
@import url('https://fonts.cdnfonts.com/css/star-wars');
</style>
</head>
<body>
<header>
<h1>Nouvelle Mission</h1>
<h1>nouvelle mission</h1>
</header>
<main>
<form action="nouvelleMission" method="post">
<div>
<label for="missions">Choisir une mission :</label>
<label for="missions">choisir un type de mission :</label>
<select id="missions" name="missions">
<option th:each="mission : ${typeMissions}" th:value="${mission}" th:text="${mission}"></option>
</select>
</div>
<div>
<label for="missions">Titre</label>
<label for="missions">titre</label>
<input type="text" id="titre" name="titre"/>
</div>
<div>
<a href="/affectation">affecter du personnel a la mission</a>
</div>
<input type="submit" value="Valider"/>
<input type="reset" value="Annuler"/>
</form>
</main>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
<a href="/menu" class="menu">retour au menu</a>
</footer>
</body>
</html>