Skip to content

Commit

Permalink
updating request access email and storage trends disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
wkaspryk committed Mar 12, 2024
1 parent 5b466e7 commit 21ed61c
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/dashboard/src/app/hsb/admin/users/AddNewUserRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const AddNewUserRow = ({
}: IAddNewUserRowProps) => {
return (
<div className={styles.addNewRow}>
<Button variant="secondary" onClick={onRemove}>- Remove</Button>
<Button variant="secondary" onClick={onRemove}></Button>
<div>
<Text
name={`${index}.username`}
Expand Down
24 changes: 19 additions & 5 deletions src/dashboard/src/app/hsb/admin/users/Users.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,27 @@
position: absolute;
top: 0;
left: 0;
font-size: $font-size-small;
padding: 5px 8px;
padding: 0;
display: none;
height: 20px;
width: 20px;
background-color: transparent;
border: 0;

&::after, &::before {
content: '';
height: 12px;
width: 2px;
background-color: $bc-black;
display: block;
position: absolute;
top: 3px;
left: 8px;
transform: rotate(45deg);
}

&:hover {
background-color: $bc-red;
color: $white;
&::before {
transform: rotate(-45deg);
}
}
}
2 changes: 1 addition & 1 deletion src/dashboard/src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function Page() {
<div>
<h3>Need access to the Storage Dashboard?</h3>
<p>
Please email <a href="mailto:placeholder@gov.bc.ca">placeholder@gov.bc.ca</a> to request
Please email <a href="michael.tessier@gov.bc.ca">michael.tessier@gov.bc.ca</a> to request
access to your organization&apos;s dashboard.
</p>
<h3>If you are a first time user please note:</h3>
Expand Down
2 changes: 1 addition & 1 deletion src/dashboard/src/app/welcome/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function Page() {
<div className={styles.welcome}>
<h2>Request Access</h2>
<p>
Please email <a href="mailto:placeholder@gov.bc.ca">placeholder@gov.bc.ca</a> to request
Please email <a href="michael.tessier@gov.bc.ca">michael.tessier@gov.bc.ca</a> to request
access to your organization&apos;s dashboard
</p>
{!userinfo && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@

.chartContainer {
display: flex;
width: 97%;
width: fill-available;
position: absolute;
top: 50%;
transform: translateY(-50%);
}

.info {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@
.chartContainer {
min-height: 420px;
}
}

.disclaimer {
font-size: $font-size-12;
margin: 2px 0 -7px 5px;
color: $info-gray;
}
1 change: 1 addition & 0 deletions src/dashboard/src/components/charts/line/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const LineChart = <
{label && <h1>{label}</h1>}
{filter}
<div className={styles.chartContainer}>
<p className={styles.disclaimer}>*Data shows totals on last available day of each month.</p>
<Line data={data} options={{ ...options, maintainAspectRatio: !large }} />
</div>
{showExport && (
Expand Down

0 comments on commit 21ed61c

Please sign in to comment.