diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-14 16:36:45 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-14 16:36:45 +0200 |
commit | 8ccc4ac00c974ba3659762e6c67f75ed82020e37 (patch) | |
tree | fc9a5b656ca13b34cb2eaac6e909b0b59ca839e8 /app/view/templates/homemenu.php | |
parent | ce3fcb72f2d5d154461a14183069bf87db1e5776 (diff) | |
download | wcms-8ccc4ac00c974ba3659762e6c67f75ed82020e37.tar.gz wcms-8ccc4ac00c974ba3659762e6c67f75ed82020e37.zip |
finish flashmessages implementation
+ clean css
Diffstat (limited to 'app/view/templates/homemenu.php')
-rw-r--r-- | app/view/templates/homemenu.php | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/app/view/templates/homemenu.php b/app/view/templates/homemenu.php index 9d28ffa..ff39f1c 100644 --- a/app/view/templates/homemenu.php +++ b/app/view/templates/homemenu.php @@ -7,7 +7,7 @@ <div class="submenu"> <h2>Import page as file</h2> <form action="<?= $this->url('pageupload') ?>" method="post" enctype="multipart/form-data"> - <input type="file" name="pagefile" id="pagefile" accept=".json"> + <input type="file" name="pagefile" id="pagefile" accept=".json" required> <label for="pagefile">JSON Page file</label> <input type="hidden" name="erase" value="0"> <input type="hidden" name="datecreation" value="0"> @@ -38,13 +38,7 @@ <div class="submenu"> <i>Edit selected pages</i> <form action="<?= $this->url('multi') ?>" method="post" id="multi"> - <h2>Render</h2> - <input type="submit" name="action" value="render"> - <h2>Delete</h2> - <input type="hidden" name="confirmdelete" value="0"> - <input type="checkbox" name="confirmdelete" id="confirmdelete" value="1"> - <label for="confirmdelete">confirm</label> - <input type="submit" name="action" value="delete"> + <h2>Edit Meta infos</h2> <input type="text" name="datas[title]" id="title"> <label for="title">title</label> @@ -181,6 +175,15 @@ </br> <input type="submit" name="action" value="edit"> + <h2>Render</h2> + <input type="submit" name="action" value="render"> + + <h2>Delete</h2> + <input type="hidden" name="confirmdelete" value="0"> + <input type="checkbox" name="confirmdelete" id="confirmdelete" value="1"> + <label for="confirmdelete">confirm</label> + <input type="submit" name="action" value="delete"> + </form> </div> </details> @@ -195,7 +198,7 @@ <details class="hidephone" id="selection" <?= !empty($optlist) ? 'open' : '' ?>> - <summary>Filters</summary> + <summary>Filter</summary> <div class="submenu"> <h2>Get LIST code</h2> <i>Generate code to display a list of pages</i> @@ -309,18 +312,6 @@ <details class="hidephone" id="display"> <summary>Display</summary> <div class="submenu"> - <h2>Worksapce</h2> - <form action=""> - <ul> - <?php foreach ($user->display() as $id => $setting) { ?> - <li> - <input type="checkbox" name="display[<?= $id ?>]" id="display_<?= $id ?>" value="true" <?= $setting ? 'checked' : '' ?>> - <label for="display_<?= $id ?>"><?= $id ?></label> - </li> - <?php } ?> - </ul> - <input type="submit" value="update display"> - </form> <h2>Columns</h2> <form action="<?= $this->url('homecolumns') ?>" method="post"> <ul> |