summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css1
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm7
2 files changed, 8 insertions, 0 deletions
diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
index 91771a78c..c78c2543e 100644
--- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css
@@ -834,6 +834,7 @@ div.cbi-tab-descr {
border: 1px solid #FF0000;
background-color: #FFCCCC;
padding: 5px;
+ margin-bottom: 5px;
}
#memorybar {
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index ccb01ec30..0a32055f8 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -168,3 +168,10 @@ else -%>
<%:You must enable Java Script in your browser or LuCI will not work properly.%>
</div>
</noscript>
+
+ <%- if 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.%>
+ </div>
+ <%- end -%>