Files
modoboa/templates/admin/identities.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

35 lines
1.1 KiB
HTML

{% extends "admin/listing.html" %}
{% load admin_extras libextras %}
{% block html_head %}
{{ block.super }}
<script type="text/javascript" src="{{ MEDIA_URL }}js/creation_wizard.js"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/autocompleter.js"></script>
<script type="text/javascript">
function get_domains_list(container) {
$.getJSON("{% url modoboa.admin.views.domains_list %}", function(data) {
container.value = data;
});
}
function get_account_list(container) {
$.getJSON("{% url modoboa.admin.views.accounts_list %}", function(data) {
container.value = data;
});
}
$(document).ready(function() {
$("a[name=delaccount]").confirm({
question: gettext("Delete this account?"),
checkboxes: {keepdir: gettext("Do not delete mailbox directory")}
});
$("a[name=deldlist]").confirm({
question: gettext("Delete this list?")
});
$("#pagination_bar").find(".disabled").click(function(e) {
e.preventDefault();
});
});
</script>
{% endblock %}
{% block leftcol %}<div class="well sidebar-nav">{% identities_menu user %}</div>{% endblock %}