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) %}