From 17c99d1792700b53dcfd5e6944e20ea96db14db4 Mon Sep 17 00:00:00 2001 From: flavien Date: Mon, 6 May 2019 17:17:31 +0200 Subject: [PATCH] added functions to add or change voiture --- WEB/Modifier_vehicule.php | 65 ---------- WEB/voiture/fonctionsVoiture.php | 63 ++++++++++ WEB/voiture/index.html | 78 ++++++++++++ WEB/{ => voiture/old}/Modifier_vehicule.css | 0 WEB/voiture/old/Modifier_vehicule.php | 20 +++ WEB/voiture/old/addVoiture.php | 37 ++++++ WEB/voiture/old/changeVoiture.php | 39 ++++++ WEB/voiture/old/showVoiture.php | 31 +++++ WEB/voiture/tableauBord.css | 128 ++++++++++++++++++++ 9 files changed, 396 insertions(+), 65 deletions(-) delete mode 100644 WEB/Modifier_vehicule.php create mode 100644 WEB/voiture/fonctionsVoiture.php create mode 100644 WEB/voiture/index.html rename WEB/{ => voiture/old}/Modifier_vehicule.css (100%) create mode 100644 WEB/voiture/old/Modifier_vehicule.php create mode 100644 WEB/voiture/old/addVoiture.php create mode 100644 WEB/voiture/old/changeVoiture.php create mode 100644 WEB/voiture/old/showVoiture.php create mode 100644 WEB/voiture/tableauBord.css diff --git a/WEB/Modifier_vehicule.php b/WEB/Modifier_vehicule.php deleted file mode 100644 index c144a59..0000000 --- a/WEB/Modifier_vehicule.php +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - -
- -

Modification du vehicule

- -
- -

- - - -

- -

- - - -

- -

- - - -

- -

- - - -

- -

- - - -

- - -

- - - -

- -
- -
- - - - \ No newline at end of file diff --git a/WEB/voiture/fonctionsVoiture.php b/WEB/voiture/fonctionsVoiture.php new file mode 100644 index 0000000..b4ac4d7 --- /dev/null +++ b/WEB/voiture/fonctionsVoiture.php @@ -0,0 +1,63 @@ + diff --git a/WEB/voiture/index.html b/WEB/voiture/index.html new file mode 100644 index 0000000..593f0f7 --- /dev/null +++ b/WEB/voiture/index.html @@ -0,0 +1,78 @@ + + + + + + + Tableau de bord + + + + +
+
+ Ajouter une voiture + Modifier ma voiture + Afficher ma voiture +
+
+ + + + + + + + diff --git a/WEB/Modifier_vehicule.css b/WEB/voiture/old/Modifier_vehicule.css similarity index 100% rename from WEB/Modifier_vehicule.css rename to WEB/voiture/old/Modifier_vehicule.css diff --git a/WEB/voiture/old/Modifier_vehicule.php b/WEB/voiture/old/Modifier_vehicule.php new file mode 100644 index 0000000..a5fa64f --- /dev/null +++ b/WEB/voiture/old/Modifier_vehicule.php @@ -0,0 +1,20 @@ + + + + + + + +
+

Modification du vehicule

+
+

+

+

+

+

+

+
+
+ + diff --git a/WEB/voiture/old/addVoiture.php b/WEB/voiture/old/addVoiture.php new file mode 100644 index 0000000..f95cd99 --- /dev/null +++ b/WEB/voiture/old/addVoiture.php @@ -0,0 +1,37 @@ + diff --git a/WEB/voiture/old/changeVoiture.php b/WEB/voiture/old/changeVoiture.php new file mode 100644 index 0000000..ebdfe4a --- /dev/null +++ b/WEB/voiture/old/changeVoiture.php @@ -0,0 +1,39 @@ + diff --git a/WEB/voiture/old/showVoiture.php b/WEB/voiture/old/showVoiture.php new file mode 100644 index 0000000..e0b5e15 --- /dev/null +++ b/WEB/voiture/old/showVoiture.php @@ -0,0 +1,31 @@ + diff --git a/WEB/voiture/tableauBord.css b/WEB/voiture/tableauBord.css new file mode 100644 index 0000000..081f4c0 --- /dev/null +++ b/WEB/voiture/tableauBord.css @@ -0,0 +1,128 @@ +*{ + margin: 0; + padding: 0; + font-family: "Calibri Light"; +} + +h1{ + font-size: 3em; + text-align: center; + text-decoration: underline; +} + +#content{ + min-width: 320px; + width: 100%; + display: flex; + flex-wrap: nowrap; + justify-content: center; + align-items: center; +} + +#tableauBord{ + margin: 2em; + padding: 1em; + width: 100%; +} + +.menu { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + background-color: rgb(65, 154, 28); +} + +.menuItem { + display: flex; + flex-wrap: nowrap; + align-items: center; + justify-content: center; + color: white; + width: 10%; + min-width: 5em; + font-weight: bold; + text-decoration: none; + padding: 0.8em; + border-bottom: 4px solid rgb(65, 154, 28); + font-size: 1.1em; + text-align: center; +} + +.menuItem:hover{ + cursor: pointer; + border-bottom: 4px solid orange; +} + +#divImgProfil{ + width: 100%; + display: flex; + flex-wrap: nowrap; + justify-content: center; +} + +#imgProfil{ + background-color: white; + margin-top: 2.5em; + width: 60%; + height: 60%; + max-width: 210px; + max-height: 210px; + border-radius: 10px; +} + +#trajet{ + margin-top: 2em; + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: center; + text-align: center; + width: 100%; +} + +.btnTrajet{ + display: flex; + flex-wrap: nowrap; + justify-content: center; + align-items: center; + text-decoration: none; + padding: 0.4em; + color: black; + background-color: lightgray; + border: 1px solid black; + +} + +.btnTrajet:hover{ + background-color: grey; +} + +#btnTrajet2{ + margin-left: 10%; +} + +#recap{ + margin-top: 2.5em; + width: 50%; + margin-left: 50%; + transform: translate(-50%); +} + +.recapLine{ + margin-bottom: 1.5em; + display: flex; + flex-wrap: nowrap; + justify-content: left; + align-items: center; + width: 100%; +} + +.recapIcon{ + width: 50px; + height: 50px; +} + +p{ + margin-left: 10%; +} \ No newline at end of file