forked from rDrama/rDrama
add tabs
parent
b74ba0a317
commit
21de5bfb3a
|
@ -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 %}
|
||||
<div id="ghost-town-box" class="text-center p-6"{% if extra_css %} style="{{extra_css}}"{% endif %}>
|
||||
<span class="fa-stack fa-2x text-muted mb-4">
|
||||
<i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i>
|
||||
<i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i>
|
||||
</span>
|
||||
{% if text1 %}
|
||||
<h5>{{text1|safe}}</h5>
|
||||
<p></p>
|
||||
{% if mode == 1 %}
|
||||
<div id="ghost-town-box" class="text-center p-6"{% if extra_css %} style="{{extra_css}}"{% endif %}>
|
||||
<span class="fa-stack fa-2x text-muted mb-4">
|
||||
<i class="fas fa-square text-gray-500 opacity-25 fa-stack-2x"></i>
|
||||
<i class="fas text-gray-500 fa-ghost fa-stack-1x text-lg"></i>
|
||||
</span>
|
||||
{% if text1 %}
|
||||
<h5>{{text1|safe}}</h5>
|
||||
<p></p>
|
||||
{% endif %}
|
||||
{% if text2 %}
|
||||
<p class="text-muted">{{text2|safe}}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% elif mode == 2 %}
|
||||
<div id="ghost-town-box" class="text-center border-md rounded p-6"{% if extra_css %} style="{{extra_css}}"{% endif %}>
|
||||
<i class="fas fa-ghost text-gray-500 mb-3" style="font-size: 3.5rem"></i>
|
||||
<p class="font-weight-bold text-gray-500 mb-0">{{text1|safe}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if text2 %}
|
||||
<p class="text-muted">{{text2|safe}}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% elif mode == 2 %}
|
||||
<div id="ghost-town-box" class="text-center border-md rounded p-6"{% if extra_css %} style="{{extra_css}}"{% endif %}>
|
||||
<i class="fas fa-ghost text-gray-500 mb-3" style="font-size: 3.5rem"></i>
|
||||
<p class="font-weight-bold text-gray-500 mb-0">{{text1|safe}}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro alert(msg, error=false) %}
|
||||
|
|
Loading…
Reference in New Issue