floaaat
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
Chris 2023-11-02 15:29:43 +01:00
parent 328633a4b3
commit bb26619858
2 changed files with 8 additions and 8 deletions

View File

@ -12,12 +12,12 @@ class Result extends Model
'disqualified' => ['type' => 'bool','default'=>0],
'refusals' => ['type' => 'int','default'=>0],
'errors' => ['type' => 'int','default'=>0],
'timefaults' => ['type' => 'int','default'=>0],
'runtime' => ['type' => 'int','default'=>0],
'penalties' => ['type' => 'int','default'=>0],
'timefaults' => ['type' => 'float','default'=>0],
'runtime' => ['type' => 'float','default'=>0],
'penalties' => ['type' => 'float','default'=>0],
'rating' => ['type' => 'text'],
'points' => ['type' => 'int','default'=>0],
'speed' => ['type' => 'int','default'=>0], //in m/sec
'speed' => ['type' => 'float','default'=>0], //in m/sec
'ranking' => ['type' => 'int','default'=>0],
'photos' => ['type' => 'array','default'=>[]],
'videos' => ['type' => 'array','default'=>[]],

View File

@ -56,19 +56,19 @@
</div>
<div>
<label for="time_faults">Zeitfehler</label>
<input type="number" value="<?= $result['time_faults']; ?>" id="time_faults" name="time_faults" placeholder="Flowbite">
<input type="number" step="0.1" value="<?= $result['time_faults']; ?>" id="time_faults" name="time_faults" placeholder="Flowbite">
</div>
<div>
<label for="time">Zeit</label>
<input type="number" value="<?= $result['time']; ?>" id="time" name="time" placeholder="Flowbite">
<input type="number" step="0.1" value="<?= $result['time']; ?>" id="time" name="time" placeholder="Flowbite">
</div>
<div>
<label for="penalties">Gesamtfehler</label>
<input type="number" value="<?= $result['penalties']; ?>" id="penalties" name="penalties" placeholder="Flowbite">
<input type="number" step="0.1" value="<?= $result['penalties']; ?>" id="penalties" name="penalties" placeholder="Flowbite">
</div>
<div>
<label for="time_speed">m/Sek</label>
<input type="number" value="<?= $result['time_speed']; ?>" id="time_speed" name="time_speed" placeholder="Flowbite">
<input type="number" step="0.1" value="<?= $result['time_speed']; ?>" id="time_speed" name="time_speed" placeholder="Flowbite">
</div>
<div>
<label for="bewertung">Bewertung</label>