git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
65e0819
)
luci-splash: create the tbody outside from tr loop
author
Patrick Grimm
<redacted>
Fri, 3 Feb 2012 23:52:55 +0000
(23:52 +0000)
committer
Patrick Grimm
<redacted>
Fri, 3 Feb 2012 23:52:55 +0000
(23:52 +0000)
applications/luci-splash/luasrc/view/admin_status/splash.htm
patch
|
blob
|
history
diff --git
a/applications/luci-splash/luasrc/view/admin_status/splash.htm
b/applications/luci-splash/luasrc/view/admin_status/splash.htm
index f4abc228d223fe562c8644887aa33ae8e55740ab..a2a36050ddb8a1b71bc988e4157f3c67b0ba3d2a 100644
(file)
--- a/
applications/luci-splash/luasrc/view/admin_status/splash.htm
+++ b/
applications/luci-splash/luasrc/view/admin_status/splash.htm
@@
-233,6
+233,7
@@
end
<th class="cbi-section-table-cell"><%:Policy%></th>
</tr>
</thead>
+ <tbody id="splash_table">
<%-
local count = 0
@@
-248,7
+249,6
@@
end
if c.ip then
count = count + 1
-%>
- <tbody id="splash_table">
<tr class="cbi-section-table-row cbi-rowstyle-<%=2-(count%2)%>">
<td class="cbi-section-table-cell"><%=c.hostname or "<em>" .. translate("unknown") .. "</em>"%></td>
<td class="cbi-section-table-cell"><%=c.ip or "<em>" .. translate("unknown") .. "</em>"%></td>
git clone https://git.99rst.org/PROJECT