commit b8fc350: [Minor] Remove unused preloaders

moisseev moiseev at mezonplus.ru
Sun Jul 26 19:07:08 UTC 2020


Author: moisseev
Date: 2020-07-26 18:13:16 +0300
URL: https://github.com/rspamd/rspamd/commit/b8fc350a841c43ff616d2b824e33af3cfb4e6c7f

[Minor] Remove unused preloaders

---
 interface/css/rspamd.css |  6 ------
 interface/index.html     | 17 +++--------------
 2 files changed, 3 insertions(+), 20 deletions(-)

diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index 10ea971ec..a0852cfa9 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -111,12 +111,6 @@ textarea {
     border-top-right-radius: .25rem !important;
     border-bottom-right-radius: .25rem !important;
 }
-.notice {
-    display: none;
-}
-#js .notice {
-    display: inline;
-}
 
 input.form-control[type="number"] {
     width: 4em;
diff --git a/interface/index.html b/interface/index.html
index ce0e380c4..efb6138fb 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -126,10 +126,7 @@
 							</div>
 							<div class="card-body">
 								<div class="row">
-									<div class="bg-white mx-auto" id="chart">
-										<span class="notice">Loading..</span>
-										<noscript>Please enable Javascript</noscript>
-									</div>
+									<div class="bg-white mx-auto" id="chart"></div>
 								</div>
 							</div>
 						</div>
@@ -146,18 +143,10 @@
 					<div class="card-body text-center">
 						<div class="d-inline-block bg-white">
 							<div class="row">
-								<div id="graph" class="mx-auto">
-									<span class="notice">Loading..</span>
-									<noscript>Please enable Javascript</noscript>
-								</div>
+								<div id="graph" class="mx-auto"></div>
 							</div>
-
 							<div id="summary-row" class="row">
-								<div class="col-fixed" id="rrd-pie" >
-									<span class="notice">Loading..</span>
-									<noscript>Please enable Javascript</noscript>
-								</div>
-
+								<div class="col-fixed" id="rrd-pie"></div>
 								<div class="col-fluid">
 									<table id="rrd-table" class="table table-striped table-hover"></table>
 									<div id="rrd-table_toggle"></div>


More information about the Commits mailing list