diff options
Diffstat (limited to 'src/view/templates/new_page.php')
| -rw-r--r-- | src/view/templates/new_page.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/view/templates/new_page.php b/src/view/templates/new_page.php deleted file mode 100644 index 7bf4c01..0000000 --- a/src/view/templates/new_page.php +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | <?php declare(strict_types=1); ?> | ||
| 2 | <section class="new_page"> | ||
| 3 | <h3>Création d'une nouvelle page</h3> | ||
| 4 | <div class="form_zone"> | ||
| 5 | <form method="post" action="<?= new URL ?>"> | ||
| 6 | <p> | ||
| 7 | <label for="page_name">Nom de la page</label> | ||
| 8 | <input id="page_name" type="text" name="page_name" onchange="makePageNamePath()" required> | ||
| 9 | </p> | ||
| 10 | <p> | ||
| 11 | <label for="page_name_path">Chemin de l'URL</label> | ||
| 12 | <input id="page_name_path" type="text" name="page_name_path" placeholder="ex: nouvelle_page" required> | ||
| 13 | </p> | ||
| 14 | <p> | ||
| 15 | <label for="page_location">Placer la page juste après cette entrée</label> | ||
| 16 | <select id="page_location" name="page_location"> | ||
| 17 | <?= $this->options ?> | ||
| 18 | </select> | ||
| 19 | </p> | ||
| 20 | <input type="hidden" name="new_page_hidden"> | ||
| 21 | <p> | ||
| 22 | <label class="label_textarea" for="page_description">Description qui apparaît sous le titre dans les moteurs de recherche</label> | ||
| 23 | <textarea id="page_description" name="page_description" cols="35" rows="3" placeholder="ex: nous faisons ceci et cela, etc"></textarea> | ||
| 24 | </p> | ||
| 25 | <input type="submit" value="Créer la page"> | ||
| 26 | </form> | ||
| 27 | </div> | ||
| 28 | </section> | ||
| 29 | <section> | ||
| 30 | <div class="basic_div"> | ||
| 31 | <a href="<?= new URL ?>"> | ||
| 32 | <button>Retour au site</button> | ||
| 33 | </a> | ||
| 34 | </div> | ||
| 35 | </section> \ No newline at end of file | ||
