From 29b391d7bc9424542a0974a5ee5c2d26767ab90d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 May 2018 19:05:40 +0200 Subject: [PATCH] luci-base: use common alert message markup Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/map.htm | 2 +- 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 -%> -
<%=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 b3ec9b7617..e7a741aaab 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 -%>
-- 2.30.2