summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-07 19:36:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-07 19:36:43 +0000
commit7e674adf8284ce991ee5721994c294adc1a04810 (patch)
tree853410c5038f41be16e46d505d481a90deca63e8 /themes/openwrt.org/luasrc/view
parentb736c37da0e37a8ed845643e17f0e25e876df75b (diff)
* luci/themes: next round of css fixes for openwrt.org theme
Diffstat (limited to 'themes/openwrt.org/luasrc/view')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm49
1 files changed, 26 insertions, 23 deletions
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 cf8043c5d..3e1d467eb 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -56,7 +56,8 @@ end
%>
</div>
-<div class="mainmenu">
+<div class="menubar">
+ <div class="mainmenu">
<%
local function submenu(prefix, node)
if not node.nodes then
@@ -116,29 +117,31 @@ end
end%>
</ul>
</div>
- <div class="sidebar">
- <%
- if "admin" == request[1] then
- local ucic = 0
- for i, j in pairs(require("luci.model.uci").changes()) do
- for k, l in pairs(j) do
- for m, n in pairs(l) do
- ucic = ucic + 1;
- end
+ <br class="clear" />
+</div>
+<div class="sidebar">
+ <%
+ if "admin" == request[1] then
+ local ucic = 0
+ for i, j in pairs(require("luci.model.uci").changes()) do
+ for k, l in pairs(j) do
+ for m, n in pairs(l) do
+ ucic = ucic + 1;
end
end
- %>
- <div>
- <ul>
- <% if ucic > 0 then %>
- <li><a href="<%=controller%>/admin/uci/changes"><%:changes%>: <%=ucic%></a></li>
- <li><a href="<%=controller%>/admin/uci/apply"><%:apply%></a></li>
- <li><a href="<%=controller%>/admin/uci/revert"><%:revert%></a></li>
- <% else %>
- <li><%:changes%>: 0</li>
- <% end %>
- </ul>
- </div>
+ end
+ %>
+ <div>
+ <ul>
+ <% if ucic > 0 then %>
+ <li><a href="<%=controller%>/admin/uci/changes"><%:changes%>: <%=ucic%></a></li>
+ <li><a href="<%=controller%>/admin/uci/apply"><%:apply%></a></li>
+ <li><a href="<%=controller%>/admin/uci/revert"><%:revert%></a></li>
+ <% else %>
+ <li><%:changes%>: 0</li>
<% end %>
+ </ul>
</div>
- <div id="content">
+ <% end %>
+</div>
+<div id="content">