summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-06 17:31:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-06 17:31:22 +0000
commit4fe7531e6bae3e7aa4c835d7d8bb1f19c364fb8d (patch)
tree52379679998a7958b4fabfd0aa7b9d162c1c3b25 /themes/openwrt.org/luasrc
parentc33d0c62b03b9f5310a05659c7bb075737613259 (diff)
* luci/themes: merge openwrt.org the from xyron
Diffstat (limited to 'themes/openwrt.org/luasrc')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm4
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm36
2 files changed, 19 insertions, 21 deletions
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
index 4ea69cb22..98c3ff6da 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/footer.htm
@@ -1,8 +1,8 @@
+ <br class="clear" />
</div>
- <div class="clear"></div>
</div></div>
</div>
-<div class="separator black whitetext bold"><a href="<%=controller%>/about"><%= luci.__appname__ .. " " .. luci.__version__%> - Lua Configuration Interface</a></div>
+<div class="luci separator black whitetext bold"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " " .. luci.__version__%></a></div>
</body>
</html>
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index 49d282c1f..8ed87abd7 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -30,19 +30,19 @@ require("luci.http").prepare_content("text/html")
</head>
<body>
<div id="header">
- <div class="whitetext smalltext bold right">
+ <div class="info whitetext smalltext bold right">
<%=luci.config.brand.firmware%><br />
<%=luci.config.brand.distro%><br />
<%:load%>: <%=load1%> <%=load5%> <%=load15%><br />
<%:hostname%>: <%=luci.sys.hostname()%>
</div>
- <div>
+ <div class="title">
<span class="headertitle"><%=luci.config.brand.title%></span><br />
<span class="whitetext bold"><%=luci.config.brand.subtitle%></span>
</div>
</div>
-<div class="separator black whitetext bold">
+<div class="pathbar separator black whitetext bold">
<%:path%>: <%
local c = tree
local url = controller
@@ -56,9 +56,7 @@ end
%>
</div>
-<div id="page">
-<div id="columns"><div id="columnswrapper">
- <div class="sidebar left">
+<div class="mainmenu">
<%
local function submenu(prefix, node)
if not node._menu_selected or not node.nodes then
@@ -80,7 +78,7 @@ local function submenu(prefix, node)
href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
%>
<li>
- <span<% if nnode._menu_selected then %> class="blacktext"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>
+ <span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>
<% submenu(prefix .. v.name .. "/", nnode) %>
</li>
<% end %>
@@ -101,7 +99,7 @@ if cattree and cattree.nodes then
if node.title and node.target then
local href = controller.."/"..category.."/"..k.name
href = (k.query) and href .. luci.http.build_querystring(k.query) or href %>
- <div<% if node._menu_selected then %> class="blacktext"<%end%>><a href="<%=href%>"><%=node.title%></a>
+ <div<% if node._menu_selected then %> class="preactive"<%end%>><a href="<%=href%>"><%=node.title%></a>
<%submenu("/" .. category .. "/" .. k.name .. "/", node)%>
</div>
<% end
@@ -109,16 +107,16 @@ if cattree and cattree.nodes then
end
%>
</div>
- <div class="sidebar right">
- <div><%:webui%>
- <ul><%
- for k,node in pairs(tree.nodes) do
- if node.title then %>
- <li<% if request[1] == k then %> class="blacktext"<%end%>><a href="<%=controller%>/<%=k%>"><%=node.title%></a></li>
-<% end
- end%>
- </ul>
- </div>
+ <div class="modemenu">
+ <ul><%
+ for k,node in pairs(tree.nodes) do
+ if node.title then %>
+ <li<% if request[1] == k then %> class="active"<%end%>><a href="<%=controller%>/<%=k%>"><%=node.title%></a></li>
+<% end
+ end%>
+ </ul>
+ </div>
+ <div class="sidebar">
<%
if "admin" == request[1] then
local ucic = 0
@@ -130,7 +128,7 @@ end
end
end
%>
- <div><%:config%>
+ <div>
<ul>
<% if ucic > 0 then %>
<li><a href="<%=controller%>/admin/uci/changes"><%:changes%>: <%=ucic%></a></li>