From: Jo-Philipp Wich Date: Sat, 15 Oct 2011 03:29:00 +0000 (+0000) Subject: themes/openwrt: add a link to password change page in password change prompt X-Git-Tag: 0.11.0~1535 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=632632f92bfe23a2c9f2fec04217cefa5db3eabb themes/openwrt: add a link to password change page in password change prompt --- 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 -%>