themes/freifunk-generic: Add warning box when js is disabled
This commit is contained in:
parent
7996c4f92c
commit
617aa2f91c
2 changed files with 13 additions and 0 deletions
|
@ -81,6 +81,12 @@ code {
|
|||
background-color: white;
|
||||
}
|
||||
|
||||
.errorbox {
|
||||
border: 1px solid #F00;
|
||||
background-color: #FCC;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#header {
|
||||
min-height: 100px;
|
||||
background: #FFF url(header.jpg) repeat-x left bottom;
|
||||
|
|
|
@ -185,3 +185,10 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
|
|||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="maincontent">
|
||||
<noscript>
|
||||
<div class="errorbox">
|
||||
<strong><%:Java Script required!%></strong><br />
|
||||
<%:You must enable Java Script in your browser or LuCI will not work properly.%>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
|
|
Loading…
Reference in a new issue