fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No, this isn't needed :-)
[redakcja.git]
/
apps
/
toolbar
/
templates
/
toolbar
/
toolbar.html
diff --git
a/apps/toolbar/templates/toolbar/toolbar.html
b/apps/toolbar/templates/toolbar/toolbar.html
index
2e61288
..
c6b5ebb
100644
(file)
--- a/
apps/toolbar/templates/toolbar/toolbar.html
+++ b/
apps/toolbar/templates/toolbar/toolbar.html
@@
-1,15
+1,16
@@
-<div id="toolbar">
- <ol id="toolbar-tabs">
+{% load toolbar_tags %}
+<div class="toolbar">
+ <ol class="toolbar-tabs">
{% for group in groups %}
{% for group in groups %}
- <li p:button-list="{{ group.slug }}">{{ group.name }}</li>
+ <li p:button-list="{{ group.slug }}"
{% if forloop.first %}class="active"{% endif %}
>{{ group.name }}</li>
{% endfor %}
</ol>
<div style="clear: both; height: 0; width: 0"> </div>
{% endfor %}
</ol>
<div style="clear: both; height: 0; width: 0"> </div>
- <div
id
="toolbar-buttons">
+ <div
class
="toolbar-buttons">
{% for group in groups %}
{% for group in groups %}
- <ol
id="{{ group.slug }}" style="display:none"
>
+ <ol
class="{{ group.slug }}" {% if not forloop.first %}style="display:none"{% endif %}
>
{% for button in group.button_set.all %}
{% for button in group.button_set.all %}
- <li p:tag="{{ button.
slug }}" {% if button.key %}p:key="{{ button.key
}}"{% endif %}>{{ button.label }}</li>
+ <li p:tag="{{ button.
tag }}" {% if button.key %}p:key="{{ button.key|keycode }}" title="Alt+{{ button.key|upper
}}"{% endif %}>{{ button.label }}</li>
{% endfor %}
</ol>
{% endfor %}
{% endfor %}
</ol>
{% endfor %}