From: Jo-Philipp Wich Date: Wed, 16 Jul 2008 02:38:45 +0000 (+0000) Subject: * luci/themes: layout changes for smalltext tables in openwrt.org theme X-Git-Tag: 0.8.0~649 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=79a35fe82515580995416eb44f33c0dbc36d8220;p=oweals%2Fluci.git * luci/themes: layout changes for smalltext tables in openwrt.org theme * luci/olsr: layout fixes for status pages --- diff --git a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm index 777fd2dcf..35dec2d8e 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/hna.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/hna.htm @@ -15,7 +15,7 @@ $Id$ <%+header%>

<%:olsrhna%>


- +
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/index.htm b/applications/luci-olsr/luasrc/view/status-olsr/index.htm index a38b63a36..659d1a1a4 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/index.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/index.htm @@ -16,7 +16,7 @@ $Id$

<%:olsr_links%>

<%:olsr_links1%>


-
<%:destination%> <%:gateway%>
+
@@ -30,7 +30,7 @@ $Id$ end local color = "#bb3333" - link.ETX = tonumber(link.ETX) + link.ETX = tonumber(link.ETX) or 0 if link.ETX == 0 then color = "#bb3333" elseif link.ETX < 4 then @@ -46,7 +46,7 @@ $Id$ - + <% end %>
<%:destination%> <%:local%><%=link["Local IP"]%> <%=link.LinkQuality%> <%=link.NLQ%><%=link.ETX%><%=string.format("%%.3f", link.ETX)%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm index 8792f269d..d82ac924a 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm @@ -15,7 +15,7 @@ $Id$ <%+header%>

<%:olsr_mid%>


- +
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm index c8785b32c..6f5b61edb 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm @@ -15,7 +15,7 @@ $Id$ <%+header%>

<%:olsr_routes%>


-
<%:node%> <%:aliases%>
+
@@ -42,7 +42,7 @@ $Id$ - + <% end %>
<%:destination%> <%:gateway%><%=route.Gateway%> <%=route.Interface%> <%=route.Metric%><%=route.ETX%><%=string.format("%%.3f", tonumber(route.ETX) or 0)%>
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm index 3e7f7596d..bc699b23c 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm @@ -15,7 +15,7 @@ $Id$ <%+header%>

<%:olsr_topology%>


- +
@@ -33,7 +33,7 @@ $Id$ - + <% end %>
<%:destination%> <%:olsr_lasthop%>"><%=route["Last hop IP"]%> <%=route.LQ%> <%=route.ILQ%><%=route.ETX%><%=string.format("%%.3f", tonumber(route.ETX) or 0)%>
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index 89b4f6ac0..f0cd1e0c9 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -247,11 +247,19 @@ table.smalltext { border-right: 1px solid #666666; border-bottom: 1px solid #666666; font-size: 90%; + width: 80%; + margin-left: auto; + margin-right: auto; +} + +table.smalltext tr:hover td { + background-color: #bbddee; } table.smalltext tr th { padding: 0 0.25em; border-left: 1px solid #666666; + text-align: left; } table.smalltext tr td {