From 632632f92bfe23a2c9f2fec04217cefa5db3eabb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 15 Oct 2011 03:29:00 +0000 Subject: [PATCH] themes/openwrt: add a link to password change page in password change prompt --- themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css | 5 +++++ themes/openwrt/luasrc/view/themes/openwrt.org/header.htm | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css index 8fb5fcbb06..272939373e 100644 --- a/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt/htdocs/luci-static/openwrt.org/cascade.css @@ -803,6 +803,11 @@ div.cbi-tab-descr { margin-bottom: 5px; } +.errorbox a { + color: #000000 !important; +} + + .uci-change-list { font-family: monospace; } diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index ea9ce02f27..19f061443a 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -195,6 +195,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then <%- if 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.%> + <%: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...%>
<%- end -%> -- 2.30.2