This commit is contained in:
parent
328633a4b3
commit
bb26619858
@ -12,12 +12,12 @@ class Result extends Model
|
|||||||
'disqualified' => ['type' => 'bool','default'=>0],
|
'disqualified' => ['type' => 'bool','default'=>0],
|
||||||
'refusals' => ['type' => 'int','default'=>0],
|
'refusals' => ['type' => 'int','default'=>0],
|
||||||
'errors' => ['type' => 'int','default'=>0],
|
'errors' => ['type' => 'int','default'=>0],
|
||||||
'timefaults' => ['type' => 'int','default'=>0],
|
'timefaults' => ['type' => 'float','default'=>0],
|
||||||
'runtime' => ['type' => 'int','default'=>0],
|
'runtime' => ['type' => 'float','default'=>0],
|
||||||
'penalties' => ['type' => 'int','default'=>0],
|
'penalties' => ['type' => 'float','default'=>0],
|
||||||
'rating' => ['type' => 'text'],
|
'rating' => ['type' => 'text'],
|
||||||
'points' => ['type' => 'int','default'=>0],
|
'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],
|
'ranking' => ['type' => 'int','default'=>0],
|
||||||
'photos' => ['type' => 'array','default'=>[]],
|
'photos' => ['type' => 'array','default'=>[]],
|
||||||
'videos' => ['type' => 'array','default'=>[]],
|
'videos' => ['type' => 'array','default'=>[]],
|
||||||
|
@ -56,19 +56,19 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="time_faults">Zeitfehler</label>
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<label for="time">Zeit</label>
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<label for="penalties">Gesamtfehler</label>
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<label for="time_speed">m/Sek</label>
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<label for="bewertung">Bewertung</label>
|
<label for="bewertung">Bewertung</label>
|
||||||
|
Reference in New Issue
Block a user