diff options
author | moisseev <moiseev@mezonplus.ru> | 2022-02-10 11:08:50 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2022-02-10 11:08:50 +0300 |
commit | da569a6c6ffb3e53d6fe6041248fb3c6e410bd1d (patch) | |
tree | ff762c142a9242032b2b6c99fd2408f9e9d33be2 /interface/js/app | |
parent | 4d584cad637c001cf4026d23cb46b0fb06d2999b (diff) | |
download | rspamd-da569a6c6ffb3e53d6fe6041248fb3c6e410bd1d.tar.gz rspamd-da569a6c6ffb3e53d6fe6041248fb3c6e410bd1d.zip |
[Minor] WebUI CSS: Drop ancient gradient syntaxes
Diffstat (limited to 'interface/js/app')
-rw-r--r-- | interface/js/app/stats.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index b674d25c3..b7194a157 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -71,7 +71,7 @@ define(["jquery", "d3pie"], function widget(k, v, cls) { var c = (typeof cls === "undefined") ? "" : cls; var titleAtt = d3.format(",")(v) + " " + k; - return '<div class="card stat-box d-inline-block text-center bg-light shadow-sm mr-3 px-3">' + + return '<div class="card stat-box d-inline-block text-center shadow-sm mr-3 px-3">' + '<div class="widget overflow-hidden p-2' + c + '" title="' + titleAtt + '"><strong class="d-block mt-2 mb-1 font-weight-bold">' + d3.format(".3~s")(v) + "</strong>" + k + "</div></div>"; @@ -100,7 +100,7 @@ define(["jquery", "d3pie"], $(item).appendTo("#statWidgets"); }); $("#statWidgets > div:not(.stat-box)") - .wrapAll('<div class="card stat-box text-center bg-light shadow-sm float-right">' + + .wrapAll('<div class="card stat-box text-center shadow-sm float-right">' + '<div class="widget overflow-hidden p-2 text-capitalize"></div></div>'); $("#statWidgets").find("div.float-right").appendTo("#statWidgets"); $("#statWidgets").show(); |