aboutsummaryrefslogtreecommitdiffstats
path: root/interface/index.html
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-07-26 20:28:36 +0300
committermoisseev <moiseev@mezonplus.ru>2020-07-26 20:28:36 +0300
commit25c7f0536578ed62a0ff58493494ddf8bc74f969 (patch)
tree4579b8c9daf3a07054387c1c39b969a0b21059d0 /interface/index.html
parentb8fc350a841c43ff616d2b824e33af3cfb4e6c7f (diff)
downloadrspamd-25c7f0536578ed62a0ff58493494ddf8bc74f969.tar.gz
rspamd-25c7f0536578ed62a0ff58493494ddf8bc74f969.zip
[WebUI] Add `Enable JS` warning
Diffstat (limited to 'interface/index.html')
-rw-r--r--interface/index.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/interface/index.html b/interface/index.html
index efb6138fb..742db46df 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -72,13 +72,18 @@
</form>
</nav>
-<div class="notification-area"></div>
+<div class="notification-area">
+ <noscript>
+ <div class="alert alert-error"><strong>Please enable JavaScript</strong></div>
+ </noscript>
+</div>
<div id="preloader" class="container-fluid">
- <div id="loading" class="position-absolute align-items-center my-3 text-primary blinking">
+ <div id="loading" class="position-absolute align-items-center my-3 text-primary blinking d-none">
<div class="spinner-border align-middle" role="status" aria-hidden="true"></div>
<strong class="ml-3">Loading...</strong>
</div>
+ <script>document.getElementById("loading").classList.remove("d-none");</script>
<div class="row position-absolute w-100 h-100 align-items-center text-center">
<img class="img-fluid mh-100 mx-auto" src="./img/rspamd_logo_navbar.png" alt="Rspamd" />
</div>