reinstate icons for toggling plugins, that had gotten lost in the bootstrap 3 turmoil
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 05:40:17 +0000 (07:40 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 5 Oct 2013 05:40:17 +0000 (07:40 +0200)
unfold/collectstatic.py
unfold/templates/plugin.html

index b40afe4..0c6a1d2 100644 (file)
@@ -53,6 +53,7 @@ class ThirdPartyFinder(BaseFinder):
         'js' : ('.js',),
         'css': ('.css',),
         'img': ('.png', '.ico',),
+        'fonts' : ('.svg', '.eot', '.ttf', '.woff'),
     }
 
     def find(self, search_path, all=False):
index 09509d7..354b560 100644 (file)
@@ -1,9 +1,11 @@
 {% if visible %}
 <div id='complete-{{ domid }}' class='{% if need_toggle %}plugin-toggle{% endif %}{% if need_spin %} need-spin{% endif %}{% if persistent_toggle %} persistent-toggle{% endif %}{% if outline_complete %} plugin-outline-complete{% endif %}'>
 {% 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>
-<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>
 {% endif %}