From ba64fc721a3e7be19f660ff73057a0eb1f709ad7 Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Thu, 12 Oct 2023 18:45:45 +0000 Subject: [PATCH] docs/modules/list: restyled the module --- src/templates/docs/modules/list.html | 58 ++++++++++++++-------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/src/templates/docs/modules/list.html b/src/templates/docs/modules/list.html index 3891a291..fd7546ed 100644 --- a/src/templates/docs/modules/list.html +++ b/src/templates/docs/modules/list.html @@ -1,40 +1,42 @@ {% for page in pages %} - - {% if show_breadcrumbs %} - {% for url, title in page.breadcrumbs %} - {{ title }} / +
+ + {% if show_breadcrumbs %} + {% for url, title in page.breadcrumbs %} + {{ title }} / + {% end %} {% end %} - {% end %} - {{ page.title }} - + {{ page.title }} + -

- {% if show_author %} - {{ _("Last edited %s") % locale.format_date(page.timestamp, shorter=True, relative=False) }} +

+ {% if show_author %} + {{ _("Last edited %s") % locale.format_date(page.timestamp, shorter=True, relative=False) }} - {% if page.author %} - {{ _("by") }} - {{ page.author }} + {% if page.author %} + {{ _("by") }} + {{ page.author }} + {% end %} {% end %} - {% end %} - {% if show_changes %} - {% if page.changes %} - • {{ page.changes }} + {% if show_changes %} + {% if page.changes %} + • {{ page.changes }} + {% end %} + + {% if page.previous_revision %} + + + + {% end %} {% end %} - {% if page.previous_revision %} - - + {% if not page.is_latest_revision() %} + + {% end %} - {% end %} - - {% if not page.is_latest_revision() %} - - - - {% end %} -

+

+
{% end %} -- 2.47.3