diff --git a/data/web/css/build/014-responsive.css b/data/web/css/build/014-responsive.css index a6a52cbd7..0b965de0f 100644 --- a/data/web/css/build/014-responsive.css +++ b/data/web/css/build/014-responsive.css @@ -194,6 +194,11 @@ .card-login .btn-group .btn { display: block !important; } + + .dt-sm-head-hidden .dtr-title { + display: none !important; + } + } @media (max-width: 350px) { diff --git a/data/web/js/site/admin.js b/data/web/js/site/admin.js index a76cab0fa..6be661885 100644 --- a/data/web/js/site/admin.js +++ b/data/web/js/site/admin.js @@ -118,9 +118,13 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, - ] + ], + initComplete: function(settings, json){ + console.log(settings.aoColumns); + } }); } function draw_oauth2_clients() { @@ -169,7 +173,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -224,7 +229,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -271,7 +277,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -326,7 +333,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -381,7 +389,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -447,7 +456,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -456,7 +466,7 @@ jQuery(function($){ function process_table_data(data, table) { if (table == 'relayhoststable') { $.each(data, function (i, item) { - item.action = '
' + + item.action = '
' + ' Test' + ' ' + lang.edit + '' + ' ' + lang.remove + '' + @@ -474,7 +484,7 @@ jQuery(function($){ if (item.username) { item.username = ' ' + item.username; } - item.action = '
' + + item.action = '
' + ' Test' + ' ' + lang.edit + '' + ' ' + lang.remove + '' + @@ -488,20 +498,20 @@ jQuery(function($){ return escapeHtml(i); }); item.recipients = rcpts.join('
'); - item.action = '
' + + item.action = ''; }); } else if (table == 'forwardinghoststable') { $.each(data, function (i, item) { - item.action = '
' + + item.action = ''; item.chkbox = ''; }); } else if (table == 'oauth2clientstable') { $.each(data, function (i, item) { - item.action = '
' + + item.action = ''; @@ -514,7 +524,7 @@ jQuery(function($){ item.selected_domains = escapeHtml(item.selected_domains); item.selected_domains = item.selected_domains.toString().replace(/,/g, "
"); item.chkbox = ''; - item.action = '
' + + item.action = '
' + ' ' + lang.edit + '' + ' ' + lang.remove + '' + ' Login' + @@ -528,7 +538,7 @@ jQuery(function($){ item.usr = item.username; } item.chkbox = ''; - item.action = '
' + + item.action = ''; diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 3de925c37..97862d4a8 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -350,7 +350,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -527,7 +528,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -605,7 +607,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -682,7 +685,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -748,7 +752,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -827,7 +832,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -940,7 +946,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -1016,7 +1023,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -1130,7 +1138,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); @@ -1204,7 +1213,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); diff --git a/data/web/js/site/quarantine.js b/data/web/js/site/quarantine.js index 211fd652b..2b36a0070 100644 --- a/data/web/js/site/quarantine.js +++ b/data/web/js/site/quarantine.js @@ -126,7 +126,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' }, ] }); diff --git a/data/web/js/site/user.js b/data/web/js/site/user.js index 7f12f6a30..9a273ed2d 100644 --- a/data/web/js/site/user.js +++ b/data/web/js/site/user.js @@ -184,7 +184,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' } ] }); @@ -309,7 +310,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' } ] }); @@ -387,7 +389,8 @@ jQuery(function($){ }, { title: lang.action, - data: 'action' + data: 'action', + className: 'text-md-end d-md-block dt-sm-head-hidden dt-body-right' } ] });