openwrt: web configuration itf now points to wifi by default

This commit is contained in:
Bart Van Der Meerssche 2009-08-24 11:56:12 +00:00
parent a93f0d30ab
commit fa1af47202
5 changed files with 37 additions and 35 deletions

View File

@ -2,9 +2,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci" />
<meta http-equiv="refresh" content="0; URL=/cgi-bin/luci/wifi" />
</head>
<body style="background-color: grey">
<a style="color: white; text-decoration: none" href="/cgi-bin/luci">Flukso Configuration Interface</a>
<a style="color: white; text-decoration: none" href="/cgi-bin/lucii/wifi">Flukso Configuration Interface</a>
</body>
</html>

View File

@ -104,23 +104,21 @@ code {
}
.menubar {
background: #000000;
background: rgba(100, 100, 100, 0.8);
color: #ffffff;
clear: both;
width: 80%;
font-size: 0.8em;
margin: 0.7em auto;
padding: 0.5em;
background: #f5f5f5;
background: rgba(245, 245, 245, 0.9);
color: #000000;
border-width: 1px solid #444444;
font-size: 80%;
margin: 0.5em auto;
padding: 0.4em;
padding-left: 0.5em;
padding-right: 0.5em;
border-radius: 0.8em;
-khtml-border-radius: 0.8em;
-moz-border-radius: 0.8em;
-webkit-border-radius:0.8em;
-opera-border-radius: 0.8em;
border-radius: 1em;
-khtml-border-radius: 1em;
-moz-border-radius: 1em;
-webkit-border-radius: 1em;
-opera-border-radius: 1em;
}
.menubar .warning {
@ -130,7 +128,7 @@ code {
html .menubar a:link,
html .menubar a:visited {
color: #ffffff;
color: #000000;
text-decoration: none;
font-weight: bold;
}
@ -175,7 +173,7 @@ html .menubar a:visited.warning {
#maincontent {
clear: both;
width: 80%;
margin: 0 auto;
margin: 0.7em auto;
padding: 0.5em;
background: #f5f5f5;
background: rgba(245, 245, 245, 0.9);

View File

@ -109,20 +109,21 @@ ucimenu("/" .. category .. "/uci/", tree.nodes[category].nodes["uci"], "changes"
<% end %>
<div class="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:navigation Navigation%></a></h2>
<a href="<%=controller%>">Home</a>
<div class="dashboard">
<div class="dashicon di_wifi">
<a href="/cgi-bin/luci/wifi">Wifi</a>
</div>
<%
local pointer = tree
for k, v in ipairs(crequest) do
if pointer.nodes and pointer.nodes[v] then
pointer = pointer.nodes[v]
%>
&#187; <a href="<%=luci.dispatcher.build_url(unpack(crequest, 1, k))%>"><%=pointer.title or v%></a>
<%
end
end
%>
<div class="dashicon di_network">
<a href="/cgi-bin/luci/network">Network</a>
</div>
<div class="dashicon di_system">
<a href="/cgi-bin/luci/system">System</a>
</div>
</div>
<div class="clear"></div>
</div>
<div id="maincontent">

View File

@ -1,5 +1,5 @@
--- dhcpc.c 2009-08-18 23:24:17.000000000 +0200
+++ dhcpc.c 2009-08-18 23:25:52.000000000 +0200
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -616,10 +616,10 @@
timeout = INT_MAX;
break;

View File

@ -5,4 +5,7 @@ apply following patches to a fresh 8.09 installation:
100.disable.console.patch in 8.09_base_dir/target/linux/generic-2.6/
110.set.console.baud.to.4800.patch in 8.09_base_dir/target/linux/atheros/
120.set.AR5315_RESET_GPIO.to.6.patch in 8.09_base_dir/target/linux/atheros/files/include/asm-mips/mach-atheros/ar5315/
130.ignore.dhcpc.sigterm.patch in 8.09_base_dir/build_dir/mips/busybox-1.11.2/networking/udhcp/
symlink these patches in the appropriate directory:
---------------------------------------------------
245.ignore.dhcpc.sigterm.patch in 8.09_base_dir/package/busybox/patches/