summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-09 13:45:25 +0300
committerAndrew Dolgov <[email protected]>2021-04-09 13:45:25 +0300
commita5af15cfe9f1185c24d5d8ee3eb0e4b6bbacfeb5 (patch)
treeb7379f7156140c6ee35bc451a9c7cdadb44e5a63 /prefs.php
parent49ef15f11dfbd53b27808e9a0949cf6825102126 (diff)
fix noscript notifications
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index 982726740..14820f707 100644
--- a/prefs.php
+++ b/prefs.php
@@ -93,11 +93,24 @@
}
</style>
+ <noscript>
+ <style type="text/css">
+ body.css_loading noscript {
+ display : block;
+ margin : 16px;
+ }
+ </style>
+
+ <?= stylesheet_tag("themes/light.css") ?>
+ </noscript>
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body class="flat ttrss_main ttrss_prefs css_loading">
+<noscript class="alert alert-error"><?= ('Javascript is disabled. Please enable it.') ?></noscript>
+
<div id="notify" class="notify"></div>
<div id="cmdline" style="display : none"></div>
@@ -107,7 +120,6 @@
<div dojoType="dijit.ProgressBar" places="0" style="width : 300px" id="loading_bar"
progress="0" maximum="100">
</div>
- <noscript><br/><?php print_error('Javascript is disabled. Please enable it.') ?></noscript>
</div>
</div>