luci-app-upnp: cleanup UPnP lease status markup
authorJo-Philipp Wich <jo@mein.io>
Thu, 28 Jun 2018 07:43:45 +0000 (09:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 28 Jun 2018 07:43:45 +0000 (09:43 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-upnp/luasrc/view/upnp_status.htm

index 459c63c1d7111a10b157e15cf3facea5d821e87a..ee385b24a8a7eaa17be3cd1eaf74f503bae2e2c7 100644 (file)
 //]]></script>
 
 <div class="cbi-section">
-       <legend><%:Active UPnP Redirects%></legend>
-       <div class="cbi-section-node">
-               <div class="table" id="upnp_status_table">
-                       <div class="tr table-titles">
-                               <div class="th"><%:Protocol%></div>
-                               <div class="th"><%:External Port%></div>
-                               <div class="th"><%:Client Address%></div>
-                               <div class="th"><%:Client Port%></div>
-                               <div class="th"><%:Description%></div>
-                               <div class="th cbi-section-actions">&#160;</div>
-                       </div>
-                       <div class="tr">
-                               <div class="td" colspan="5"><em><%:Collecting data...%></em></div>
-                       </div>
+       <h3><%:Active UPnP Redirects%></h3>
+       <div class="table" id="upnp_status_table">
+               <div class="tr table-titles">
+                       <div class="th"><%:Protocol%></div>
+                       <div class="th"><%:External Port%></div>
+                       <div class="th"><%:Client Address%></div>
+                       <div class="th"><%:Client Port%></div>
+                       <div class="th"><%:Description%></div>
+                       <div class="th cbi-section-actions">&#160;</div>
+               </div>
+               <div class="tr placeholder">
+                       <div class="td"><em><%:Collecting data...%></em></div>
                </div>
        </div>
 </div>