tear down the start_with_spin/need_spin/need-spin thingy
[myslice.git] / unfold / templates / plugin.html
1 {% if visible %}
2 <div id='complete-{{ domid }}' class='{% if need_toggle %}plugin-toggle{% endif %}{% if persistent_toggle %} persistent-toggle{% endif %}{% if outline_complete %} plugin-outline-complete{% endif %}'>
3 {% if togglable %}
4 <h4 id='show-{{ domid }}' class='plugin-show'{% if not display_show_button %} style='display:none;'{% endif %}>
5 <span class="glyphicon glyphicon-chevron-right"></span>
6 <a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Show plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
7 <h4 id='hide-{{ domid }}' class='plugin-hide'{% if not display_hide_button %} style='display:none;'{% endif %}>
8 <span class="glyphicon glyphicon-chevron-down"></span>
9 {% if title %}
10 <a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Hide plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
11 {% endif %}
12 {% endif %}{# togglable #}
13 {% endif %}{# visible #}
14
15 <div class='plugin {{ classname }}{% if outline_body %} plugin-outline-body{% endif %}' id='{{ domid }}'{% if not display_body %} style='display:none;'{% endif %}>
16 {{ plugin_content|safe }}
17 </div>{# plugin #}
18
19 {% if visible %}
20 </div>{# plugin-toggle #}
21 {% endif %}{# visible #}