gibalhin ra nako

This commit is contained in:
Pongot, Jophiel 2024-01-10 06:48:38 +08:00
parent f208582444
commit 2412f26809

View file

@ -65,16 +65,27 @@ export default function EquipmentTallyPage() {
width: "100%",
minHeight: "100%",
minWidth: "100%",
marginTop: "6rem"
marginTop: "6rem",
}}
>
<div style={{ alignSelf: "flex-start", paddingLeft: "32px" }}></div>
<TableContainer
style={{ width: "90%", overflowY: "scroll", marginTop: "2rem" }}
component={Paper}
>
<div
style={{
display: "flex",
flexDirection: "row",
}}
>
<div
style={{ display: "flex", flexDirection: "row", alignSelf: "flex-start", marginLeft: " 5rem"}}
>
<div style={{
style={{
...styles.flex_row,
...{ alignItems: "center", justifySelf: "flex-start" },
}}>
}}
>
<SearchIcon
style={{
height: 32,
@ -91,7 +102,9 @@ export default function EquipmentTallyPage() {
width: "256x",
bgcolor: "background.paper",
color: (theme) =>
theme.palette.getContrastText(theme.palette.background.paper),
theme.palette.getContrastText(
theme.palette.background.paper
),
},
}}
value={filter}
@ -138,13 +151,9 @@ export default function EquipmentTallyPage() {
</p>
</div>
</div>
<div style={{ alignSelf: "flex-start", paddingLeft: "32px" }}></div>
<TableContainer
style={{ width: "90%", overflowY: "scroll", marginTop: "2rem" }}
component={Paper}
>
<Table sx={{ minWidth: "32rem" }} size="medium">
<TableHead>
<TableRow></TableRow>
<TableRow style={{ backgroundColor: colors.header_color }}>
<TableCell align="center" style={styles.text_light}>
ID
@ -229,7 +238,13 @@ export default function EquipmentTallyPage() {
).length
}
</p>
<p style={{ ...styles.text_dark, ...styles.text_S, color: colors.red }}>
<p
style={{
...styles.text_dark,
...styles.text_S,
color: colors.red,
}}
>
Broken: {"\n"}
{
equipment_instances.data?.filter(
@ -240,7 +255,13 @@ export default function EquipmentTallyPage() {
).length
}
</p>
<div style={{ borderTop: "1px solid #000", minWidth: "40%", alignSelf: "center" }}>
<div
style={{
borderTop: "1px solid #000",
minWidth: "40%",
alignSelf: "center",
}}
>
<p
style={{ ...styles.text_dark, ...styles.text_s }}
>