summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm')
-rw-r--r--applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm20
1 files changed, 10 insertions, 10 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm
index a03bd5ad27..ba738c016d 100644
--- a/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm
+++ b/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm
@@ -50,8 +50,8 @@ XHR.poll(20, '<%=REQUEST_URI%>', { status: 1 },
s += String.format(
'<div class="tr cbi-section-table-row cbi-rowstyle-'+(1 + (idx % 2))+' proto-%s">' +
- '<div class="td cbi-section-table-cell" style="text-align: left">%s/%s</div>' +
- '<div class="td cbi-section-table-cell" style="text-align: left">' +
+ '<div class="td cbi-section-table-cell left">%s/%s</div>' +
+ '<div class="td cbi-section-table-cell left">' +
'<a href="http://%s/cgi-bin-status.html">%s</a>',
route.proto, route.dest, route.genmask, route.gw, route.gw
)
@@ -72,9 +72,9 @@ XHR.poll(20, '<%=REQUEST_URI%>', { status: 1 },
}
s += String.format(
'</div>' +
- '<div class="td cbi-section-table-cell" style="text-align: left">%s</div>' +
- '<div class="td cbi-section-table-cell" style="text-align: left">%s</div>' +
- '<div class="td cbi-section-table-cell" style="background-color:%s; text-align: left">%s</div>' +
+ '<div class="td cbi-section-table-cell left">%s</div>' +
+ '<div class="td cbi-section-table-cell left">%s</div>' +
+ '<div class="td cbi-section-table-cell left" style="background-color:%s">%s</div>' +
'</div>',
route.interface, route.metric, route.color, route.etx || '?'
);
@@ -110,8 +110,8 @@ XHR.poll(20, '<%=REQUEST_URI%>', { status: 1 },
%>
<div class="tr cbi-section-table-row cbi-rowstyle-<%=i%> proto-<%=route.proto%>">
- <div class="td cbi-section-table-cell" style="text-align: left"><%=route.destination%>/<%=route.genmask%></div>
- <div class="td cbi-section-table-cell" style="text-align: left">
+ <div class="td cbi-section-table-cell left"><%=route.destination%>/<%=route.genmask%></div>
+ <div class="td cbi-section-table-cell left">
<% if route.proto == '6' then %>
<a href="http://[<%=route.gateway%>]/cgi-bin-status.html"><%=route.gateway%></a>
<% else %>
@@ -121,9 +121,9 @@ XHR.poll(20, '<%=REQUEST_URI%>', { status: 1 },
/ <a href="http://<%=route.Hostname%>/cgi-bin-status.html"><%=route.hostname%></a>
<% end %>
</div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=route.networkInterface%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=route.metric%></div>
- <div class="td cbi-section-table-cell" style="background-color:<%=color%>; text-align: left"><%=string.format("%.3f", ETX)%></div>
+ <div class="td cbi-section-table-cell left"><%=route.networkInterface%></div>
+ <div class="td cbi-section-table-cell left"><%=route.metric%></div>
+ <div class="td cbi-section-table-cell left" style="background-color:<%=color%>"><%=string.format("%.3f", ETX)%></div>
</div>
<%
i = ((i % 2) + 1)