summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/view/status-olsr/hna.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/hna.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/hna.htm')
-rw-r--r--applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm12
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm
index 29832f1350..85cdc5f479 100644
--- a/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm
+++ b/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm
@@ -62,9 +62,9 @@ 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>', hna.destination + '/' + hna.genmask, linkgw + hostname, validity
+ '<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>', hna.destination + '/' + hna.genmask, linkgw + hostname, validity
)
s += '</div>'
}
@@ -90,8 +90,8 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 },
<% for k, route in ipairs(hna) do %>
<div class="tr cbi-section-table-row cbi-rowstyle-<%=i%> proto-<%=hna[k].proto%>">
- <div class="td cbi-section-table-cell" style="text-align: left"><%=hna[k].destination%>/<%=hna[k].genmask%> </div>
- <div class="td cbi-section-table-cell" style="text-align: left">
+ <div class="td cbi-section-table-cell left"><%=hna[k].destination%>/<%=hna[k].genmask%> </div>
+ <div class="td cbi-section-table-cell left">
<% if hna[k].proto == '6' then %>
<a href="http://[<%=hna[k].gateway%>]/cgi-bin-status.html"><%=hna[k].gateway%></a>
<% else %>
@@ -107,7 +107,7 @@ XHR.poll(10, '<%=REQUEST_URI%>', { status: 1 },
validity = '-'
end %>
- <div class="td cbi-section-table-cell" style="text-align: left"><%=validity%></div>
+ <div class="td cbi-section-table-cell left"><%=validity%></div>
</div>
<% i = ((i % 2) + 1)