mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
* 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
35 lines
1.1 KiB
HTML
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 %}
|