need colors finished
This commit is contained in:
parent
2ca31bb21d
commit
66f0d22970
14
app.js
14
app.js
@ -150,7 +150,19 @@ function Desks(inDesks)
|
|||||||
|
|
||||||
const attributes = {};
|
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(
|
return DOM.td(
|
||||||
Div.Part(
|
Div.Part(
|
||||||
|
|||||||
@ -35,6 +35,7 @@ export default CreateAllRooms({
|
|||||||
pass_04:["April"],
|
pass_04:["April"],
|
||||||
pass_05:["May"],
|
pass_05:["May"],
|
||||||
pass_06:["June"],
|
pass_06:["June"],
|
||||||
|
pass_07:["July"],
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
8
mock-user-folder/store/room_01/pass_07/u5.json
Normal file
8
mock-user-folder/store/room_01/pass_07/u5.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"p1": [
|
||||||
|
[
|
||||||
|
1762201681431,
|
||||||
|
"underway"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user