Added styling and basic filtering to incidents page

This commit is contained in:
Daniel Cojocea committed 2024-07-23 17:32:41 -04:00
1 parent 95e90b1d96
commit 49f9f1429a
6 files changed
+81 -24

No files matched your search

@@ -77,7 +77,6 @@
}
.MuiPaper-root + .MuiPagination-root {
flex: 1;
margin-top: 35px;
border: solid 1px var(--env-var-color-16);
border-radius: var(--env-var-radius-1);
@@ -282,19 +282,28 @@ const TeamPanel = () => {
level="secondary"
label="All"
onClick={() => setFilter("all")}
sx={{ backgroundColor: filter === "all" && "#f4f4f4" }}
sx={{
backgroundColor:
filter === "all" && theme.palette.otherColors.fillGray,
}}
/>
<Button
level="secondary"
label="Administrator"
onClick={() => setFilter("admin")}
sx={{ backgroundColor: filter === "admin" && "#f4f4f4" }}
sx={{
backgroundColor:
filter === "admin" && theme.palette.otherColors.fillGray,
}}
/>
<Button
level="secondary"
label="Member"
onClick={() => setFilter("user")}
sx={{ backgroundColor: filter === "user" && "#f4f4f4" }}
sx={{
backgroundColor:
filter === "user" && theme.palette.otherColors.fillGray,
}}
/>
</ButtonGroup>
</Stack>