mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
23 lines
702 B
HTML
23 lines
702 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 left_selection user %}</div>{% endblock %}
|