Merge branch 'master' of git@stigma:platforma
[redakcja.git] / apps / toolbar / templates / toolbar / toolbar.html
1 {% load toolbar_tags %}
2 <div class="toolbar">
3     <ol class="toolbar-tabs">
4         {% for group in groups %}
5         <li p:button-list="{{ group.slug }}" {% if forloop.first %}class="active"{% endif %}>{{ group.name }}</li>
6         {% endfor %}
7     </ol>
8     <div style="clear: both; height: 0; width: 0">&nbsp;</div>
9     <div class="toolbar-buttons">
10         {% for group in groups %}
11         <ol class="{{ group.slug }}" {% if not forloop.first %}style="display:none"{% endif %}>
12             {% for button in group.button_set.all %}
13             <li p:tag="{{ button.tag }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Alt+{{ button.key|upper }}"{% endif %}>{{ button.label }}</li>
14             {% endfor %}
15         </ol>
16         {% endfor %}
17         <div style="clear: both; height: 0; width: 0">&nbsp;</div>
18     </div>
19 </div>