aboutsummaryrefslogtreecommitdiff
path: root/views/list/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/list/item.php')
-rw-r--r--views/list/item.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/list/item.php b/views/list/item.php
new file mode 100644
index 0000000..6316669
--- /dev/null
+++ b/views/list/item.php
@@ -0,0 +1,19 @@
+<section class="list" onclick="window.location.href = '/list/<?= $list->LID ?>'">
+ <section>
+ <div class="heading">
+ <h2>
+ <?= $list->Name ?>
+ </h2>
+ <a href="<?= '/profile/' . $user->Username ?>" class="float-right">
+ <?= $user->Username ?>
+ </a>
+ </div>
+ <p>
+ <?= $list->Description ?>
+ </p>
+ </section>
+ <section name="itemButton" hidden>
+ <span><!-- Edit button --></span>
+ <span><!-- Delete button --></span>
+ </section>
+</section>