mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 19:01:56 +00:00
themes/openwrt: add a link to password change page in password change prompt
This commit is contained in:
@@ -803,6 +803,11 @@ div.cbi-tab-descr {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.errorbox a {
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
|
||||
.uci-change-list {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
@@ -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 -%>
|
||||
<div class="errorbox">
|
||||
<strong><%:No password set!%></strong><br />
|
||||
<%: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.%><br />
|
||||
<a href="<%=pcdata(luci.dispatcher.build_url("admin/system/admin"))%>"><%:Go to password configuration...%></a>
|
||||
</div>
|
||||
<%- end -%>
|
||||
|
||||
Reference in New Issue
Block a user