Quarantine plugin update:

* Using django's orm to access amavis database
* Many UI improvments
* Better use of the RS field

fixed #88 & #72
see #155
This commit is contained in:
Antoine Nguyen
2011-08-23 16:36:57 +02:00
parent 893dcfdb3f
commit 968f91be1a
19 changed files with 505 additions and 305 deletions
+10
View File
@@ -318,6 +318,16 @@ th.center, td.center {
text-align: center;
}
th[class*=sortable] {
cursor: pointer;
/*-moz-box-shadow: 0px -15px 10px -10px rgba(0,0,0,0.6) inset;
-webkit-box-shadow: 0px -15px 10px -10px rgba(0,0,0,0.6) inset;*/
}
th.selected {
background: #EEEEEE;
}
td {
border-bottom: 1px solid #C8D6E8;
}
+15 -11
View File
@@ -10,16 +10,20 @@ function navbarcallback(event) {
}
function updatelisting(resp) {
if ($defined(resp.menu)) {
$("menubar").set("html", resp.menu);
parse_menubar("menubar");
}
if ($defined(resp.listing)) {
$("listing").set("html", resp.listing);
}
if ($defined(resp.navbar)) {
$("navbar").set("html", resp.navbar);
$("navbar").getChildren("a").addEvent("click", navbarcallback);
}
if ($defined(resp.url)) {
current_anchor.baseurl(resp.url).update();
return;
}
if ($defined(resp.menu)) {
$("menubar").set("html", resp.menu);
parse_menubar("menubar");
}
if ($defined(resp.listing)) {
$("listing").set("html", resp.listing);
}
if ($defined(resp.navbar)) {
$("navbar").set("html", resp.navbar);
$("navbar").getChildren("a").addEvent("click", navbarcallback);
}
}