From 04d2de0e4b5c211daa1b4a5fcd88dd75fd274b72 Mon Sep 17 00:00:00 2001 From: Lilian BRETON Date: Fri, 23 Dec 2022 01:13:49 +0100 Subject: [PATCH] tout miteux le php --- Style/add.css | 34 +++++++++++++++++++++++++--------- Vues/addList.php | 13 ++++++++----- Vues/addListVis.php | 29 +++++++++++++++++++++++++++++ Vues/addTask.php | 43 +++++++++++++++++++++++++++++++------------ index.php | 6 +----- 5 files changed, 94 insertions(+), 31 deletions(-) create mode 100644 Vues/addListVis.php diff --git a/Style/add.css b/Style/add.css index 9826033..631a548 100644 --- a/Style/add.css +++ b/Style/add.css @@ -1,18 +1,25 @@ * { box-sizing:border-box; } /* basic stylings ------------------------------------------ */ -body { background:url(https://scotch.io/wp-content/uploads/2014/07/61.jpg); } +body { + background:url(https://scotch.io/wp-content/uploads/2014/07/61.jpg); + display: flex; +} .container { font-family:'Roboto'; width:600px; - margin:30px auto 0; display:block; - background:#FFF; - padding:10px 50px 50px; + background: #818181; + padding:10px 0px 50px; + margin-top: 45px; + height: 400px; } h2 { text-align:center; + text-decoration:overline underline; margin-bottom:50px; + background: lightgray; + width: 100%; } h2 small { font-weight:normal; @@ -25,7 +32,7 @@ h2 small { /* form starting stylings ------------------------------- */ .group { position:relative; - margin-bottom:45px; + margin-bottom:2px; } input { font-size:18px; @@ -42,10 +49,10 @@ label { color:#999; font-size:18px; font-weight:normal; - position:absolute; + position:relative; pointer-events:none; left:5px; - top:10px; + bottom:35px; transition:0.2s ease all; -moz-transition:0.2s ease all; -webkit-transition:0.2s ease all; @@ -65,7 +72,6 @@ input:focus ~ label, input:valid ~ label { height:2px; width:0; bottom:1px; - position:absolute; background:#5264AE; transition:0.2s ease all; -moz-transition:0.2s ease all; @@ -85,7 +91,6 @@ input:focus ~ .bar:before, input:focus ~ .bar:after { /* HIGHLIGHTER ================================== */ .highlight { - position:absolute; height:60%; width:100px; top:25%; @@ -114,3 +119,14 @@ input:focus ~ .highlight { from { background:#5264AE; } to { width:0; background:transparent; } } + + +.check{ + display: flex; + flex-direction: row; + margin-bottom: 50px; +} + +form{ + margin-left: 20%; +} \ No newline at end of file diff --git a/Vues/addList.php b/Vues/addList.php index 1ae9219..5cc5a0e 100644 --- a/Vues/addList.php +++ b/Vues/addList.php @@ -16,17 +16,20 @@
- +
-
+ -

Privée ?

- +
+ Private + +
- + + diff --git a/Vues/addListVis.php b/Vues/addListVis.php new file mode 100644 index 0000000..b07a54c --- /dev/null +++ b/Vues/addListVis.php @@ -0,0 +1,29 @@ + + + + Ajouter une Liste + + + + + + + +
+

Ajouter une liste

+ +
+ +
+ + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/Vues/addTask.php b/Vues/addTask.php index 080ef07..8837662 100644 --- a/Vues/addTask.php +++ b/Vues/addTask.php @@ -3,22 +3,41 @@ Ajouter une Tache - + - - + + -

Ajouter

+
+ +

Ajouter une tâche

+ +
+ +
+ + + + +
+ +
+ + + + +
+ +
+ Complete + +
+ + +
+
- -
- -
- \ No newline at end of file diff --git a/index.php b/index.php index b28d7df..54cc888 100644 --- a/index.php +++ b/index.php @@ -8,11 +8,7 @@ require_once('config/Autoload.php'); Autoload::charger(); try{ -<<<<<<< HEAD - require("Vues/addList.php"); -======= - require("Vues/seeList.php"); ->>>>>>> 8f5dee78cf31ad84f11609ae697d53e070945147 + require("Vues/addTask.php"); } catch( PDOException $Exception ) { echo 'erreur';