Sfoglia il codice sorgente

[Web] Remove service chevrons

andryyy 3 anni fa
parent
commit
e391b054d3
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      data/web/js/site/debug.js

+ 1 - 3
data/web/js/site/debug.js

@@ -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>'; }
-        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>'; }
+        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) {