From 5ede915c4990584fa0ae7747b9a5ad9a4e93acdd Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 21 Nov 2021 08:08:14 +0100 Subject: Improved list structure again --- templates/layouts/categorized_list.html | 10 +++++----- templates/layouts/list.html | 6 +++--- templates/partials/grid_card.html | 2 +- templates/partials/list_card.html | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 6f06a63..7d53cbe 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html @@ -4,21 +4,21 @@ $body$ -
+
$for(list)$
- $if(it.description)$ - + $endif$ $if(it.grid)$ -
+
$it.items:partials/grid_card()$
$else$ -
+
$it.items:partials/list_card()$
$endif$ diff --git a/templates/layouts/list.html b/templates/layouts/list.html index a7d72db..f3e5768 100644 --- a/templates/layouts/list.html +++ b/templates/layouts/list.html @@ -4,13 +4,13 @@ $body$ -
+
$if(list_grid)$ -
+
$list:partials/grid_card()$
$else$ -
+
$list:partials/list_card()$
$endif$ diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index e1b7f78..9cd8463 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html @@ -1,4 +1,4 @@ - + $if(it.indicator)$
$endif$ diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index 1a085a0..b784c1e 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html @@ -1,4 +1,4 @@ -
+ $if(it.indicator)$
$endif$ -- cgit v1.2.3-70-g09d2