aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-03-29 08:57:58 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-03-29 08:57:58 +0100
commit60e065fd24d7cd03fa2ebc6cea55d463bc735120 (patch)
tree8bd78fb986cbfab29b4c1c8db23e38b8b3e9099c /app
parentd8b02407afd7ce933d1a9935f5c723a5d47ae368 (diff)
downloadwcms-60e065fd24d7cd03fa2ebc6cea55d463bc735120.tar.gz
wcms-60e065fd24d7cd03fa2ebc6cea55d463bc735120.zip
mini update UI
Diffstat (limited to 'app')
-rw-r--r--app/view/templates/home.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php
index 160b383..fab5146 100644
--- a/app/view/templates/home.php
+++ b/app/view/templates/home.php
@@ -18,19 +18,17 @@
</div>
-
-<div id="flex">
<?php $this->insert('homeopt', ['opt' => $opt, 'user' => $user]) ?>
+<div id="main">
+<article id="main">
-<div id="main">
<h2>Pages</h2>
-
<form action="/massedit" method="post">
<div id="massedit">
@@ -55,6 +53,7 @@
<table id="home2table">
+ <thead>
<tr>
<th>x</th>
<th><a href="<?= $opt->getadress('id') ?>">id</a></th>
@@ -89,6 +88,8 @@
<th class="affcount"><a href="<?= $opt->getadress('affcount') ?>">aff</a></th>
<?php } ?>
</tr>
+ </thead>
+ <tbody>
<?php foreach ($table2 as $item) { ?>
<tr>
<td><input type="checkbox" name="id[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>"></td>
@@ -126,9 +127,10 @@
</tr>
<?php }?>
+ </tbody>
</table>
</form>
-</div>
+</article>
</div>
</main>