Files
modoboa/templates/admin/domains.html
T
Antoine Nguyen e9a8842a5d wip: global UI refactoring
* Templates cleanup (page titles for everyone)
* Fixed unicode issues
2012-04-20 12:59:55 +02:00

24 lines
887 B
HTML

{% extends "admin/listing.html" %}{% load i18n admin_extras libextras %}
{% block pagetitle %}{% trans "Domains" %}{% endblock %}
{% block html_head %}
{{ block.super }}
<script type="text/javascript">
$(document).ready(function() {
$("a[name=deldomain]").confirm({
question: gettext("Delete this domain?"),
checkboxes: {keepdir: gettext("Do not delete domain directory")}
});
$("#searchquery").focus(function() {
$(this).attr("value", "");
}).blur(function() {
var $this = $(this);
if ($this.attr("value") == "") {
$this.attr("value", gettext("Search"));
}
});
});
</script>
{% endblock %}
{% block leftcol %}<div class="well sidebar-nav">{% include "admin/searchform.html" %}
{% domains_menu "domains" user %}</div>{{ block.super }}{% endblock %}