wip: global UI refactoring

I'm almost done with the webmail :p
Mailboxes manipulation is working pretty well now.

see #204
This commit is contained in:
Antoine Nguyen
2012-04-19 15:21:18 +02:00
parent 4643f26e95
commit be2d5286ed
11 changed files with 336 additions and 146 deletions
+1
View File
@@ -140,6 +140,7 @@ def render_link(linkdef, mdclass=None):
t = Template("""<a href="{{ link.url }}" name="{{ link.name }}" title="{{ link.title }}"
{% if link.modal %}data-toggle="ajaxmodal{% if link.autowidth %}-autowidth{% endif %}"{% endif %}
{% if link.modalcb %}modalcb="{{ link.modalcb }}"{% endif %}
{% if link.closecb %}closecb="{{ link.closecb }}"{% endif %}
class="{{ mdclass }}{% if link.class %} {{ link.class }}{% endif %}"
{% if link.confirm %} onclick="return confirm('{{ link.confirm }}')"{% endif %}>
{% if link.img %}<i class="{{ link.img }}"></i>{% endif %}