From: Jo-Philipp Wich Date: Thu, 31 May 2018 17:05:40 +0000 (+0200) Subject: luci-base: use common alert message markup X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=29b391d7bc9424542a0974a5ee5c2d26767ab90d;p=oweals%2Fluci.git luci-base: use common alert message markup Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/view/cbi/map.htm b/modules/luci-base/luasrc/view/cbi/map.htm index 69ef3615a..02b47f545 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 -%> -
<%=pcdata(msg)%>
+
<%=pcdata(msg)%>
<%- end end -%>
diff --git a/modules/luci-base/luasrc/view/sysauth.htm b/modules/luci-base/luasrc/view/sysauth.htm index b3ec9b761..e7a741aaa 100644 --- a/modules/luci-base/luasrc/view/sysauth.htm +++ b/modules/luci-base/luasrc/view/sysauth.htm @@ -8,7 +8,9 @@
<%- if fuser then %> -
<%:Invalid username and/or password! Please try again.%>
+
+

<%:Invalid username and/or password! Please try again.%>

+
<% end -%>