git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tear down the start_with_spin/need_spin/need-spin thingy
[unfold.git]
/
unfold
/
templates
/
plugin.html
diff --git
a/unfold/templates/plugin.html
b/unfold/templates/plugin.html
index
49d0560
..
0c022f6
100644
(file)
--- a/
unfold/templates/plugin.html
+++ b/
unfold/templates/plugin.html
@@
-1,14
+1,18
@@
{% if visible %}
{% if visible %}
-<div id='complete-{{ domid }}' class='
plugin-toggle{% if need_spin %} need-spin{% endif %}{% if persistent_toggle %} persistent-toggl
e{% endif %}'>
+<div id='complete-{{ domid }}' class='
{% if need_toggle %}plugin-toggle{% endif %}{% if persistent_toggle %} persistent-toggle{% endif %}{% if outline_complete %} plugin-outline-complet
e{% endif %}'>
{% if togglable %}
{% if togglable %}
-<h4 id='show-{{ domid }}' class='plugin-show'{% if not display_show_button %} style='display:none;'{% endif %}><i class="icon-hand-right"></i>
+<h4 id='show-{{ domid }}' class='plugin-show'{% if not display_show_button %} style='display:none;'{% endif %}>
+<span class="glyphicon glyphicon-chevron-right"></span>
<a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Show plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
<a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Show plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
-<h4 id='hide-{{ domid }}' class='plugin-hide'{% if not display_hide_button %} style='display:none;'{% endif %}><i class="icon-hand-down"></i>
+<h4 id='hide-{{ domid }}' class='plugin-hide'{% if not display_hide_button %} style='display:none;'{% endif %}>
+<span class="glyphicon glyphicon-chevron-down"></span>
+{% if title %}
<a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Hide plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
<a href='#' class='plugin-tooltip' data-toggle='tooltip' data-original-title='Hide plugin "{{ title }}" ({{ classname }})'>{{ title }}</a></h4>
+{% endif %}
{% endif %}{# togglable #}
{% endif %}{# visible #}
{% endif %}{# togglable #}
{% endif %}{# visible #}
-<div class='plugin {{ classname }}' id='{{ domid }}'{% if not display_body %} style='display:none;'{% endif %}>
+<div class='plugin {{ classname }}
{% if outline_body %} plugin-outline-body{% endif %}
' id='{{ domid }}'{% if not display_body %} style='display:none;'{% endif %}>
{{ plugin_content|safe }}
</div>{# plugin #}
{{ plugin_content|safe }}
</div>{# plugin #}