FIX: Naciśnięcie przycisku w toolbarze wstawiało id przycisku zamiast odpowiedniego...
[redakcja.git] / apps / toolbar / templates / toolbar / toolbar.html
1 {% load toolbar_tags %}
2 <div id="toolbar">
3     <ol id="toolbar-tabs">
4         {% for group in groups %}
5         <li p:button-list="{{ group.slug }}">{{ group.name }}</li>
6         {% endfor %}
7     </ol>
8     <div style="clear: both; height: 0; width: 0">&nbsp;</div>
9     <div id="toolbar-buttons">
10         {% for group in groups %}
11         <ol id="{{ group.slug }}" style="display:none">
12             {% for button in group.button_set.all %}
13             <li p:tag="{{ button.tag }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Ctrl+{{ button.key }}"{% 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>