better truth table
This commit is contained in:
parent
a573835219
commit
cbcf559bac
21
app.js
21
app.js
@ -149,12 +149,7 @@ function Desks(inDesks)
|
||||
|
||||
const attributes = {};
|
||||
|
||||
attributes.class = latest ? Tag("PartGood") : Tag("PartEmpty");
|
||||
|
||||
if(scan.need_dirty.includes(index))
|
||||
{
|
||||
attributes.class = drawDirtyAsCaution ? Tag("PartCaution") : Tag("PartDirty");
|
||||
}
|
||||
attributes.class = scan.need_dirty.includes(index) ? Tag("PartDirty") : ""
|
||||
|
||||
return DOM.td(
|
||||
Div.Part(
|
||||
@ -190,17 +185,11 @@ function Desks(inDesks)
|
||||
}
|
||||
};
|
||||
|
||||
attributes.class = latest ? Tag("PartGood") : Tag("PartEmpty");
|
||||
if( (desk.need.length==0 && !latest) || scan.make_dirty.includes(index))
|
||||
{
|
||||
attributes.class = Tag("PartDirty")
|
||||
}
|
||||
|
||||
if(scan.make_dirty.includes(index))
|
||||
{
|
||||
attributes.class = drawDirtyAsCaution ? Tag("PartCaution") : Tag("PartDirty");
|
||||
}
|
||||
if(desk.need.length == 0 && !latest)
|
||||
{
|
||||
attributes.class = Tag("PartDirty");
|
||||
}
|
||||
|
||||
return DOM.td(
|
||||
Div.Part(
|
||||
attributes,
|
||||
|
||||
@ -32,6 +32,9 @@ export default CreateAllRooms({
|
||||
pass_01:["January"],
|
||||
pass_02:["February"],
|
||||
pass_03:["March"],
|
||||
pass_04:["April"],
|
||||
pass_05:["May"],
|
||||
pass_06:["June"],
|
||||
}
|
||||
})
|
||||
});
|
||||
@ -1,9 +0,0 @@
|
||||
{
|
||||
"p1":
|
||||
[
|
||||
[123, "data"],
|
||||
[456, "more data"],
|
||||
[789, "even more data"],
|
||||
[101112, "even more data"]
|
||||
]
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"p2":
|
||||
[
|
||||
[123, "data"],
|
||||
[456, "more data"],
|
||||
[789, "even more data"]
|
||||
]
|
||||
}
|
||||
14
mock-user-folder/store/room_01/pass_01/u4.json
Normal file
14
mock-user-folder/store/room_01/pass_01/u4.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"p1": [
|
||||
[
|
||||
1762196165935,
|
||||
"normal title"
|
||||
]
|
||||
],
|
||||
"p2": [
|
||||
[
|
||||
1762196173135,
|
||||
"normal slug"
|
||||
]
|
||||
]
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"p2": [
|
||||
[
|
||||
1762186044460,
|
||||
"le-slug"
|
||||
]
|
||||
]
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"p4": [
|
||||
[
|
||||
1762193485093,
|
||||
"proj01"
|
||||
"Make made Late"
|
||||
]
|
||||
]
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"p1": [
|
||||
[
|
||||
1762186057868,
|
||||
"new post"
|
||||
"Need made Early"
|
||||
]
|
||||
]
|
||||
}
|
||||
14
mock-user-folder/store/room_01/pass_03/u4.json
Normal file
14
mock-user-folder/store/room_01/pass_03/u4.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"p4": [
|
||||
[
|
||||
1762196034794,
|
||||
"Make made Early"
|
||||
]
|
||||
],
|
||||
"p1": [
|
||||
[
|
||||
1762196047017,
|
||||
"Need made Late"
|
||||
]
|
||||
]
|
||||
}
|
||||
14
mock-user-folder/store/room_01/pass_04/u1.json
Normal file
14
mock-user-folder/store/room_01/pass_04/u1.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"p3": [
|
||||
[
|
||||
1762196236384,
|
||||
"complete 3"
|
||||
]
|
||||
],
|
||||
"p4": [
|
||||
[
|
||||
1762196245327,
|
||||
"complete 4"
|
||||
]
|
||||
]
|
||||
}
|
||||
14
mock-user-folder/store/room_01/pass_04/u5.json
Normal file
14
mock-user-folder/store/room_01/pass_04/u5.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"p1": [
|
||||
[
|
||||
1762196209704,
|
||||
"complete 1"
|
||||
]
|
||||
],
|
||||
"p2": [
|
||||
[
|
||||
1762196217319,
|
||||
"complete 2"
|
||||
]
|
||||
]
|
||||
}
|
||||
18
mock-user-folder/store/room_01/pass_05/u1.json
Normal file
18
mock-user-folder/store/room_01/pass_05/u1.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"p3": [
|
||||
[
|
||||
1762196341950,
|
||||
"complete 3"
|
||||
]
|
||||
],
|
||||
"p4": [
|
||||
[
|
||||
1762196348950,
|
||||
"complete 4"
|
||||
],
|
||||
[
|
||||
1762196393702,
|
||||
"complete Later"
|
||||
]
|
||||
]
|
||||
}
|
||||
18
mock-user-folder/store/room_01/pass_05/u5.json
Normal file
18
mock-user-folder/store/room_01/pass_05/u5.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"p1": [
|
||||
[
|
||||
1762196328127,
|
||||
"complete 1"
|
||||
]
|
||||
],
|
||||
"p2": [
|
||||
[
|
||||
1762196335342,
|
||||
"complete 2"
|
||||
],
|
||||
[
|
||||
1762196363079,
|
||||
"complete Late"
|
||||
]
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user