git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added disclaimet for planetlab europe users
[myslice.git]
/
unfold
/
templates
/
plugin.html
diff --git
a/unfold/templates/plugin.html
b/unfold/templates/plugin.html
index
56ec166
..
0c022f6
100644
(file)
--- a/
unfold/templates/plugin.html
+++ b/
unfold/templates/plugin.html
@@
-1,19
+1,21
@@
-{#<!--begin {{ classname }}{{ domid }}-->#}
{% if visible %}
{% if visible %}
-<div
class='plugin-toggle{% if need_spin %} need-spin{% endif %}' id='complete-{{ domid }
}'>
+<div
id='complete-{{ domid }}' class='{% if need_toggle %}plugin-toggle{% endif %}{% if persistent_toggle %} persistent-toggle{% endif %}{% if outline_complete %} plugin-outline-complete{% endif %
}'>
{% if togglable %}
{% if togglable %}
-<h4 id='show-{{ domid }}' class='plugin-show'{% if toggled %} 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 toggled %} 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 toggled
%} 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 }}
{{ plugin_content|safe }}
-</div>
<!--plugin {{ classname }}{{ domid }}-->
+</div>
{# plugin #}
{% if visible %}
{% if visible %}
-</div>
+</div>
{# plugin-toggle #}
{% endif %}{# visible #}
{% endif %}{# visible #}
-{#<!--end {{ classname }}{{ domid }}-->#}