diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 19:05:40 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-05-31 19:06:48 +0200 |
commit | 29b391d7bc9424542a0974a5ee5c2d26767ab90d (patch) | |
tree | 201c9d1cf52a3eb7d77b91f805dce1f9ca773837 /modules | |
parent | 724cc29978034e03cbda2821b4297b9dee42f74f (diff) |
luci-base: use common alert message markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/map.htm | 2 | ||||
-rw-r--r-- | modules/luci-base/luasrc/view/sysauth.htm | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/map.htm b/modules/luci-base/luasrc/view/cbi/map.htm index 69ef3615a2..02b47f5455 100644 --- a/modules/luci-base/luasrc/view/cbi/map.htm +++ b/modules/luci-base/luasrc/view/cbi/map.htm @@ -1,5 +1,5 @@ <%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%> - <div class="errorbox"><%=pcdata(msg)%></div> + <div class="alert-message warning"><%=pcdata(msg)%></div> <%- end end -%> <div class="cbi-map" id="cbi-<%=self.config%>"> diff --git a/modules/luci-base/luasrc/view/sysauth.htm b/modules/luci-base/luasrc/view/sysauth.htm index b3ec9b7617..e7a741aaab 100644 --- a/modules/luci-base/luasrc/view/sysauth.htm +++ b/modules/luci-base/luasrc/view/sysauth.htm @@ -8,7 +8,9 @@ <form method="post" action="<%=pcdata(FULL_REQUEST_URI)%>"> <%- if fuser then %> - <div class="errorbox"><%:Invalid username and/or password! Please try again.%></div> + <div class="alert-message warning"> + <p><%:Invalid username and/or password! Please try again.%></p> + </div> <% end -%> <div class="cbi-map"> |