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
28 lines
858 B
HTML
28 lines
858 B
HTML
{% extends "twocols.html" %}
|
|
{% load i18n libextras admin_extras %}
|
|
{% block html_head %}
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$("#update").click(function(evt) {
|
|
evt.preventDefault();
|
|
var $form = $("form");
|
|
|
|
$.post($form.attr("action"), $form.serialize(), function(data) {
|
|
if (data.status == "ok") {
|
|
if (data.reload) {
|
|
window.location.reload();
|
|
}
|
|
$("body").notify("success", data.message, 2000);
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
{% block leftcol %}<div class="well sidebar-nav">{% settings_menu selection user %}</div>{% endblock %}
|
|
{% block footer %}
|
|
<div class="pull-right padded5">
|
|
<a href="#" class="btn btn-primary" id="update" name="update">{% trans 'Save' %}</a>
|
|
</div>
|
|
{% endblock %}
|