From 25e63399404e8ba814aa0b1e65d83ea50cd1b2f2 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 27 Apr 2017 19:34:00 +0200 Subject: [PATCH] Fix domain admin table, move quick actions --- data/web/css/mailbox.css | 6 ++---- data/web/js/admin.js | 2 +- data/web/js/mailbox.js | 1 + data/web/mailbox.php | 17 ++++++++++------- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/data/web/css/mailbox.css b/data/web/css/mailbox.css index 1305a916..4a110ba1 100644 --- a/data/web/css/mailbox.css +++ b/data/web/css/mailbox.css @@ -12,8 +12,6 @@ table.footable>tbody>tr.footable-empty>td { overflow: visible !important; } .footer-add-item { - text-align:center; - font-style: italic; display:block; padding: 10px; background: #F5F5F5; @@ -28,11 +26,11 @@ table.footable>tbody>tr.footable-empty>td { } .mass-select-all { cursor:pointer; - color:grey; + color:#555; } #alias_table { cursor:pointer; } #alias_table .footable-paging { cursor: auto; -} \ No newline at end of file +} diff --git a/data/web/js/admin.js b/data/web/js/admin.js index feaf3907..647dba9a 100644 --- a/data/web/js/admin.js +++ b/data/web/js/admin.js @@ -1,7 +1,7 @@ $(document).ready(function() { $.ajax({ dataType: 'json', - url: '/api/v1/domain-admin/all', + url: '/api/v1/get/domain-admin/all', jsonp: false, error: function () { alert('Cannot draw domain administrator table'); diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index 56cc6d04..9876ec36 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -237,6 +237,7 @@ $(document).ready(function() { $.each(data, function (i, item) { item.action = '
' + ' ' + lang.edit + '' + + ' ' + lang.remove + '' + '
'; item.chkbox = ''; if (item.is_catch_all == 1) { diff --git a/data/web/mailbox.php b/data/web/mailbox.php index 09164809..dc208896 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -102,14 +102,17 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];
- - : - | - | - - +

+ ↪ +

+
+ -