[Web] Remove service chevrons

This commit is contained in:
andryyy 2021-10-29 06:49:32 +02:00
parent 15ce95e78d
commit e391b054d3
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -707,9 +707,7 @@ jQuery(function($){
$.each(data, function (i, item) { $.each(data, function (i, item) {
if (item === null) { return true; } if (item === null) { return true; }
item.username = escapeHtml(item.username); item.username = escapeHtml(item.username);
if (item.service == "smtp") { item.service = '<div class="label label-default">' + item.service.toUpperCase() + '<i class="bi bi-chevron-compact-right"></i></div>'; } item.service = '<div class="label label-default">' + item.service.toUpperCase() + '</div>';
else if (item.service == "imap") { item.service = '<div class="label label-default"><i class="bi bi-chevron-compact-left"></i> ' + item.service.toUpperCase() + '</div>'; }
else { item.service = '<div class="label label-default">' + item.service.toUpperCase() + '</div>'; }
}); });
} else if (table == 'general_syslog') { } else if (table == 'general_syslog') {
$.each(data, function (i, item) { $.each(data, function (i, item) {