summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-04 14:38:18 +0100
committerAndrew Dolgov <[email protected]>2006-10-04 14:38:18 +0100
commit8491624390e250fc5911186202968ad87c4bcbad (patch)
tree262e6e2fd76c29ba258533488b4809f09a7b48c8
parentcbb9982ee0bf39b50e9e4a80bba114e02e8f2970 (diff)
add noscript notices to entry pages
-rw-r--r--prefs.php6
-rw-r--r--tt-rss.css15
-rw-r--r--tt-rss.php12
3 files changed, 25 insertions, 8 deletions
diff --git a/prefs.php b/prefs.php
index 16c65e2ad..35b639e55 100644
--- a/prefs.php
+++ b/prefs.php
@@ -120,6 +120,12 @@ window.onload = init;
<div id="prefContent">
<p>Loading, please wait...</p>
+ <noscript>
+ <div class="error">
+ Your browser doesn't support Javascript, which is required
+ for this application to function properly. Please check your
+ browser settings.</div>
+ </noscript>
</div>
<div id="prefFooter">
diff --git a/tt-rss.css b/tt-rss.css
index a24a7968c..9e3472128 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -564,19 +564,20 @@ div.notice {
font-size : small;
}
+div.error {
+ border : 1px solid #ff0000;
+ background : #ffcccc;
+ padding : 5px;
+ margin : 0px 0px 5px 0px;
+ font-size : small;
+}
+
ul.nomarks {
list-style-type : none;
margin : 0px;
padding : 10px;
}
-div.bigErrorMsg {
- border : 1px solid #c0c0c0;
- background : #fff0f0;
- padding : 30px;
- margin : 20px;
-}
-
div.prefHelp, td.prefHelp {
font-size : small;
color : gray;
diff --git a/tt-rss.php b/tt-rss.php
index a71436b98..b99cfad90 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -71,7 +71,17 @@
<iframe id="backReqBox"></iframe>
-<div id="overlay"><div id="overlay_inner">Loading, please wait...</div></div>
+<div id="overlay">
+ <div id="overlay_inner">
+ <p>Loading, please wait...</p>
+ <noscript>
+ <div class="error">
+ Your browser doesn't support Javascript, which is required
+ for this application to function properly. Please check your
+ browser settings.</div>
+ </noscript>
+ </div>
+</div>
<div id="notify" class="notify"><span id="notify_body">&nbsp;</span></div>