-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HOSTSD-199 Add storage trends chart (#40)
- Loading branch information
Showing
47 changed files
with
746 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
import { | ||
AllOrgDonutChart, | ||
AllocationByStorageVolume, | ||
StorageTrendsChart, | ||
DonutChart, | ||
SmallBarChart, | ||
StorageTrendsChart, | ||
} from '@/components/charts'; | ||
|
||
export default function Page() { | ||
return ( | ||
<> | ||
{/* HSB Dashboard */} | ||
<AllOrgDonutChart /> | ||
<StorageTrendsChart large={false} /> | ||
<AllocationByStorageVolume /> | ||
<DonutChart /> | ||
<SmallBarChart title="Allocation by OS" /> | ||
{/* <LineChart large='true' /> */} | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,70 @@ | ||
@import '@/styles/utils.scss'; | ||
|
||
.btn { | ||
padding: 10px 16px; | ||
border-radius: 3px; | ||
font-size: 1em; | ||
font-weight: bold; | ||
border: 0; | ||
cursor: pointer; | ||
position: relative; | ||
padding: 10px 16px; | ||
border-radius: 3px; | ||
font-size: 1em; | ||
font-weight: bold; | ||
border: 0; | ||
cursor: pointer; | ||
position: relative; | ||
} | ||
|
||
.primary { | ||
background-color: $bc-blue; | ||
color: $white; | ||
background-color: $bc-blue; | ||
color: $white; | ||
|
||
&:hover { | ||
background-color: $chart-blue; | ||
} | ||
&:hover { | ||
background-color: $chart-blue; | ||
} | ||
} | ||
|
||
.secondary { | ||
background-color: $white; | ||
color: $bc-black; | ||
border: 1px solid $dark-gray; | ||
background-color: $white; | ||
color: $bc-black; | ||
border: 1px solid $dark-gray; | ||
|
||
&:hover { | ||
background-color: $light-gray; | ||
} | ||
&:hover { | ||
background-color: $light-gray; | ||
} | ||
} | ||
|
||
.disabled { | ||
background-color: $light-gray; | ||
color: $dark-gray; | ||
border: 1px solid $dark-gray; | ||
pointer-events: none; | ||
background-color: $light-gray; | ||
color: $dark-gray; | ||
border: 1px solid $dark-gray; | ||
pointer-events: none; | ||
|
||
&:hover { | ||
background-color: $light-gray; | ||
} | ||
&:hover { | ||
background-color: $light-gray; | ||
} | ||
|
||
.buttonIcon { | ||
opacity: 0.5; | ||
} | ||
.buttonIcon { | ||
opacity: 0.5; | ||
} | ||
} | ||
|
||
.buttonIcon { | ||
position: absolute; | ||
left: 16px; | ||
position: absolute; | ||
left: 16px; | ||
} | ||
|
||
.btnWithIcon { | ||
padding-left: 42px; | ||
padding-left: 42px; | ||
} | ||
|
||
.spinner { | ||
top: 0; | ||
right: 0; | ||
width: 22px; | ||
height: 22px; | ||
margin-top: calc(height / 2); | ||
margin-right: 17px; | ||
|
||
>div { | ||
width: 20px; | ||
height: 20px; | ||
border: 2px solid $bc-blue; | ||
border-color: $bc-blue transparent transparent transparent; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 0 additions & 28 deletions
28
src/dashboard/src/components/charts/storageTrends/generateData.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.