summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash
diff options
context:
space:
mode:
authorPatrick Grimm <patrick@lunatiki.de>2012-02-03 23:52:55 +0000
committerPatrick Grimm <patrick@lunatiki.de>2012-02-03 23:52:55 +0000
commitf4924111431e5f5b8808bc96000a55d999bc9dee (patch)
treebf3bed490085994755ecb52406b9c2d1c24fced9 /applications/luci-splash
parent65e081954a2b70ccd3c5f613e0faef2b6f190b97 (diff)
luci-splash: create the tbody outside from tr loop
Diffstat (limited to 'applications/luci-splash')
-rw-r--r--applications/luci-splash/luasrc/view/admin_status/splash.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-splash/luasrc/view/admin_status/splash.htm b/applications/luci-splash/luasrc/view/admin_status/splash.htm
index f4abc228d..a2a36050d 100644
--- 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>