mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Mootools update (1.2.4 now). Added custom confirmation box using SqueezeBox. Bugfix: avoid main frame repositionning when loading a SqueezeBox. Bugfix: update autoreply address alias when modifying an email address.
37 lines
938 B
HTML
37 lines
938 B
HTML
{% extends "layout_simple.html" %}
|
|
{% block html_head %}
|
|
<script src="/static/js/form.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
window.addEvent('domready', function(){
|
|
$("ok").addEvent("click", function(event) {
|
|
$("result").value = "ok";
|
|
parent.SqueezeBox.close();
|
|
});
|
|
$("cancel").addEvent("click", function(event) {
|
|
parent.SqueezeBox.close();
|
|
});
|
|
});
|
|
|
|
</script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% load i18n %}
|
|
|
|
<div id="dlg-iconbox">
|
|
<img src="/static/pics/dialog-warning.png" alt="Warning" />
|
|
</div>
|
|
<div id="dlg-textbox">
|
|
<b>{{ msg }}</b><br/>
|
|
<p>
|
|
<input type="checkbox" name="keepdir" value="" />{% trans "Do not delete mailbox directory" %}
|
|
</p>
|
|
</div>
|
|
|
|
<div id="dlg-buttons">
|
|
<input type="button" name="ok" id="ok" value="Ok" />
|
|
<input type="button" id="cancel" value="Cancel" />
|
|
</div>
|
|
<input type="hidden" name="result" id="result" value="cancel" />
|
|
{% endblock %}
|
|
|