add noscript notices to entry pages

This commit is contained in:
Andrew Dolgov 2006-10-04 14:38:18 +01:00
parent cbb9982ee0
commit 8491624390
3 changed files with 25 additions and 8 deletions

View file

@ -120,6 +120,12 @@ window.onload = init;
<div id="prefContent"> <div id="prefContent">
<p>Loading, please wait...</p> <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="prefFooter"> <div id="prefFooter">

View file

@ -564,19 +564,20 @@ div.notice {
font-size : small; font-size : small;
} }
div.error {
border : 1px solid #ff0000;
background : #ffcccc;
padding : 5px;
margin : 0px 0px 5px 0px;
font-size : small;
}
ul.nomarks { ul.nomarks {
list-style-type : none; list-style-type : none;
margin : 0px; margin : 0px;
padding : 10px; padding : 10px;
} }
div.bigErrorMsg {
border : 1px solid #c0c0c0;
background : #fff0f0;
padding : 30px;
margin : 20px;
}
div.prefHelp, td.prefHelp { div.prefHelp, td.prefHelp {
font-size : small; font-size : small;
color : gray; color : gray;

View file

@ -71,7 +71,17 @@
<iframe id="backReqBox"></iframe> <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> <div id="notify" class="notify"><span id="notify_body">&nbsp;</span></div>