Merge pull request #2810 from friedPotat0/quarantinetable
Minor adjustments to tables in UI
This commit is contained in:
commit
2061181d82
@ -53,3 +53,11 @@ table.footable>tbody>tr.footable-empty>td {
|
||||
font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
|
||||
font-size:smaller;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table tbody tr td input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -57,3 +57,11 @@ span.mail-address-item {
|
||||
padding: 2px 7px;
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table tbody tr td input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -40,3 +40,11 @@ table.footable>tbody>tr.footable-empty>td {
|
||||
body {
|
||||
overflow-y:scroll;
|
||||
}
|
||||
|
||||
table tbody tr {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
table tbody tr td input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
}
|
@ -300,7 +300,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'domain_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_mailbox_table() {
|
||||
@ -419,7 +420,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'mailbox_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_resource_table() {
|
||||
@ -491,7 +493,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'resource_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_bcc_table() {
|
||||
@ -559,7 +562,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'bcc_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_recipient_map_table() {
|
||||
@ -622,7 +626,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'recipient_map_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_tls_policy_table() {
|
||||
@ -691,7 +696,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'tls_policy_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_transport_maps_table() {
|
||||
@ -758,7 +764,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'transport_maps_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_alias_table() {
|
||||
@ -854,7 +861,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'alias_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
|
||||
@ -914,7 +922,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'aliasdomain_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
|
||||
@ -995,7 +1004,8 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'sync_job_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
|
||||
@ -1064,10 +1074,15 @@ jQuery(function($){
|
||||
"after.ft.filtering": function(e, ft){
|
||||
table_mailbox_ready(ft, 'filter_table');
|
||||
}
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
};
|
||||
|
||||
$('body').on('click', 'span.footable-toggle', function () {
|
||||
event.stopPropagation();
|
||||
})
|
||||
|
||||
draw_domain_table();
|
||||
draw_mailbox_table();
|
||||
draw_resource_table();
|
||||
|
@ -63,6 +63,7 @@ jQuery(function($){
|
||||
"paging": {"enabled": true,"limit": 5,"size": pagination_size},
|
||||
"sorting": {"enabled": true},
|
||||
"filtering": {"enabled": true,"position": "left","connectors": false,"placeholder": lang.filter_table},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
|
||||
@ -117,6 +118,10 @@ jQuery(function($){
|
||||
});
|
||||
});
|
||||
|
||||
$('body').on('click', 'span.footable-toggle', function () {
|
||||
event.stopPropagation();
|
||||
})
|
||||
|
||||
// Initial table drawings
|
||||
draw_quarantine_table();
|
||||
});
|
||||
|
@ -84,7 +84,8 @@ jQuery(function($){
|
||||
"state": {"enabled": true},
|
||||
"sorting": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_sync_job_table() {
|
||||
@ -151,7 +152,8 @@ jQuery(function($){
|
||||
"state": {"enabled": true},
|
||||
"sorting": {
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"toggleSelector": "table tbody span.footable-toggle"
|
||||
});
|
||||
}
|
||||
function draw_wl_policy_mailbox_table() {
|
||||
@ -236,6 +238,11 @@ jQuery(function($){
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$('body').on('click', 'span.footable-toggle', function () {
|
||||
event.stopPropagation();
|
||||
})
|
||||
|
||||
draw_sync_job_table();
|
||||
draw_tla_table();
|
||||
draw_wl_policy_mailbox_table();
|
||||
|
Loading…
Reference in New Issue
Block a user