diff options
Diffstat (limited to 'themes/freifunk-hannover')
-rw-r--r-- | themes/freifunk-hannover/htdocs/luci-static/freifunk-hannover/cascade.css | 55 | ||||
-rw-r--r-- | themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm | 18 |
2 files changed, 71 insertions, 2 deletions
diff --git a/themes/freifunk-hannover/htdocs/luci-static/freifunk-hannover/cascade.css b/themes/freifunk-hannover/htdocs/luci-static/freifunk-hannover/cascade.css index b85c1638fa..98490ced76 100644 --- a/themes/freifunk-hannover/htdocs/luci-static/freifunk-hannover/cascade.css +++ b/themes/freifunk-hannover/htdocs/luci-static/freifunk-hannover/cascade.css @@ -424,8 +424,59 @@ textarea#syslog { 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; +} + + input[type=submit],
input[type=reset],
input[type=image] {
diff --git a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm index e6f0eb443f..d594a6535d 100644 --- a/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm +++ b/themes/freifunk-hannover/luasrc/view/themes/freifunk-hannover/header.htm @@ -49,10 +49,20 @@ require("luci.http").prepare_content("application/xhtml+xml") <script type="text/javascript" src="<%=resource%>/VarType.js"></script> <script type="text/javascript" src="<%=resource%>/XHTML1.js"></script> <script type="text/javascript" src="<%=resource%>/Dropdowns.js"></script> +<script type="text/javascript" src="<%=resource%>/xhr.js"></script> + <title><%=striptags( hostname .. ( (node and node.title) and ' - ' .. node.title or '')) %> - LuCI</title> </head> <body class="lang_<%=luci.i18n.context.lang%>"> + +<%- 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 -%> + <p class="skiplink"> <span id="skiplink1"><a href="#navigation"><%:Skip to navigation%></a></span> <span id="skiplink2"><a href="#content"><%:Skip to content%></a></span> @@ -161,3 +171,11 @@ else -%> <div class="clear"></div> </div> <div id="maincontent"> +<% if category ~= "freifunk" and category ~= "splash" then %> +<noscript> + <div class="warning"> + <strong><%:Java Script required!%></strong><br /> + <%:You must enable Java Script in your browser or LuCI will not work properly.%> + </div> +</noscript> +<% end %> |