Skip to content
The font file in this archive was created using Fontstruct the free, online
font-building tool.
This font was created by “opipik”.
This font has a homepage where this archive and other versions may be found:
http://fontstruct.com/fontstructions/show/773756
Try Fontstruct at http://fontstruct.com
It’s easy and it’s fun.
NOTE FOR FLASH USERS: Fontstruct fonts (fontstructions) are optimized for Flash.
If the font in this archive is a pixel font, it is best displayed at a font-size
of 8.
Fontstruct is sponsored by FontShop.
Visit them at http://www.fontshop.com
FontShop is the original independent font retailer. We’ve been around since
the dawn of digital type. Whether you need the right font or need to create the
right font from scratch, let our 22 years of experience work for you.
Fontstruct is copyright ©2013 Rob Meek
LEGAL NOTICE:
In using this font you must comply with the licensing terms described in the
file “license.txt” included with this archive.
If you redistribute the font file in this archive, it must be accompanied by all
the other files from this archive, including this one.
@font-face{
font-family:'Starkiller';
src:
url('/fonts/StarkillerOutline-3L5L.ttf') format('truetype');
}
@font-face{
font-family:'anakinmono';
src:
url('/fonts/anakinmono.ttf') format('truetype');
}
:root {
--glow-color: hsl(60 100% 50%);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
h1 {
font-family: 'Starkiller';
}
h2{
text-align: left;
margin-inline-end: auto;
margin-left: 15%;
}
body {
font-family: anakinmono, sans-serif;
background-image: url("https://p.turbosquid.com/ts-thumb/p4/gieJXZ/ZM/screenshot001/png/1650377346/1920x1080/fit_q99/cfea16e5fcc5a49514ffdb25a1eeb849c115d0eb/screenshot001.jpg");
background-size: 50%;
background-repeat: no-repeat;
background-size: cover;
}
fieldset{
border-color: yellow;
}
body{
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
color: yellow;
}
th{
color: yellow;
}
a{
color: yellow;
}
.tri{
display: flex;
flex-direction: row;
width: 100%;
justify-content: space-between;
}
.mission > h2{
margin-left: 43%;
}
button{
font-family: anakinmono, sans-serif;
background-color: black;
color: yellow;
display: flex;
justify-content: center;
}
.mission{
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.box {
display: flex;
align-items: center;
justify-content: center;
margin: auto;
}
.bouton {
display: flex;
align-items : center;
justify-content : center;
margin-left : auto;
margin-right : auto;
}
main::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.5); /* Adjust the last value (alpha) to control the transparency */
z-index: -1; /* Place the overlay behind the content */
}
main{
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
}
form{
display: flex;
justify-content: center;
}
.laber{
text-align: left;
}
.inscription {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.box{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.button{
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
input{
font-family: "anakinmono", sans-serif;
background-color: black;
color: yellow;
}
ul{
width: 100%;
margin-left: 50%;
}
li{
list-style: none;
}
select{
font-family: "anakinmono", sans-serif;
background-color: black;
color: yellow;
}
.radio {
padding: 0.3rem 0.5rem;
border: 1px dashed #ccc;
background-color: black;
}
.radio {
border: 1px solid #000;
}
.glowing-btn {
position: relative;
color: var(--glow-color);
cursor: pointer;
padding: 0.35em 1em;
border: 0.15em solid var(--glow-color);
border-radius: 0.45em;
background: none;
perspective: 2em;
font-family: "Starkiller", sans-serif;
font-size: 2em;
font-weight: 900;
letter-spacing: 0.2em;
-webkit-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
0px 0px 0.5em 0px var(--glow-color);
-moz-box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
0px 0px 0.5em 0px var(--glow-color);
box-shadow: inset 0px 0px 0.5em 0px var(--glow-color),
0px 0px 0.5em 0px var(--glow-color);
animation: border-flicker 2s linear infinite;
}
.glowing-txt {
float: left;
margin-right: -0.8em;
-webkit-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
0 0 0.45em var(--glow-color);
-moz-text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3),
0 0 0.45em var(--glow-color);
text-shadow: 0 0 0.125em hsl(0 0% 100% / 0.3), 0 0 0.45em var(--glow-color);
animation: text-flicker 3s linear infinite;
}
.faulty-letter {
opacity: 0.5;
animation: faulty-flicker 2s linear infinite;
}
.glowing-btn::before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: 0.7;
filter: blur(1em);
transform: translateY(120%) rotateX(95deg) scale(1, 0.35);
background: var(--glow-color);
pointer-events: none;
}
.glowing-btn::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
z-index: -1;
background-color: var(--glow-color);
box-shadow: 0 0 2em 0.2em var(--glow-color);
transition: opacity 100ms linear;
}
.glowing-btn:hover {
color: rgba(0, 0, 0, 0.8);
text-shadow: none;
animation: none;
}
.glowing-btn:hover .glowing-txt {
animation: none;
}
.glowing-btn:hover .faulty-letter {
animation: none;
text-shadow: none;
opacity: 1;
}
.glowing-btn:hover:before {
filter: blur(1.5em);
opacity: 1;
}
.glowing-btn:hover:after {
opacity: 1;
}
@keyframes faulty-flicker {
0% {
opacity: 0.1;
}
2% {
opacity: 0.1;
}
4% {
opacity: 0.5;
}
19% {
opacity: 0.5;
}
21% {
opacity: 0.1;
}
23% {
opacity: 1;
}
80% {
opacity: 0.5;
}
83% {
opacity: 0.4;
}
87% {
opacity: 1;
}
}
@keyframes text-flicker {
0% {
opacity: 0.1;
}
2% {
opacity: 1;
}
8% {
opacity: 0.1;
}
9% {
opacity: 1;
}
12% {
opacity: 0.1;
}
20% {
opacity: 1;
}
25% {
opacity: 0.3;
}
30% {
opacity: 1;
}
70% {
opacity: 0.7;
}
72% {
opacity: 0.2;
}
77% {
opacity: 0.9;
}
100% {
opacity: 0.9;
}
}
@keyframes border-flicker {
0% {
opacity: 0.1;
}
2% {
opacity: 1;
}
4% {
opacity: 0.1;
}
8% {
opacity: 1;
}
70% {
opacity: 0.7;
}
100% {
opacity: 1;
}
}
@media only screen and (max-width: 600px) {
.glowing-btn{
font-size: 1em;
}
}
<!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>cloture mission</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><span class='faulty-letter'>{</span> Cloture Mission</h1>
</header>
<form class='mission' action="/clotureMission" method="post">
<div class='box'>
<label for="missions">Choisir une mission :</label>
<select id="missions" name="missions">
<option th:each="mission : ${missions}" th:value="${mission.idMission}" th:text="${mission.titre}"></option>
</select>
</div>
<div>
<label for="clotureMission">Nombre d'heure</label>
<input type="text" id="heures" name="heures"/>
</div>
<div>
<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>
<p> List pilote(s) dans la mission: </p>
<div th:each="pilote : ${pilotes}">
<p th:text="${pilote.nom}"></p>
</div>
<p> List chasseur(s) dans la mission: </p>
<div th:each="chasseur : ${chasseurs}">
<p th:text="${chasseur.type}"></p>
</div>
</div>
<input type="submit" value="Submit"/>
<input type="reset" value="Annuler"/>
</form>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
</footer>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<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>
<header>
<h1><span class='faulty-letter'>{</span> Fiche chasseur</h1>
</header>
<main>
<form th:action="@{/ficheChasseur}" method="post">
<table>
<tr>
<th>Id</th>
<th>Type chasseur</th>
<th>Etat chasseur</th>
</tr>
<tr th:each="chasseur: ${ficheChasseur}">
<td th:text="${chasseur.idChasseur}"></td>
<td th:text="${chasseur.type}"></td>
<td>
<select id="etat" name="etat">
<option th:each="etat : ${etat}" th:value="${etat}" th:text="${etat}"></option>
</select>
</td>
</tr>
</table>
<input type="submit" value="Submit"/>
</form>
<a th:href="@{/listeChasseur}">Retour a la liste des chasseurs</a>
</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>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><span class='faulty-letter'>{</span> Fiche Pilote</h1>
</header>
<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 à l'inscription : <span th:text="${pilote.age}"></span></p>
<p>Etat : <span th:text="${pilote.etat}"></span></p>
<p>Nombre d'heures de vol :
<span th:text="${nbHeure}"></span>
</p>
<p>Grade : <span th:text="${pilote.grade}"></span></p>
<p>Liste des missions :
<tr th:each="mission : ${missions}">
<td th:text="${mission.titre}"></td>
<td th:text="${mission.type}"></td>
<td th:text="${mission.resultat}"></td>
<td th:text="${mission.statut}"></td>
</tr>
</p>
<p>Rang pilote : <span th:text="${pilote.type}"></span></p>
<form th:action="@{/fichePilote}" method="post">
<p> Modifier état :
<select id="etat" name="etat">
<option th:each="etat : ${etat}" th:value="${etat}" th:text="${etat}"></option>
</select>
</p>
<input type="submit" value="Submit"/>
</form>
</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>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 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><span class='faulty-letter'>{</span> Inscription pilote</h1>
</header>
<main>
<form action="inscriptionPilote" method="post">
<div class="inscription">
<fieldset>
<legend>Inscrire un Pilote</legend>
<label class="label"/>
<div class="box">
<label for="prenom">Prenom</label>
<input type="text" id="prenom" name="prenom"/>
</div>
<div class="box">
<label class="label" for="nom">Nom</label>
<input type="text" id="nom" name="nom"/>
<!--th:value="${user.nomnom}"-->
</div>
<div class='box'>
<label class="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 class="box">
<label class="label" for="age">Age</label>
<input type="text" id="age" name="age"/>
</div>
<div class="button">
<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>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<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 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><span class='faulty-letter'>{</span> Liste chasseur</h1>
</header>
<main>
<table>
<tr>
<th>Id</th>
<th>Type chasseur</th>
<th>Etat chasseur</th>
</tr>
<tr th:each="chasseur: ${listeChasseur}">
<td>
<a th:href="'/ficheChasseur?id_chasseur=' + ${chasseur.idChasseur}" th:text="${chasseur.idChasseur}">
</a>
</td>
<td th:text="${chasseur.type}"></td>
<td th:text="${chasseur.etat}"></td>
</tr>
</table>
</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>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><span class='faulty-letter'>{</span> Liste Missions Terminées</h1>
</header>
<main>
<table>
<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>
</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>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 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>Trier des Pilotes</h1>
</header>
<main>
<div class="tri">
<a th:href="@{/listePiloteParType}"><p>Trier par rang</p></a>
<a th:href="@{/listePiloteParGrade}"><p>Trier par grade</p></a>
<a th:href="@{/listePiloteParEtat}"><p>Trier par etat</p></a>
</div>
<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>
</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"/>
</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>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 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><span class='faulty-letter'>{</span> 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 aux pilotes</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><span class='faulty-letter'>{</span> 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 aux pilotes</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><span class='faulty-letter'>{</span> 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 aux pilotes</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>Menu</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>
<p class='glowing-btn'>
<span class='glowing-txt'>{ AL<span class='faulty-letter'>LI</span>ANCE RE<span class='faulty-letter'>BE</span>LLE</p>
<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">Cloturer une mission</a></li>
</ul>
</main>
<footer> &#169 Elly Johad Vincent Fabien</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><span class='faulty-letter'>{</span> 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>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<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 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><span class='faulty-letter'>{</span> Nouveau chasseur</h1>
</header>
<main>
<form action="/nouveauChasseur" method="post">
<div>
<fieldset>
<legend>Selectionner un chasseur</legend>
<div th:each="type : ${type}">
<input class='radio' type="radio" th:id="${type}" th:name="typeChasseur" th:value="${type}" />
<label th:for="${type}" th:text="${type}"></label>
</div>
<div class='button'>
<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>
</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>Nouvelle Mission</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><span class='faulty-letter'>{</span> Nouvelle Mission</h1>
</header>
<form class='mission' th:object="${mission}" th:action="@{/nouvelleMission}" method="post">
<div >
<div>
<label for="typeMissions">Choisir une mission :</label>
<select id="typeMissions" name="typeMissions">
<option th:each="typeMission : ${typeMissions}" th:value="${typeMission}" th:text="${typeMission}"></option>
</select>
</div>
<div class="box">
<label for="titre">Titre</label>
<input type="text" id="titre" name="titre"/>
</div>
<button type="submit">Creer mission</button>
</div>
</form>
<form class='mission' th:object="${affectation}" th:action="@{/affectation}" method="post">
<h2>Affectation</h2>
<div class="box">
<label for="piloteSelect">Choisir Pilote:</label>
<select id="piloteSelect" name="piloteSelect">
<option th:each="piloteDispo : ${pilotesDispo}" th:value="${piloteDispo.idPilote}"
th:text="${piloteDispo.nom + ' (' + piloteDispo.grade + ' ' + piloteDispo.etat + ')'}">
</option>
</select>
</div>
<div class="box">
<label for="chasseurSelect">Choisir Chasseur:</label>
<select id="chasseurSelect" name="chasseurSelect">
<option th:each="chasseurDispo : ${chasseursDispo}" th:value="${chasseurDispo.idChasseur}"
th:text="${chasseurDispo.type + ' ' + chasseurDispo.etat}">
</option>
</select>
</div>
<button type="submit">Affecter</button>
</form>
<p>Mission id : <span th:text="${idMission}"></span>
<span> est affectée aux : </span>
</p>
<table>
<tr th:each="listPiloteTemp : ${listPiloteTemps}">
<td th:text="${listPiloteTemp.nom}"></td>
</tr>
<tr th:each="listChasseurTemp : ${listChasseurTemps}">
<td th:text="${listChasseurTemp.type}"></td>
</tr>
</table>
<form th:if="${affectationFormVisible}" th:object="${affectation}" th:action="@{/affectation/{idMission}}" method="post">
<button type="submit" name="affectationButton">Affectation</button>
</form>
<footer>
<a href="/menu" class="menu">Retour au Menu</a>
</footer>
</body>
</html>
......@@ -6,8 +6,7 @@ import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class StarWarsApplicationTests {
@Test
void contextLoads() {
}
}