Changeset 6272

Show
Ignore:
Timestamp:
10/12/10 00:10:24 (3 years ago)
Author:
jow
Message:

themes/openwrt.org: display error if Java Script is disabled

Location:
luci/trunk/themes/openwrt.org
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css

    r6122 r6272  
    831831} 
    832832 
     833.errorbox { 
     834    border: 1px solid #FF0000; 
     835    background-color: #FFCCCC; 
     836    padding: 5px; 
     837} 
     838 
    833839#memorybar { 
    834840    width: 200px; 
  • luci/trunk/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm

    r5924 r6272  
    5050<script type="text/javascript" src="<%=resource%>/XHTML1.js"></script> 
    5151<script type="text/javascript" src="<%=resource%>/Dropdowns.js"></script> 
     52<script type="text/javascript" src="<%=resource%>/xhr.js"></script> 
    5253<title><%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI</title> 
    5354</head> 
     
    162163</div> 
    163164<div id="maincontent"> 
     165    <noscript> 
     166        <div class="errorbox"> 
     167            <strong><%:Java Script required!%></strong><br /> 
     168            <%:You must enable Java Script in your browser or LuCI will not work properly.%> 
     169        </div> 
     170    </noscript>