From 0d87935bfd38f0cabecfaff374bd5ead221a494c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Feb 2025 11:38:54 +0200 Subject: feat(views/profile): Proper list elements UI --- views/list/index.php | 11 ++++++----- views/list/item.php | 19 +++++++++++++++++++ views/list/item_show.php | 8 ++++++++ 3 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 views/list/item.php create mode 100644 views/list/item_show.php (limited to 'views/list') diff --git a/views/list/index.php b/views/list/index.php index 9047fb3..9bc348d 100644 --- a/views/list/index.php +++ b/views/list/index.php @@ -15,11 +15,12 @@

Description ?>

Username ?>

- allItems() as $webpage): ?> -
- URL ?> -
- + allItems() as $page) { + include $VIEWS_DIR . '/archive/item.php'; + } + include_once $VIEWS_DIR . '/archive/item_show.php'; + ?>

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 @@ +

+
+
+

+ Name ?> +

+ + Username ?> + +
+

+ Description ?> +

+
+ +
diff --git a/views/list/item_show.php b/views/list/item_show.php new file mode 100644 index 0000000..1a31f4b --- /dev/null +++ b/views/list/item_show.php @@ -0,0 +1,8 @@ + -- cgit v1.2.3