mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-24 09:25:53 +02:00
Shitty colors.
This commit is contained in:
parent
8f67580822
commit
b88f75c6fe
|
@ -104,6 +104,17 @@ function itemToDOM(item) {
|
|||
});
|
||||
}
|
||||
let row = dom("tr", "");
|
||||
switch(item.store) {
|
||||
case "billa":
|
||||
row.style["background"] = "#ffffbf";
|
||||
break;
|
||||
case "spar":
|
||||
row.style["background"] = "#c5f0c5";
|
||||
break;
|
||||
case "hofer":
|
||||
row.style["background"] = "#d5d5ff";
|
||||
break;
|
||||
}
|
||||
row.appendChild(storeDom);
|
||||
row.appendChild(nameDom);
|
||||
row.appendChild(unitDom);
|
||||
|
|
Loading…
Reference in New Issue
Block a user