summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-07-16 02:38:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-07-16 02:38:45 +0000
commit79a35fe82515580995416eb44f33c0dbc36d8220 (patch)
tree670bbaa5324aa30e19f3d26559305c3017d7cd91 /applications/luci-olsr/luasrc/view/status-olsr/topology.htm
parent25c82d73829c1b078429b7b4462364d0017caba2 (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/topology.htm')
-rw-r--r--applications/luci-olsr/luasrc/view/status-olsr/topology.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm
index 3e7f7596dd..bc699b23c0 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%>
<h1><%:olsr_topology%></h1>
<br />
-<table cellspacing="0" cellpadding="6">
+<table class="smalltext" cellspacing="0" cellpadding="6">
<tr>
<th><%:destination%></th>
<th><%:olsr_lasthop%></th>
@@ -33,7 +33,7 @@ $Id$
<td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td>
<td><%=route.LQ%></td>
<td><%=route.ILQ%></td>
-<td><%=route.ETX%></td>
+<td><%=string.format("%%.3f", tonumber(route.ETX) or 0)%></td>
</tr>
<% end %>
</table>