From 8840635dfaa9e3482931b7476865fa0263fd7dde Mon Sep 17 00:00:00 2001 From: TanyaStere42 Date: Sat, 2 Nov 2024 15:33:06 -0700 Subject: [PATCH 1/2] moved label button and cleanup --- views/layouts/layout.ejs | 38 ++++++++++++++++++++++++++++------- views/pages/tasks.ejs | 43 ++-------------------------------------- 2 files changed, 33 insertions(+), 48 deletions(-) diff --git a/views/layouts/layout.ejs b/views/layouts/layout.ejs index 10eb118..07034e3 100644 --- a/views/layouts/layout.ejs +++ b/views/layouts/layout.ejs @@ -64,15 +64,39 @@ <% if(userRole == 'admin'){ %>
Create Task - +
+ <% } %> diff --git a/views/pages/tasks.ejs b/views/pages/tasks.ejs index 922cee4..fb42375 100644 --- a/views/pages/tasks.ejs +++ b/views/pages/tasks.ejs @@ -17,32 +17,16 @@
-
- <% if(userRole == 'admin'){ %> -
-

Filters

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

Filters

- +
- <% } %>
@@ -192,27 +176,4 @@
- - From 508ce1bbe49f28f3f4b414ab525717ae54e35c40 Mon Sep 17 00:00:00 2001 From: TanyaStere42 Date: Wed, 20 Nov 2024 10:21:11 -0800 Subject: [PATCH 2/2] fixed labelslist error --- views/layouts/layout.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/layouts/layout.ejs b/views/layouts/layout.ejs index 07034e3..6d5f2b3 100644 --- a/views/layouts/layout.ejs +++ b/views/layouts/layout.ejs @@ -90,7 +90,7 @@
- <%/* %>
<% */%> +