Added grid to smaller view

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2022-05-03 12:56:28 +02:00
parent a1617aa988
commit 996354edc6

View file

@ -80,6 +80,11 @@
$y -= 45;
}
}
for ($i = 45; $i < 450; $i += 45)
{
echo '<line x1="' . $i . '" y1="0" x2="' . $i . '" y2="450" style="stroke:rgb(0,255,0); stroke-width:1" />';
echo '<line x1="0" y1="' . $i . '" x2="450" y2="' . $i . '" style="stroke:rgb(0,255,0); stroke-width:1" />';
}
echo '</svg>';
$stmt = $con->prepare("SELECT status.name AS status, COUNT(*) AS sCount, status.color AS color FROM secondLevel JOIN status ON secondLevel.status_id = status.id WHERE secondLevel.parent_id = (SELECT id FROM topLevel WHERE name = ?) GROUP BY status.id ORDER BY priority");
$stmt->bind_param("s", $tile);