From 78dbc4b3b2a4b1f50e6ae6b32aea5051665d36b3 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 22 Oct 2023 11:36:26 +0200 Subject: [PATCH] indax add CSS span and div --- module/workshop/view/index/index.php | 112 ++++++++++++++++----------- 1 file changed, 68 insertions(+), 44 deletions(-) diff --git a/module/workshop/view/index/index.php b/module/workshop/view/index/index.php index d60bd1d..7f51f54 100644 --- a/module/workshop/view/index/index.php +++ b/module/workshop/view/index/index.php @@ -1,81 +1,105 @@
getData(['course']) as $courseId => $courseValue): ?> -
+
getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>

- + +

+ - + + + - - getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?> + + getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>

+ +

getData(['module', $this->getUrl(0), 'config', 'description']) === true): ?> -

+

+ -

+ +

getData(['module', $this->getUrl(0), 'config', 'author']) === true): ?>

- signature($courseValue['author'])); ?> + + signature($courseValue['author'])); ?> +

getData(['module', $this->getUrl(0), 'config', 'access']) === true): ?> -

- - - - getData(['module', $this->getUrl(0), 'config', 'openingdate']) === true): ?> -

- -

+
+

+ + + + + + getData(['module', $this->getUrl(0), 'config', 'openingdate']) === true): ?> +

+ + + +

+ + getData(['module', $this->getUrl(0), 'config', 'closingdate']) === true): ?> +

+ + + +

+ - getData(['module', $this->getUrl(0), 'config', 'closingdate']) === true): ?> -

- -

- - -

+

+
- getData(['module', $this->getUrl(0), 'config', 'enrolment']) === true ): ?> + getData(['module', $this->getUrl(0), 'config', 'enrolment']) === true): ?>

- + + +

-
- = $courseValue['openingDate'] && time() <= $courseValue['closingDate']) - ): ?> - - getData(['module', $this->getUrl(0), 'caption', 'url']); ?> - - -
-
- - getData(['enrolment', $courseId, $this->getUser('id')])): ?> - - getData(['module', $this->getUrl(0), 'caption', 'unsuscribe']); ?> - - -
+ +
+ + getData(['enrolment', $courseId, $this->getUser('id')])): ?> + + + getData(['module', $this->getUrl(0), 'caption', 'unsuscribe']); ?> + + + +
getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>