Skip to content
GitLab
Explore
Sign in
Register
Show whitespace changes
Inline
Side-by-side
src/main/resources/templates/listePiloteParGrade.html
View file @
b9137516
...
...
@@ -9,11 +9,16 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<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
P
ilotes par
G
rades
</h1>
<h1>
<span
class=
'faulty-letter'
>
{
</span>
Liste des
p
ilotes par
g
rades
</h1>
</header>
<main>
<form
action=
"/listePiloteParGrade"
method=
"post"
>
<div>
<label
for=
"grades"
>
Choisir un grade :
</label>
...
...
@@ -50,8 +55,9 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
</tr>
</table>
<p>
<a
href=
"/listePilote"
>
R
etour au
Liste P
ilote
</a>
<a
href=
"/listePilote"
>
r
etour au
x p
ilote
s
</a>
</p>
</main>
<footer>
<a
href=
"/menu"
class=
"menu"
>
Retour au Menu
</a>
</footer>
...
...
src/main/resources/templates/listePiloteParType.html
View file @
b9137516
...
...
@@ -9,14 +9,19 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
<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
P
ilotes par
R
ang
</h1>
<h1>
<span
class=
'faulty-letter'
>
{
</span>
Liste des
p
ilotes par
r
ang
</h1>
</header>
<main>
<form
action=
"/listePiloteParType"
method=
"post"
>
<div>
<label
for=
"types"
>
C
hoisir un rang :
</label>
<label
for=
"types"
>
c
hoisir un rang :
</label>
<select
id=
"types"
name=
"types"
>
<option
th:each=
"type : ${types}"
th:value=
"${type}"
th:text=
"${type}"
></option>
</select>
...
...
@@ -50,8 +55,9 @@ Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this temp
</tr>
</table>
<p>
<a
href=
"/listePilote"
>
Retour au
Liste P
ilote
</a>
<a
href=
"/listePilote"
>
Retour au
x p
ilote
s
</a>
</p>
</main>
<footer>
<a
href=
"/menu"
class=
"menu"
>
Retour au Menu
</a>
</footer>
...
...
src/main/resources/templates/menu.html
View file @
b9137516
...
...
@@ -3,36 +3,39 @@
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>
<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"
>
<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>
</header>
<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>
p
ilote
</h2>
<h2>
P
ilote
</h2>
<ul>
<li><a
href=
"/inscriptionPilote"
class=
"menu"
>
i
nscription d'un nouveau pilote
</a></li>
<li><a
href=
"/listePilote"
class=
"menu"
>
l
iste des pilotes
</a></li>
<li><a
href=
"/inscriptionPilote"
class=
"menu"
>
I
nscription d'un nouveau pilote
</a></li>
<li><a
href=
"/listePilote"
class=
"menu"
>
L
iste des pilotes
actifs
</a></li>
</ul>
<h2>
c
hasseur
</h2>
<h2>
C
hasseur
</h2>
<ul>
<li><a
href=
"/nouveauChasseur"
class=
"menu"
>
a
jouter un chasseur
a
la flotte
</a></li>
<li><a
href=
"/listeChasseur"
class=
"menu"
>
l
iste des chasseurs
</a></li>
<li><a
href=
"/nouveauChasseur"
class=
"menu"
>
A
jouter un chasseur
à
la flotte
</a></li>
<li><a
href=
"/listeChasseur"
class=
"menu"
>
L
iste des chasseurs
</a></li>
</ul>
<h2>
m
ission
</h2>
<h2>
M
ission
</h2>
<ul>
<li><a
href=
"/nouvelleMission"
class=
"menu"
>
n
ouvelle mission
</a></li>
<li><a
href=
"/listeMission"
class=
"menu"
>
l
iste des missions
</a></li>
<li><a
href=
"/clotureMission"
class=
"menu"
>
c
loturer une mission
</a></li>
<li><a
href=
"/nouvelleMission"
class=
"menu"
>
N
ouvelle mission
</a></li>
<li><a
href=
"/listeMission"
class=
"menu"
>
L
iste des missions
</a></li>
<li><a
href=
"/clotureMission"
class=
"menu"
>
C
loturer une mission
</a></li>
</ul>
</main>
<footer></footer>
<footer>
&
#169 Elly Johad Vincent Fabien
</footer>
</body>
</html>
src/main/resources/templates/modifierEtatChasseur.html
0 → 100644
View file @
b9137516
<!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>
src/main/resources/templates/nouveauChasseur.html
View file @
b9137516
...
...
@@ -2,30 +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
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
C
hasseur
</h1>
<h1>
<span
class=
'faulty-letter'
>
{
</span>
Nouveau
c
hasseur
</h1>
</header>
<main>
<form
action=
"/nouveauChasseur"
method=
"post"
>
<div>
<fieldset>
<legend>
Selectionner un chasseur
</legend>
<div
th:each=
"type : ${type}"
>
<input
type=
"radio"
th:id=
"${type}"
th:name=
"typeChasseur"
th:value=
"${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
>
<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>
...
...
src/main/resources/templates/nouvelleMission.html
View file @
b9137516
...
...
@@ -5,36 +5,72 @@ 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
rel=
"stylesheet"
href=
"/style.css"
/
>
</head>
<body>
<header>
<h1>
Nouvelle Mission
</h1>
<h1>
<span
class=
'faulty-letter'
>
{
</span>
Nouvelle Mission
</h1>
</header>
<form
action=
"nouvelleMission"
method=
"post"
>
<form
class=
'mission'
th:object=
"${mission}"
th:action=
"@{/nouvelleMission}"
method=
"post"
>
<div
>
<div>
<label
for=
"
m
issions"
>
Choisir un
type d
e mission :
</label>
<select
id=
"
m
issions"
name=
"
m
issions"
>
<option
th:each=
"
m
ission : ${typeMissions}"
th:value=
"${
m
ission}"
th:text=
"${
m
ission}"
></option>
<label
for=
"
typeM
issions"
>
Choisir une mission :
</label>
<select
id=
"
typeM
issions"
name=
"
typeM
issions"
>
<option
th:each=
"
typeM
ission : ${typeMissions}"
th:value=
"${
typeM
ission}"
th:text=
"${
typeM
ission}"
></option>
</select>
</div>
<div
>
<label
for=
"
missions
"
>
Titre
</label>
<div
class=
"box"
>
<label
for=
"
titre
"
>
Titre
</label>
<input
type=
"text"
id=
"titre"
name=
"titre"
/>
</div>
<div>
<a
href=
"/affectation"
>
Affecter du personnel à la mission
</a>
<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>
<input
type=
"submit"
value=
"Valider"
/>
<input
type=
"reset"
value=
"Annuler"
/>
<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>
Prev
1
2
3
Next