mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-24 06:48:35 +02:00
Ticket #21 + layout refactoring.
This commit is contained in:
@@ -148,23 +148,10 @@ window.addEvent("domready", function() {
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="header">
|
||||
<h1>{% trans "Quarantine" %}</h1>
|
||||
{% if messages %}
|
||||
<div id="infos">
|
||||
{% for m in messages %}
|
||||
{{ m }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div id="menubar" class="menu2">
|
||||
{% block middletitle %}{% trans "Quarantine" %}{% endblock %}
|
||||
{% block menu %}
|
||||
{% quar_menu "" perms %}
|
||||
|
||||
<div id="searchbox">
|
||||
<div id="searchbox">
|
||||
<img src="/static/pics/search.png" id="searchopts" />
|
||||
<input type="text" name="searchfield" id="searchfield" value="{% trans "Search..." %}" />
|
||||
<div id="searchparams">
|
||||
@@ -173,8 +160,8 @@ window.addEvent("domready", function() {
|
||||
<input type="radio" name="scriteria" value="from_addr,subject">{% trans "Both" %}<br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div id="form-container">
|
||||
{% url extensions.amavis_quarantine.main.process as actionurl %}
|
||||
<form method="POST" action="{{ actionurl }}" id="quarlistingform">
|
||||
@@ -185,4 +172,4 @@ window.addEvent("domready", function() {
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -29,12 +29,12 @@ td.left {
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="menu2" id="menu2">
|
||||
{% block middletitle %}{% trans "Mail content" %}{% endblock %}
|
||||
{% block menu %}
|
||||
{% load amextras %}
|
||||
{% viewm_menu "" mail_id page_id perms %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div id="table-container">
|
||||
<table border="0">
|
||||
<tr>
|
||||
@@ -51,4 +51,4 @@ td.left {
|
||||
{% url extensions.amavis_quarantine.main.getmailcontent mail_id as geturl %}
|
||||
<iframe id="mailcontent" src="{{ geturl }}?mode={{ params.mode }}&links={{ params.links }}"></iframe>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user