diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-16 02:38:45 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-07-16 02:38:45 +0000 |
commit | 79a35fe82515580995416eb44f33c0dbc36d8220 (patch) | |
tree | 670bbaa5324aa30e19f3d26559305c3017d7cd91 /applications/luci-olsr/luasrc/view/status-olsr/routes.htm | |
parent | 25c82d73829c1b078429b7b4462364d0017caba2 (diff) |
* luci/themes: layout changes for smalltext tables in openwrt.org theme
* luci/olsr: layout fixes for status pages
Diffstat (limited to 'applications/luci-olsr/luasrc/view/status-olsr/routes.htm')
-rw-r--r-- | applications/luci-olsr/luasrc/view/status-olsr/routes.htm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm index c8785b32cb..6f5b61edbe 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%> <h1><%:olsr_routes%></h1> <br /> -<table cellspacing="0" cellpadding="6"> +<table class="smalltext" cellspacing="0" cellpadding="6"> <tr> <th><%:destination%></th> <th><%:gateway%></th> @@ -42,7 +42,7 @@ $Id$ <td><%=route.Gateway%></td> <td><%=route.Interface%></td> <td><%=route.Metric%></td> -<td style="background-color:<%=color%>"><%=route.ETX%></td> +<td style="background-color:<%=color%>"><%=string.format("%%.3f", tonumber(route.ETX) or 0)%></td> </tr> <% end %> </table> |