fix for ylvie
All checks were successful
Build and push / Pulling repo on server (push) Successful in 2s

This commit is contained in:
Chris 2023-11-29 13:55:28 +01:00
parent 153e5d6305
commit 3b7df5e29d

View File

@ -8,14 +8,15 @@
<?php foreach ($dogs as $dog) :
$dogid=preg_replace("/[^A-Za-z0-9]/", '', $dog);
$results = $results_dogs[$dog];
$sdata = [];
?>
<h1 id="<?= $dog; ?>"><?= $dog; ?></h1>
<h1 id="<?= $dogid; ?>"><?= $dog; ?></h1>
<button onClick="getElementById('table_<?= $dog ?>').style.display='table'">Tabelle anzeigen</button>
<table id="table_<?= $dog ?>" class="table" style="display:none">
<button onClick="getElementById('table_<?= $dogid ?>').style.display='table'">Tabelle anzeigen</button>
<table id="table_<?= $dogid ?>" class="table" style="display:none">
<tr>
<th>event</th>
<th>Wann wars</th>
@ -74,7 +75,7 @@
<?php if (count($results) > 0) : ?>
<div class="col">
<?= partial('graph.html.php', [
'id' => 'graph1'.$dog,
'id' => 'graph1'.$dogid,
'title' => 'Fehler und Verweigerungen',
'xaxis' => $sdata['dates'],
'seriesdata' => [
@ -87,7 +88,7 @@
<div class="col">
<?= partial('graph.html.php', [
'id' => 'graph2'.$dog,
'id' => 'graph2'.$dogid,
'title' => 'Geschwindigkeit',
'xaxis' => $sdata['dates'],
'seriesdata' => [
@ -99,7 +100,7 @@
<div class="col">
<?= partial('graph.html.php', [
'id' => 'graph3'.$dog,
'id' => 'graph3'.$dogid,
'title' => 'Platzierung',
'xaxis' => $sdata['dates'],
'seriesdata' => [