mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Many updates in this commit: * first work on the webmail plugin, for now only emails listing and folders browsing is supported... * New login form, * New graphical layout (still needing improvments) * code factoring between webmail and quarantine plugins * etc.
30 lines
852 B
HTML
30 lines
852 B
HTML
{% load i18n %}
|
|
<ul>
|
|
{% for entry in entries %}
|
|
{% if entry.menu %}
|
|
<li class="dropdown">
|
|
<img src="{{ entry.img }}" border="0" />
|
|
<label>{{ entry.label }}</label>
|
|
<ul class="links">
|
|
{% for sentry in entry.menu %}
|
|
<a href="{{ sentry.url }}" name="{{ sentry.name }}">
|
|
<li>{{ sentry.label }}</li>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% else %}
|
|
<li {% ifequal selection entry.name %}class="selected"{% endifequal %}>
|
|
<a href="{{ entry.url }}" name="{{ entry.name }}"
|
|
{% if entry.class %}class={{ entry.class }}{% endif %}
|
|
{% if entry.rel %}rel={{ entry.rel }}{% endif %}
|
|
{% if entry.confirm %} onclick="return confirm('{{ entry.confirm }}')"{% endif %}>
|
|
|
|
<img src="{{ entry.img }}" border="0" />
|
|
{{ entry.label }}
|
|
</a>
|
|
</li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|