Files
modoboa/templates/common/email_listing.html
T
Antoine Nguyen 6c7a64e947 !! VERY UNSTABLE CHANGESET !!
Many updates in this commit:
 * first work on the webmail plugin, for now only emails listing and folders browsing is supported...
 * New login form,
 * New graphical layout (still needing improvments)
 * code factoring between webmail and quarantine plugins
 * etc.
2010-01-15 12:15:15 +01:00

58 lines
1.2 KiB
HTML

{% extends "nlayout.html" %}
{% load i18n %}
{% block html_head %}
<style type="text/css">
#listing {
overflow: auto;
border-top: 1px solid #C8D6E8;
}
#navbar {
padding: 0;
margin: 0;
background: white;
height: 25px;
width: 100%;
text-align: right;
border-top: 1px solid #C8D6E8;
}
#navbar label {
margin-right: 5px;
font-weight: bold;
}
#navbar img {
margin-top: 5px;
margin-right: 5px;
}
{% block css %}{% endblock %}
</style>
<script type="text/javascript">
window.addEvent("domready", function() {
if ($("selectall")) {
$("selectall").addEvent("click", function(event) {
if ($("selectall").checked) {
toggleSelection("selection", true);
} else {
toggleSelection("selection", false);
}
});
}
{% block js %}{% endblock %}
setContentSize(20);
var scroller = new Scroller("listing", {area: 150, velocity: 1});
});
</script>
{% endblock %}
{% block content %}
{% block leftcol %}{% endblock %}
<form method="POST" action="{{ actionurl }}" id="listingform">
<input type="hidden" name="pagenum" id="pagenum" value="{{ current_page }}" />
<div id="listing">{{ listing }}</div>
</form>
<div class="spacer"></div>
<div id="navbar">{{ navbar }}</div>
{% endblock %}