projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications/luci-olsr: Fix rowstyle, make html valid
[project/luci.git]
/
applications
/
luci-olsr
/
luasrc
/
view
/
status-olsr
/
interfaces.htm
diff --git
a/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
b/applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
index 2d3ff876ab2b889cc183bc66d8f6413b48b5f692..17090ff4aa7d7e88b604a3fcd1d488d4e2bc2031 100644
(file)
--- a/
applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
+++ b/
applications/luci-olsr/luasrc/view/status-olsr/interfaces.htm
@@
-47,7
+47,7
@@
local i = 1
<td class="cbi-section-table-cell"><%=iface.Mask%></td>
<td class="cbi-section-table-cell"><%=iface["Dst-Adress"]%></td>
</tr>
- <% i
f i == 1 then i = 0 elseif i == 0 then i = 1 end
+ <% i
= ((i % 2) + 1)
end %>
</table>
</fieldset>