Skip to content
GitLab
Explore
Sign in
Register
Show whitespace changes
Inline
Side-by-side
src/main/resources/templates/clotureMission.html
View file @
b6f318ef
...
...
@@ -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>
C
loture
M
ission
</title>
<title>
c
loture
m
ission
</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>
C
loture
M
ission
</h1>
<h1>
c
loture
m
ission
</h1>
</header>
<main>
<form
action=
"clotureMission"
method=
"post"
>
<div>
<label
for=
"clotureMission"
>
N
ombre d'heure
</label>
<label
for=
"clotureMission"
>
n
ombre d'heure
</label>
<input
type=
"text"
id=
"heures"
name=
"heures"
/>
</div>
<div>
<label
for=
"resultat"
>
R
esultat
M
ission :
</label>
<label
for=
"resultat"
>
r
esultat
m
ission :
</label>
<select
id=
"resultat"
name=
"resultats"
>
<option
th:each=
"resultat : ${resultatMission}"
th:value=
"${resultat}"
th:text=
"${resultat}"
></option>
</select>
</div>
<div>
<label>
Dé
tail
</label>
<label>
de
tail
</label>
<div>
<label
for=
"pilote"
>
P
ilote
</label>
<label
for=
"pilote"
>
p
ilote
</label>
<select
id=
"pilote"
name=
"pilote"
>
<option
th:each=
"pilote : ${etatPilote}"
th:value=
"${etatPilote}"
th:text=
"${etatPilote}"
></option>
</select>
<label
for=
"chasseur"
>
C
hasseur
</label>
<label
for=
"chasseur"
>
c
hasseur
</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"
>
R
etour au
M
enu
</a>
<a
href=
"/menu"
class=
"menu"
>
r
etour au
m
enu
</a>
</footer>
</main>
</body>
</html>
src/main/resources/templates/ficheChasseur.html
View file @
b6f318ef
<!DOCTYPE html>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<title>
F
iche
C
hasseur
</title>
<title>
f
iche
c
hasseur
</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>
I
dentifiant
</th>
<th>
T
ype
C
hasseur
</th>
<th>
E
tat
C
hasseur
</th>
<th>
i
dentifiant
</th>
<th>
t
ype
c
hasseur
</th>
<th>
e
tat
c
hasseur
</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>
src/main/resources/templates/fichePilote.html
View file @
b6f318ef
...
...
@@ -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>
F
iche
P
ilote
</title>
<title>
f
iche
p
ilote
</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>
F
iche
P
ilote
</h1>
<h1>
f
iche
p
ilote
</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>
N
ombre d'heures de vol :
</p>
<p>
G
rade :
<span
th:text=
"${pilote.grade}"
></span></p>
<p>
n
ombre d'heures de vol :
</p>
<p>
g
rade :
<span
th:text=
"${pilote.grade}"
></span></p>
<!--besoin db des missions afin pouvoir afficher Missions-->
<p>
L
iste des
M
issions
</p>
<p>
T
ype pilote :
<span
th:text=
"${pilote.type
_pilote
}"
></span></p>
<p>
l
iste des
m
issions
</p>
<p>
t
ype pilote :
<span
th:text=
"${pilote.type}"
></span></p>
<footer>
<a
href=
"/menu"
class=
"menu"
>
R
etour au
M
enu
</a>
<a
href=
"/menu"
class=
"menu"
>
r
etour au
m
enu
</a>
</footer>
</main>
</body>
</html>
src/main/resources/templates/inscriptionPilote.html
View file @
b6f318ef
...
...
@@ -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>
I
nscription
P
ilote
</title>
<title>
i
nscription
p
ilote
</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>
I
nscription
P
ilote
</h1>
<h1>
i
nscription
p
ilote
</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"
>
N
om
</label>
<div
class=
"form-nom"
>
<label
for=
"nom"
>
n
om
</label>
<input
type=
"text"
id=
"nom"
name=
"nom"
/>
<!--th:value="${user.nomnom}"-->
</div>
<div>
<label
for=
"races"
>
C
ho
ose a
race :
</label>
<label
for=
"races"
>
c
ho
isir 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"
>
A
ge
</label>
<div
class=
"form-age"
>
<label
for=
"age"
>
a
ge
</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"
>
R
etour au
M
enu
</a>
<a
href=
"/menu"
class=
"menu"
>
r
etour au
m
enu
</a>
</footer>
</main>
</body>
</html>
src/main/resources/templates/listeChasseur.html
View file @
b6f318ef
<!DOCTYPE html>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<title>
L
iste
C
hasseur
</title>
<title>
l
iste
c
hasseur
</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>
I
dentifiant
</th>
<th>
T
ype chasseur
</th>
<th>
E
tat chasseur
</th>
<th>
i
dentifiant
</th>
<th>
t
ype chasseur
</th>
<th>
e
tat chasseur
</th>
</tr>
<tr
th:each=
"chasseur: ${listeChasseur}"
>
<td>
<a
th:href=
"'/ficheChasseur?id_chasseur=' + ${chasseur.id
_c
hasseur}"
th:text=
"${chasseur.id
_c
hasseur}"
>
<a
th:href=
"'/ficheChasseur?id_chasseur=' + ${chasseur.id
C
hasseur}"
th:text=
"${chasseur.id
C
hasseur}"
>
</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>
src/main/resources/templates/listeMission.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/listePilote.html
View file @
b6f318ef
...
...
@@ -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>
L
iste
P
ilote
</title>
<title>
l
iste
p
ilote
</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>
L
iste
P
ilote
</h1>
<h1>
l
iste
des p
ilote
s
</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
_p
ilote}"
></td>
<td
th:text=
"${pilote.id
P
ilote}"
></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"
>
R
etour au
M
enu
</a>
<a
href=
"/menu"
class=
"menu"
>
r
etour au
m
enu
</a>
</footer>
</body>
</html>
src/main/resources/templates/listePiloteDisponible.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/listePiloteParEtat.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/listePiloteParGrade.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/listePiloteParType.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/menu.html
View file @
b6f318ef
...
...
@@ -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>
src/main/resources/templates/modifierEtatChasseur.html
0 → 100644
View file @
b6f318ef
<!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>
src/main/resources/templates/nouveauChasseur.html
View file @
b6f318ef
...
...
@@ -2,28 +2,36 @@
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<title>
N
ouveau
C
hasseur
</title>
<title>
n
ouveau
c
hasseur
</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>
S
electionner un chasseur
</legend>
<legend>
s
electionner 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=
"
Envoy
er"
/>
<input
type=
"submit"
value=
"
Valid
er"
/>
<input
type=
"reset"
value=
"Annuler"
/>
</div>
</div>
</form>
</main>
<footer>
<a
href=
"/menu"
class=
"menu"
>
Retour au Menu
</a>
</footer>
...
...
src/main/resources/templates/nouvelleMission.html
View file @
b6f318ef
...
...
@@ -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>
N
ouvelle
M
ission
</title>
<title>
n
ouvelle
m
ission
</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>
N
ouvelle
M
ission
</h1>
<h1>
n
ouvelle
m
ission
</h1>
</header>
<main>
<form
action=
"nouvelleMission"
method=
"post"
>
<div>
<label
for=
"missions"
>
C
hoisir une mission :
</label>
<label
for=
"missions"
>
c
hoisir un
type d
e 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"
>
T
itre
</label>
<label
for=
"missions"
>
t
itre
</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"
>
R
etour au
M
enu
</a>
<a
href=
"/menu"
class=
"menu"
>
r
etour au
m
enu
</a>
</footer>
</body>
</html>
Prev
1
2
3
Next