From e3bc12da6de535628e5f5488333c103be95b802a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 May 2018 18:56:50 +0200 Subject: themes: unify no-password / no-javascript alert boxes Signed-off-by: Jo-Philipp Wich --- .../luasrc/view/themes/bootstrap/header.htm | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'themes/luci-theme-bootstrap') diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 39a55551ff..aaacf56b84 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -190,22 +190,20 @@ - <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%> -
+
+ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>

<%:No password set!%>

- <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>
- "><%:Go to password configuration...%> +

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

+
-
- <%- end -%> + <%- end -%> - + -
<% if category then render_tabmenu(category, cattree) end %> -- cgit v1.2.3