From d8f960f6ee3c9f0226d8b1387049c3397432c1d8 Mon Sep 17 00:00:00 2001 From: Facinorous Date: Sat, 17 Dec 2022 10:14:37 -0500 Subject: [PATCH] Update flash messages to appear in pills, resolving Style the login page system messages #19 --- views/pages/admin/tabs/appsettings.ejs | 24 ++++++++++-------------- views/pages/public/login.ejs | 12 ++++++------ views/pages/public/register.ejs | 18 +++++++++--------- 3 files changed, 25 insertions(+), 29 deletions(-) diff --git a/views/pages/admin/tabs/appsettings.ejs b/views/pages/admin/tabs/appsettings.ejs index 6e66d80..bc42fb5 100644 --- a/views/pages/admin/tabs/appsettings.ejs +++ b/views/pages/admin/tabs/appsettings.ejs @@ -3,21 +3,17 @@
- <% if(success_alert_message !='' ){ %> -
-

- <%= success_alert_message %> -

-
- <% } %> + <% if(success_alert_message !='' ){ %> + + <% } %> - <% if(error_message !='' ){ %> -
-

- <%= error_message %> -

-
- <% } %> + <% if(error_message !='' ){ %> + + <% } %>
diff --git a/views/pages/public/login.ejs b/views/pages/public/login.ejs index 369512e..5085e65 100644 --- a/views/pages/public/login.ejs +++ b/views/pages/public/login.ejs @@ -10,15 +10,15 @@

<% if(success_alert_message !='' ){ %> -

- <%= success_alert_message %> -

+ <% } %> <% if(error_message !='' ){ %> -

- <%= error_message %> -

+ <% } %> diff --git a/views/pages/public/register.ejs b/views/pages/public/register.ejs index 1e1911d..5f7f4bb 100644 --- a/views/pages/public/register.ejs +++ b/views/pages/public/register.ejs @@ -10,16 +10,16 @@

<% if(success_alert_message !='' ){ %> -

- <%= success_alert_message %> -

- <% } %> + + <% } %> - <% if(error_message !='' ){ %> -

- <%= error_message %> -

- <% } %> + <% if(error_message !='' ){ %> + + <% } %>