mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
add section icons; fix 'All All' on entity-list
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
"@fullcalendar/interaction": "5.10.0",
|
"@fullcalendar/interaction": "5.10.0",
|
||||||
"@fullcalendar/react": "5.10.0",
|
"@fullcalendar/react": "5.10.0",
|
||||||
"@fullcalendar/timegrid": "5.10.0",
|
"@fullcalendar/timegrid": "5.10.0",
|
||||||
"@kingsrook/qqq-frontend-core": "1.0.25",
|
"@kingsrook/qqq-frontend-core": "1.0.27",
|
||||||
"@mui/icons-material": "5.4.1",
|
"@mui/icons-material": "5.4.1",
|
||||||
"@mui/material": "5.4.1",
|
"@mui/material": "5.4.1",
|
||||||
"@mui/styled-engine": "5.4.1",
|
"@mui/styled-engine": "5.4.1",
|
||||||
|
BIN
public/integration-logos/deposco.png
Normal file
BIN
public/integration-logos/deposco.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
public/integration-logos/easypost.png
Normal file
BIN
public/integration-logos/easypost.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
public/integration-logos/infoplus.png
Normal file
BIN
public/integration-logos/infoplus.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
public/integration-logos/shipstation.png
Normal file
BIN
public/integration-logos/shipstation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
@ -25,7 +25,7 @@ import {QProcessMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/
|
|||||||
import {QReportMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QReportMetaData";
|
import {QReportMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QReportMetaData";
|
||||||
import {QTableMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QTableMetaData";
|
import {QTableMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QTableMetaData";
|
||||||
import {QWidgetMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QWidgetMetaData";
|
import {QWidgetMetaData} from "@kingsrook/qqq-frontend-core/lib/model/metaData/QWidgetMetaData";
|
||||||
import {Icon} from "@mui/material";
|
import {Box, Icon, Typography} from "@mui/material";
|
||||||
import Card from "@mui/material/Card";
|
import Card from "@mui/material/Card";
|
||||||
import Divider from "@mui/material/Divider";
|
import Divider from "@mui/material/Divider";
|
||||||
import Grid from "@mui/material/Grid";
|
import Grid from "@mui/material/Grid";
|
||||||
@ -187,9 +187,17 @@ function AppHome({app}: Props): JSX.Element
|
|||||||
{app.sections.map((section) => (
|
{app.sections.map((section) => (
|
||||||
<MDBox key={section.name} mb={3}>
|
<MDBox key={section.name} mb={3}>
|
||||||
<Card sx={{overflow: "visible"}}>
|
<Card sx={{overflow: "visible"}}>
|
||||||
<MDBox p={3}>
|
<Box p={3} display="flex" alignItems="center" gap=".5rem">
|
||||||
<MDTypography variant="h5">{section.label}</MDTypography>
|
{
|
||||||
</MDBox>
|
section.icon &&
|
||||||
|
(
|
||||||
|
section.icon.path && <img src={section.icon.path} alt={section.label} />
|
||||||
|
)
|
||||||
|
}
|
||||||
|
<Typography variant="h5">
|
||||||
|
{section.label}
|
||||||
|
</Typography>
|
||||||
|
</Box>
|
||||||
{
|
{
|
||||||
section.processes ? (
|
section.processes ? (
|
||||||
<MDBox p={3} pl={5} pt={0}>
|
<MDBox p={3} pl={5} pt={0}>
|
||||||
|
@ -1113,7 +1113,7 @@ function EntityList({table, launchProcess}: Props): JSX.Element
|
|||||||
selectFullFilterState === "filter" && (
|
selectFullFilterState === "filter" && (
|
||||||
<div className="selectionTool">
|
<div className="selectionTool">
|
||||||
All
|
All
|
||||||
<strong>{` ${totalRecords ? totalRecords.toLocaleString() : "All"} `}</strong>
|
<strong>{` ${totalRecords ? totalRecords.toLocaleString() : ""} `}</strong>
|
||||||
records matching this query are selected.
|
records matching this query are selected.
|
||||||
<Button onClick={() => setSelectFullFilterState("checked")}>
|
<Button onClick={() => setSelectFullFilterState("checked")}>
|
||||||
Select the
|
Select the
|
||||||
|
Reference in New Issue
Block a user