aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/view/templates/user.php')
-rw-r--r--app/view/templates/user.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/view/templates/user.php b/app/view/templates/user.php
index 0f9ac7b..7512267 100644
--- a/app/view/templates/user.php
+++ b/app/view/templates/user.php
@@ -10,6 +10,9 @@
<main class="user">
+<section>
+
+<article>
<h1>User : <?= $user->id() ?></h1>
@@ -26,8 +29,13 @@
</form>
+</article>
+
+
<?php if($user->isadmin()) { ?>
+<article>
+
<h1>Admin panel</h1>
<table>
@@ -110,9 +118,14 @@ foreach ($userlist as $user ) {
</table>
+</article>
+
<?php } ?>
+</section>
+
+
</main>
</body>