summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
diff options
context:
space:
mode:
authorpmelange <isprotejesvalkata@gmail.com>2018-11-17 23:40:37 +0100
committerpmelange <isprotejesvalkata@gmail.com>2018-12-06 20:57:35 +0100
commit4974ddb1f1d2e9d8870f6b907876c39a55a436a1 (patch)
treefb51e18c46fa61a53f011f166b6a2e74cc0fa59e /applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
parent7387553a042c9357081e4baaa2141ce2d1964ecb (diff)
luci-app-olsr change ccs style to use class "left" instead of "style=text-align: left"
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
Diffstat (limited to 'applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm')
-rw-r--r--applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm38
1 files changed, 19 insertions, 19 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
index 56dd868381..fc86e17d9c 100644
--- a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
+++ b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm
@@ -64,15 +64,15 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 },
}
s += String.format(
- '<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="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="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="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="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">%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">%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">%s</div>',
linkgw, smartgw.selected, smartgw.cost, smartgw.hops, smartgw.uplink, smartgw.downlink, smartgw.v4, smartgw.v6, smartgw.prefix
)
s += '</div>'
@@ -115,19 +115,19 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 },
<div class="tr cbi-section-table-row cbi-rowstyle-<%=i%> proto-<%=proto%>">
<% if gw.proto == '6' then %>
- <div class="td cbi-section-table-cell" style="text-align: left"><a href="http://[<%=gw.originator%>]/cgi-bin-status.html"><%=gw.originator%></a></div>
+ <div class="td cbi-section-table-cell left"><a href="http://[<%=gw.originator%>]/cgi-bin-status.html"><%=gw.originator%></a></div>
<% else %>
- <div class="td cbi-section-table-cell" style="text-align: left"><a href="http://<%=gw.originator%>/cgi-bin-status.html"><%=gw.originator%></a></div>
+ <div class="td cbi-section-table-cell left"><a href="http://<%=gw.originator%>/cgi-bin-status.html"><%=gw.originator%></a></div>
<% end %>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.selected and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinate')%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.hops%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.uplink%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.downlink%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.IPv4 and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.IPv6 and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=gw.prefix%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.selected and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.cost > 0 and string.format("%.3f", gw.cost) or luci.i18n.translate('infinate')%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.hops%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.uplink%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.downlink%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.IPv4 and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.IPv6 and luci.i18n.translate('yes') or luci.i18n.translate('no')%></div>
+ <div class="td cbi-section-table-cell left"><%=gw.prefix%></div>
</div>
<% i = ((i % 2) + 1)