luci-base: use common alert message markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
724cc29978
commit
29b391d7bc
2 changed files with 4 additions and 2 deletions
|
@ -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%>">
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue