From 21ed61cadb08bd38db9667927fefcfeae5d88fb7 Mon Sep 17 00:00:00 2001 From: Kaspryk Date: Tue, 12 Mar 2024 13:46:00 -0700 Subject: [PATCH] updating request access email and storage trends disclaimer --- .../src/app/hsb/admin/users/AddNewUserRow.tsx | 2 +- .../src/app/hsb/admin/users/Users.module.scss | 24 +++++++++++++++---- src/dashboard/src/app/login/page.tsx | 2 +- src/dashboard/src/app/welcome/page.tsx | 2 +- .../AllOrganizations.module.scss | 5 ++++ .../charts/line/LineChart.module.scss | 6 +++++ .../src/components/charts/line/LineChart.tsx | 1 + 7 files changed, 34 insertions(+), 8 deletions(-) diff --git a/src/dashboard/src/app/hsb/admin/users/AddNewUserRow.tsx b/src/dashboard/src/app/hsb/admin/users/AddNewUserRow.tsx index ef645485..adb8ecf2 100644 --- a/src/dashboard/src/app/hsb/admin/users/AddNewUserRow.tsx +++ b/src/dashboard/src/app/hsb/admin/users/AddNewUserRow.tsx @@ -30,7 +30,7 @@ export const AddNewUserRow = ({ }: IAddNewUserRowProps) => { return (
- +

Need access to the Storage Dashboard?

- Please email placeholder@gov.bc.ca to request + Please email michael.tessier@gov.bc.ca to request access to your organization's dashboard.

If you are a first time user please note:

diff --git a/src/dashboard/src/app/welcome/page.tsx b/src/dashboard/src/app/welcome/page.tsx index ccb101be..9b2c0c4b 100644 --- a/src/dashboard/src/app/welcome/page.tsx +++ b/src/dashboard/src/app/welcome/page.tsx @@ -18,7 +18,7 @@ export default function Page() {

Request Access

- Please email placeholder@gov.bc.ca to request + Please email michael.tessier@gov.bc.ca to request access to your organization's dashboard

{!userinfo && ( diff --git a/src/dashboard/src/components/charts/doughnut/allOrganizations/AllOrganizations.module.scss b/src/dashboard/src/components/charts/doughnut/allOrganizations/AllOrganizations.module.scss index 0e9ce169..1d0b1864 100644 --- a/src/dashboard/src/components/charts/doughnut/allOrganizations/AllOrganizations.module.scss +++ b/src/dashboard/src/components/charts/doughnut/allOrganizations/AllOrganizations.module.scss @@ -15,6 +15,11 @@ .chartContainer { display: flex; + width: 97%; + width: fill-available; + position: absolute; + top: 50%; + transform: translateY(-50%); } .info { diff --git a/src/dashboard/src/components/charts/line/LineChart.module.scss b/src/dashboard/src/components/charts/line/LineChart.module.scss index 8f43281f..f33f8e83 100644 --- a/src/dashboard/src/components/charts/line/LineChart.module.scss +++ b/src/dashboard/src/components/charts/line/LineChart.module.scss @@ -22,4 +22,10 @@ .chartContainer { min-height: 420px; } +} + +.disclaimer { + font-size: $font-size-12; + margin: 2px 0 -7px 5px; + color: $info-gray; } \ No newline at end of file diff --git a/src/dashboard/src/components/charts/line/LineChart.tsx b/src/dashboard/src/components/charts/line/LineChart.tsx index cc285533..8f25072f 100644 --- a/src/dashboard/src/components/charts/line/LineChart.tsx +++ b/src/dashboard/src/components/charts/line/LineChart.tsx @@ -53,6 +53,7 @@ export const LineChart = < {label &&

{label}

} {filter}
+

*Data shows totals on last available day of each month.

{showExport && (