From 74481a0ab5a23819ca0f38b69437f6bd09421caa Mon Sep 17 00:00:00 2001 From: masterhc Date: Sun, 11 Feb 2024 01:42:22 +0000 Subject: [PATCH] Show a toast if the strike is validated --- public/css/strikesdashboard.css | 9 +++++++-- views/strikelist.ejs | 3 +++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/public/css/strikesdashboard.css b/public/css/strikesdashboard.css index 638c5bd..6943167 100644 --- a/public/css/strikesdashboard.css +++ b/public/css/strikesdashboard.css @@ -81,6 +81,10 @@ body background-color: var(--card-color); border-radius: 10px; border: 1px solid #fffff042; + margin-bottom: 1vh; +} +.strike-info { + flex: 4; } .strike-info > h3 > span> img { @@ -104,8 +108,9 @@ body { background-color: rgb(58, 23, 23); } -.strike-info { - flex: 4; +.strike-info > h4 +{ + color:green } .actions { diff --git a/views/strikelist.ejs b/views/strikelist.ejs index ca1be34..42dee99 100644 --- a/views/strikelist.ejs +++ b/views/strikelist.ejs @@ -20,6 +20,9 @@

With the reason: <%= strike.reason %>

Lasting until: <%=new Date(strike.expireAt).toDateString()%>
+ <%if(strike.validated){%> +

Validated

+ <% } %> <% if(!strike.validated){ %>