From 9142a714691dc4f801a238bec3cec5101d374c29 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 18 Sep 2018 18:45:19 +0200 Subject: [PATCH] luci-mod-admin-full: fix diagnostic page glitch Slightly restructure markup to avoid inconsistent button rendering. Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/admin_network/diagnostics.htm | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm index b409c8b03..03dd5aab2 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm @@ -68,10 +68,12 @@ local route_host = luci.config.diag and luci.config.diag.route or "dev.openwrt.o

<% if has_ping6 then %> - + + + <% else %> @@ -81,10 +83,12 @@ local route_host = luci.config.diag and luci.config.diag.route or "dev.openwrt.o

<% if has_traceroute6 then %> - + + + <% else %> -- 2.25.1