diff options
Diffstat (limited to 'themes/freifunk-bno')
-rw-r--r-- | themes/freifunk-bno/htdocs/luci-static/freifunk-bno/cascade.css | 51 | ||||
-rw-r--r-- | themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm | 16 |
2 files changed, 67 insertions, 0 deletions
diff --git a/themes/freifunk-bno/htdocs/luci-static/freifunk-bno/cascade.css b/themes/freifunk-bno/htdocs/luci-static/freifunk-bno/cascade.css index 6731b7c7f..c67e96a7f 100644 --- a/themes/freifunk-bno/htdocs/luci-static/freifunk-bno/cascade.css +++ b/themes/freifunk-bno/htdocs/luci-static/freifunk-bno/cascade.css @@ -625,6 +625,57 @@ ul.cbi-apply { font-size: 90%; } +ul.cbi-tabmenu { + padding: 3px 0; + margin-left: 0 !important; + margin-bottom: -1px; + list-style-type: none; +} + +ul.cbi-tabmenu li.cbi-tab, +ul.cbi-tabmenu li.cbi-tab-disabled { + display: inline; + margin: 0; +} + +ul.cbi-tabmenu li.cbi-tab a, +ul.cbi-tabmenu li.cbi-tab-disabled a { + text-decoration: none; + padding: 3px 7px; + margin-right: 3px; + border: 1px outset #000; + border-bottom: none; + background-color: #eee; + color: #bbb; +} + +ul.cbi-tabmenu li.cbi-tab-highlighted a { + color: #000; + background-color: #FFEEAA; +} + +ul.cbi-tabmenu li a:hover { + color: #000; +} + +ul.cbi-tabmenu li.cbi-tab a { + position: relative; + top: 1px; + padding-top: 4px; + color: #000; + background-color: #fff; +} + +div.cbi-tab-descr { + background-image: url(/luci-static/resources/cbi/help.gif); + background-position: 0.25em 50%; + background-repeat: no-repeat; + border-bottom: 1px solid #ccc; + margin: 0.25em 0.25em 2em; + padding: 0.5em 0.5em 0.5em 2em; +} + + .right { text-align: right; } diff --git a/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm b/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm index aa9e03726..660d95ac8 100644 --- a/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm +++ b/themes/freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm @@ -44,6 +44,7 @@ require("luci.http").prepare_content("text/html") <link rel="shortcut icon" href="<%=media%>/images/favicon.ico" /> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <meta http-equiv="content-script-type" content="text/javascript" /> + <script type="text/javascript" src="<%=resource%>/xhr.js"></script> <title><%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI</title> <!--[if lt IE 7]> @@ -68,6 +69,12 @@ require("luci.http").prepare_content("text/html") <center> <div id="wrapper"> +<%- if luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> + <div class="warning"> + <strong><%:No password set!%></strong><br /> + <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%> + </div> +<%- end -%> <div id="main"> @@ -193,4 +200,13 @@ end <br class="clear" /> </div> + <div id="maincontent"> +<% if category ~= "freifunk" and category ~= "splash" then %> +<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> +<% end %> |