wip: UI refactoring

* We now make a distinction between aliases, fowards and distribution lists
* Admin listing were updated

see #204
This commit is contained in:
Antoine Nguyen
2012-04-26 16:44:35 +02:00
parent e2aba600f1
commit 3924c2bd3d
11 changed files with 210 additions and 87 deletions
+2 -2
View File
@@ -11,11 +11,11 @@ span.title {
width: 180px;
}
table#domadmins th#actions {
table th#actions {
text-align: right;
}
table#domadmins td[name="actions"] {
table td[name="actions"] {
text-align: right;
}
+3 -3
View File
@@ -50,7 +50,7 @@ function editaccount_cb() {
});
}
function dlistform_cb() {
function aliasform_cb() {
$("#id_email").autocompleter({
from_character: "@",
choices: get_domains_list
@@ -58,8 +58,8 @@ function dlistform_cb() {
$("#id_recipients").dynamic_input();
$(".submit").one('click', function(e) {
simple_ajax_form_post(e, {
formid: "dlistform",
error_cb: dlistform_cb
formid: "aliasform",
error_cb: aliasform_cb
});
});
}