From: moisseev Date: Fri, 26 Aug 2022 11:15:09 +0000 (+0300) Subject: [WebUI] Hide symbol order toggle in search dropdown X-Git-Tag: 3.3~57^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18c9f2c9c8ded2d3165c7f80eaa8febbaf58ecfe;p=rspamd.git [WebUI] Hide symbol order toggle in search dropdown --- diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 9e09b13a5..044bdd645 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -377,6 +377,9 @@ table#symbolsTable input[type="number"] { white-space: nowrap; } } +.footable-filtering-search .dropdown-menu .sym-order-toggle { + display: none; +} #history_page_size { width: 6em !important; diff --git a/interface/js/app/history.js b/interface/js/app/history.js index c511db25d..1812a6429 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -140,15 +140,17 @@ define(["jquery", "footable"], sortValue: function (val) { return Number(val.options.sortValue); } }, { name: "symbols", - title: "Symbols

" + - 'Sort by:
' + - '
' + - '' + - '' + - '' + + title: "Symbols" + + '
' + + '
Sort by:
' + + '
' + + '' + + '' + + '' + + "
" + "
", breakpoints: "all", style: { diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index cef5c596e..4290f9b06 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -100,15 +100,17 @@ define(["jquery"], sortValue: function (val) { return Number(val.options.sortValue); } }, { name: "symbols", - title: "Symbols

" + - 'Sort by:
' + - '
' + - '' + - '' + - '' + + title: "Symbols" + + '
' + + '
Sort by:
' + + '
' + + '' + + '' + + '' + + "
" + "
", breakpoints: "all", style: {