From 21de5bfb3ab6a3b48fb42ae9425507093e637129 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 29 Sep 2023 06:20:48 +0300 Subject: [PATCH] add tabs --- files/templates/util/macros.html | 39 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 6ecd890c5..84b352217 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -162,27 +162,26 @@ {% endmacro %} {% macro ghost_box(text1, text2, mode, extra_css) %} -{# TODO: use in saved (search for "fa-ghost" in source) #} -{% if mode == 1 %} -
- - - - - {% if text1 %} -
{{text1|safe}}
-

+ {% if mode == 1 %} +
+ + + + + {% if text1 %} +
{{text1|safe}}
+

+ {% endif %} + {% if text2 %} +

{{text2|safe}}

+ {% endif %} +
+ {% elif mode == 2 %} +
+ +

{{text1|safe}}

+
{% endif %} - {% if text2 %} -

{{text2|safe}}

- {% endif %} -
-{% elif mode == 2 %} -
- -

{{text1|safe}}

-
-{% endif %} {% endmacro %} {% macro alert(msg, error=false) %}