mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +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
33 lines
1005 B
HTML
33 lines
1005 B
HTML
{% extends "twocols.html" %}
|
|
{% load i18n uprefs_extras libextras %}
|
|
{% block html_head %}
|
|
{% extra_head_content %}
|
|
<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") {
|
|
$("body").notify("success", data.message, 2000);
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
{% endblock %}
|
|
{% block leftcol %}<div class="well sidebar-nav">{% uprefs_menu selection user %}</div>{% endblock %}
|
|
{% block apparea %}
|
|
<form class="form-horizontal" method="POST"
|
|
action="{% url userprefs.views.savepreferences %}"
|
|
id="uparams_form">
|
|
{% include "common/parameters.html" %}
|
|
</form>
|
|
{% endblock %}
|
|
{% block footer %}
|
|
<div class="pull-right padded5">
|
|
<a href="#" class="btn btn-primary" id="update" name="update">{% trans 'Save' %}</a>
|
|
</div>
|
|
{% endblock %}
|