Merge branch 'structure' of flavien/PROJET-WEB_STRI1A into master

This commit is contained in:
Flavien Haas 2019-05-05 22:14:10 +00:00 committed by Gitea
commit 5d407171ae
4 changed files with 185 additions and 0 deletions

33
WEB/Modifier_vehicule.css Normal file
View File

@ -0,0 +1,33 @@
.centrage{
text-align : center;
font-size: 20px;
}
.global {
position: absolute; /* postulat de départ */
top: 45%; left: 50%; /* à 50%/50% du parent référent */
transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
text-align : center;
}
.fort {
font-weight: bold;
text-align : center;
text-decoration: underline;
font-size : 30px;
}
.bord{
border-radius: 20px;
border-left: 2px solid black;
border-right: 2px solid black;
border-top: 2px solid black;
border-bottom: 2px solid black;
padding : 20px 85px 60px 80px;
}

65
WEB/Modifier_vehicule.php Normal file
View File

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="Modifier_vehicule.css" />
</head>
<body>
<div class="global bord">
<p class="fort">Modification du vehicule</p>
<form method="post" action="Liste.php">
<p>
<input name="immatriculation" type="text" placeholder="Immatriculation" class="centrage">
</p>
<p>
<input name="marque" type="text" placeholder="Marque" class="centrage" >
</p>
<p>
<input name="modele" type="text" placeholder="Modèle" class="centrage" >
</p>
<p>
<input name="annee" type="text" placeholder="Année" class="centrage" >
</p>
<p>
<input name="nombre_place" type="text" placeholder="Nombre de places" class="centrage" >
</p>
<p>
<input name="submit" type="submit" value="Valider" class="centrage">
</p>
</form>
</div>
</body>
</html>

34
WEB/Recherche.css Normal file
View File

@ -0,0 +1,34 @@
.centrage{
text-align : center;
font-size: 20px;
}
.global {
position: absolute; /* postulat de départ */
top: 45%; left: 50%; /* à 50%/50% du parent référent */
transform: translate(-50%, -50%); /* décalage de 50% de sa propre taille */
text-align : center;
}
.fort {
font-weight: bold;
text-align : center;
text-decoration: underline;
font-size : 30px;
}
.bord{
border-radius: 20px;
border-left: 2px solid black;
border-right: 2px solid black;
border-top: 2px solid black;
border-bottom: 2px solid black;
padding : 20px 80px 60px 80px;
}

53
WEB/Recherche.php Normal file
View File

@ -0,0 +1,53 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="Recherche.css" />
</head>
<body>
<div class="global bord">
<p class="fort">Rechercher un trajet</p>
<form method="post" action="Liste.php">
<p>
<input name="lieu_depart" type="text" placeholder="Lieu de départ" class="centrage">
</p>
<p>
<input name="lieu_arrivée" type="text" placeholder="Lieu d'arrivée" class="centrage" >
</p>
<p>
<input name="date_heure" type="text" placeholder="Date et heure de départ" class="centrage" >
</p>
<p>
<input name="submit" type="submit" value="Rechercher" class="centrage">
</p>
</form>
</div>
</body>
</html>