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
/
mid.htm
diff --git
a/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
b/applications/luci-olsr/luasrc/view/status-olsr/mid.htm
index 1af864d852442c4b447f5b9ea45ea33a66fa1f33..48823b5bc1335c11e44f2d403b91aefd46b853a9 100644
(file)
--- a/
applications/luci-olsr/luasrc/view/status-olsr/mid.htm
+++ b/
applications/luci-olsr/luasrc/view/status-olsr/mid.htm
@@
-35,7
+35,7
@@
local i = 1
<td class="cbi-section-table-cell"><%=mid.Aliases%></td>
</tr>
- <% i
f i == 1 then i = 0 elseif i == 0 then i = 1 end
+ <% i
= ((i % 2) + 1)
end %>
</table>
</fieldset>