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

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 %}