need colors finished

This commit is contained in:
Seth Trowbridge 2025-11-03 15:32:46 -05:00
parent 2ca31bb21d
commit 66f0d22970
4 changed files with 24 additions and 2 deletions

14
app.js
View File

@ -150,7 +150,19 @@ function Desks(inDesks)
const attributes = {};
attributes.class = scan.need_dirty.includes(index) ? Tag("PartDirty") : ""
if(latest)
{
attributes.class = Tag("PartGood")
}
else
{
attributes.class = caution ? Tag("PartCaution") : Tag("PartEmpty")
}
if(scan.need_dirty.includes(index))
{
attributes.class = Tag("PartDirty")
}
return DOM.td(
Div.Part(

View File

@ -35,6 +35,7 @@ export default CreateAllRooms({
pass_04:["April"],
pass_05:["May"],
pass_06:["June"],
pass_07:["July"],
}
})
});

View File

@ -0,0 +1,8 @@
{
"p1": [
[
1762201681431,
"underway"
]
]
}

View File

@ -24,7 +24,8 @@ export default Gale({
},
PartDirty:{
background:"tomato",
color:"white",
color:"black",
fontWeight:"bolder"
},
PartCaution:{
background:"yellow",