From 3abe8c804779c8a5e2b6c763b79246c335df469d Mon Sep 17 00:00:00 2001 From: Nereus Ng Wei Bin Date: Sat, 16 Mar 2024 21:14:57 +0800 Subject: [PATCH] Add loading spinner for activity dashboard --- .../activity-dashboard.component.css | 6 ++ .../activity-dashboard.component.html | 76 ++++++++++--------- 2 files changed, 47 insertions(+), 35 deletions(-) diff --git a/src/app/activity-dashboard/activity-dashboard.component.css b/src/app/activity-dashboard/activity-dashboard.component.css index 9a5dc3ebe..206bdc1da 100644 --- a/src/app/activity-dashboard/activity-dashboard.component.css +++ b/src/app/activity-dashboard/activity-dashboard.component.css @@ -2,3 +2,9 @@ display: flex; overflow-x: auto; } + +.loading-spinner { + display: flex; + justify-content: center; + align-items: center; +} diff --git a/src/app/activity-dashboard/activity-dashboard.component.html b/src/app/activity-dashboard/activity-dashboard.component.html index ebcd0ba5c..4f978221a 100644 --- a/src/app/activity-dashboard/activity-dashboard.component.html +++ b/src/app/activity-dashboard/activity-dashboard.component.html @@ -1,40 +1,46 @@
- - -
-

Activity

-
-
+
+ +
- - - Start Date - - MM/DD/YYYY - - - - + + + +
+

Activity

+
+
- - - End Date - - MM/DD/YYYY - - - - -
-
+ + + Start Date + + MM/DD/YYYY + + + + + + + + End Date + + MM/DD/YYYY + + + + + -
- +
+ +
+