diff options
-rw-r--r-- | public/css/body.css | 4 | ||||
-rw-r--r-- | public/css/menu.css | 4 | ||||
-rw-r--r-- | public/css/new_page.css | 2 | ||||
-rw-r--r-- | src/view/templates/login.php | 12 | ||||
-rw-r--r-- | src/view/templates/menu.php | 6 | ||||
-rw-r--r-- | src/view/templates/new_page.php | 6 | ||||
-rw-r--r-- | src/view/templates/user_edit.php | 2 |
7 files changed, 23 insertions, 13 deletions
diff --git a/public/css/body.css b/public/css/body.css index b728d05..dee806b 100644 --- a/public/css/body.css +++ b/public/css/body.css | |||
@@ -63,11 +63,11 @@ section .fetch_articles | |||
63 | { | 63 | { |
64 | margin-left: 15px; | 64 | margin-left: 15px; |
65 | } | 65 | } |
66 | .login_form | 66 | .login_form, .basic_section |
67 | { | 67 | { |
68 | background-color: white; | 68 | background-color: white; |
69 | margin: 15px; | 69 | margin: 15px; |
70 | padding: 15px; | 70 | padding: 10px; |
71 | } | 71 | } |
72 | 72 | ||
73 | .grid > .section_child | 73 | .grid > .section_child |
diff --git a/public/css/menu.css b/public/css/menu.css index 57d842a..ac77d50 100644 --- a/public/css/menu.css +++ b/public/css/menu.css | |||
@@ -23,7 +23,7 @@ | |||
23 | }*/ | 23 | }*/ |
24 | .menu p | 24 | .menu p |
25 | { | 25 | { |
26 | margin: 5px; | 26 | margin: 5px 0; |
27 | } | 27 | } |
28 | 28 | ||
29 | /* explications pour l'utilisateur */ | 29 | /* explications pour l'utilisateur */ |
@@ -104,7 +104,7 @@ | |||
104 | } | 104 | } |
105 | .menu .url_form_zone p | 105 | .menu .url_form_zone p |
106 | { | 106 | { |
107 | margin: 5px; | 107 | margin: 5px 0; |
108 | display: flex; | 108 | display: flex; |
109 | flex-wrap: wrap; | 109 | flex-wrap: wrap; |
110 | align-items: center; | 110 | align-items: center; |
diff --git a/public/css/new_page.css b/public/css/new_page.css index 29d3ad0..6d6fe43 100644 --- a/public/css/new_page.css +++ b/public/css/new_page.css | |||
@@ -1,7 +1,7 @@ | |||
1 | /*-- page "Nouvelle page" uniquement --*/ | 1 | /*-- page "Nouvelle page" uniquement --*/ |
2 | .new_page | 2 | .new_page |
3 | { | 3 | { |
4 | padding: 0 20px; | 4 | padding: 0 15px; |
5 | } | 5 | } |
6 | .new_page .form_zone | 6 | .new_page .form_zone |
7 | { | 7 | { |
diff --git a/src/view/templates/login.php b/src/view/templates/login.php index c40b3a7..78ecf55 100644 --- a/src/view/templates/login.php +++ b/src/view/templates/login.php | |||
@@ -20,10 +20,12 @@ | |||
20 | </form> | 20 | </form> |
21 | <p class='connexionP' >Au fait? Vous n'utilisez pas votre propre ordinateur ou téléphone?<br/> | 21 | <p class='connexionP' >Au fait? Vous n'utilisez pas votre propre ordinateur ou téléphone?<br/> |
22 | Utilisez la navigation privée.</p> | 22 | Utilisez la navigation privée.</p> |
23 | <p class="connexionP connexionFooter" > | ||
24 | <a href="<?= $link_exit ?>" > | ||
25 | <button>Retour au site</button> | ||
26 | </a> | ||
27 | </p> | ||
28 | </div> | 23 | </div> |
24 | </section> | ||
25 | <section class="basic_section"> | ||
26 | <p class="connexionP connexionFooter" > | ||
27 | <a href="<?= $link_exit ?>" > | ||
28 | <button>Retour au site</button> | ||
29 | </a> | ||
30 | </p> | ||
29 | </section> \ No newline at end of file | 31 | </section> \ No newline at end of file |
diff --git a/src/view/templates/menu.php b/src/view/templates/menu.php index 7f4b26f..5a2efe5 100644 --- a/src/view/templates/menu.php +++ b/src/view/templates/menu.php | |||
@@ -38,5 +38,9 @@ | |||
38 | <div id="menu_edit_buttons"> | 38 | <div id="menu_edit_buttons"> |
39 | <?= $this->html ?> | 39 | <?= $this->html ?> |
40 | </div> | 40 | </div> |
41 | <a href="<?= new URL ?>"><button>Retour au site</button></a> | 41 | </section> |
42 | <section class="basic_section"> | ||
43 | <a href="<?= new URL ?>"> | ||
44 | <button>Retour au site</button> | ||
45 | </a> | ||
42 | </section> \ No newline at end of file | 46 | </section> \ No newline at end of file |
diff --git a/src/view/templates/new_page.php b/src/view/templates/new_page.php index afa1d8f..7b494d9 100644 --- a/src/view/templates/new_page.php +++ b/src/view/templates/new_page.php | |||
@@ -23,7 +23,11 @@ | |||
23 | <textarea id="page_description" name="page_description" cols="40" rows="3" placeholder="ex: nous faisons ceci et cela, etc"></textarea> | 23 | <textarea id="page_description" name="page_description" cols="40" rows="3" placeholder="ex: nous faisons ceci et cela, etc"></textarea> |
24 | </p> | 24 | </p> |
25 | <input type="submit" value="Créer la page"> | 25 | <input type="submit" value="Créer la page"> |
26 | <button onclick="window.location.href='<?= new URL ?>';">Retour au site</button><!-- le JS est un hack pour contourner le blocage du bouton par les "required" --> | ||
27 | </form> | 26 | </form> |
28 | </div> | 27 | </div> |
28 | </section> | ||
29 | <section class="basic_section"> | ||
30 | <a href="<?= new URL ?>"> | ||
31 | <button>Retour au site</button> | ||
32 | </a> | ||
29 | </section> \ No newline at end of file | 33 | </section> \ No newline at end of file |
diff --git a/src/view/templates/user_edit.php b/src/view/templates/user_edit.php index 18eb037..d647dc2 100644 --- a/src/view/templates/user_edit.php +++ b/src/view/templates/user_edit.php | |||
@@ -52,7 +52,7 @@ | |||
52 | </form> | 52 | </form> |
53 | </div> | 53 | </div> |
54 | </div> | 54 | </div> |
55 | <div class="login_form"> | 55 | <div class="basic_section"> |
56 | <p class="connexionP connexionFooter" > | 56 | <p class="connexionP connexionFooter" > |
57 | <a href="<?= $link_exit ?>"> | 57 | <a href="<?= $link_exit ?>"> |
58 | <button>Retour au site</button></a> | 58 | <button>Retour au site</button></a> |