luci-app-upnp: tweak table markup
authorJo-Philipp Wich <jo@mein.io>
Fri, 13 Jul 2018 07:37:28 +0000 (09:37 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 13 Jul 2018 07:37:28 +0000 (09:37 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-upnp/luasrc/view/upnp_status.htm

index ee385b24a8a7eaa17be3cd1eaf74f503bae2e2c7..e5cb9854d187b38d5ff2ec63648114e5254fd915 100644 (file)
@@ -25,7 +25,7 @@
                                                st[i].intaddr,
                                                st[i].intport,
                                                st[i].descr,
-                                               E('<input class="cbi-button cbi-button-remove" type="button" value="<%:Delete%>" onclick="upnp_delete_fwd(%d)" />'.format(st[i].num))
+                                               E('<div><input class="cbi-button cbi-button-remove" type="button" value="<%:Delete%>" onclick="upnp_delete_fwd(%d)" /></div>'.format(st[i].num))
                                        ]);
 
                                cbi_update_table(tb, rows, '<em><%:There are no active redirects.%></em>');