Files
modoboa/templates/common/parameters.html
T
Antoine Nguyen a295aa1ab6 wip: Global user interface improvment
* Use of jQuery in place of Mootools
* Most of the custom mootools plugins have been ported to jQuery
* Use of bootstrap from Twitter in place of the old CSS
* Most of the admin templates have been reworked
* The sievefilters extension has been ported
* The postfix autoreply extension is almost done
* more...

see #204
2012-03-19 15:13:01 +01:00

22 lines
676 B
HTML

{% load i18n admin_extras %}
{% if gparams %}
<div class="tabbable">
<ul class="nav nav-tabs">
{% for app in gparams %}
<li{% if forloop.first %} class="active"{% endif %}><a href="#{{ forloop.counter }}" data-toggle="tab">{{ app.name }}</a></li>
{% endfor %}
</ul>
<div class="tab-content">
{% for app in gparams %}
<div class="tab-pane{% if forloop.first %} active{% endif %}" id="{{ forloop.counter }}">
{% for p in app.params %}
{% param app.name p %}
{% endfor %}
</div>
{% endfor %}
</div>
</div>
{% else %}
<div class="info">{% trans "No parameters available" %}</div>
{% endif %}