From 65d07ba64d45c77d2db16272710ec5702b34d641 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Tue, 25 Apr 2023 03:40:09 +0300 Subject: front-end: putting everything together --- public/app/views/components/breadcrumbs.php | 6 ++-- public/app/views/components/lessons_list.php | 51 +++++++++++++++++++++++++++ public/app/views/components/subcategories.php | 18 ++++++++++ public/app/views/components/top_bar.php | 6 ++-- 4 files changed, 75 insertions(+), 6 deletions(-) create mode 100644 public/app/views/components/lessons_list.php create mode 100644 public/app/views/components/subcategories.php (limited to 'public/app/views/components') diff --git a/public/app/views/components/breadcrumbs.php b/public/app/views/components/breadcrumbs.php index 471cfb6..90b4af9 100644 --- a/public/app/views/components/breadcrumbs.php +++ b/public/app/views/components/breadcrumbs.php @@ -5,7 +5,7 @@ * imported variables * --- * @param $id : category_id of last level - * @param $title : category title of last level + * @param $label : category title of last level * @param $parents : array of parent nodes * ----------------------------------------------------------------------------- */ @@ -18,13 +18,13 @@ - + - + \ No newline at end of file diff --git a/public/app/views/components/lessons_list.php b/public/app/views/components/lessons_list.php new file mode 100644 index 0000000..1c59164 --- /dev/null +++ b/public/app/views/components/lessons_list.php @@ -0,0 +1,51 @@ + $category_tree, + * 'fieldset' => ['date', 'intro'] + * ]) + * ----------------------------------------------------------------------------- + */ +?> +
+ + + + +
+ + + + + +
+ +

+ +

+ + +

+ + + +

+ + +
+ +
+ + + + +
\ No newline at end of file diff --git a/public/app/views/components/subcategories.php b/public/app/views/components/subcategories.php new file mode 100644 index 0000000..58f53fa --- /dev/null +++ b/public/app/views/components/subcategories.php @@ -0,0 +1,18 @@ + + + + +
Υποκατηγορίες
+
+ + $child) : ?> + + + + + + + +
+ + \ No newline at end of file diff --git a/public/app/views/components/top_bar.php b/public/app/views/components/top_bar.php index ed96e35..0e6e437 100644 --- a/public/app/views/components/top_bar.php +++ b/public/app/views/components/top_bar.php @@ -3,9 +3,9 @@ 0, - 'title' => '', - 'parents' => [] + 'id' => $id, + 'label' => $label, + 'parents' => $parents ]); ?> -- cgit v1.2.3