2023-10-31 11:26:54 +01:00
|
|
|
<nav aria-label="breadcrumb">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li class="breadcrumb-item">
|
|
|
|
<a href="/tournaments/event/<?= $tournament_id; ?>" hx-push-url="/tournaments/event/<?= $tournament_id; ?>" hx-get="/tournaments/event/<?= $tournament_id; ?>" hx-target="#main">
|
|
|
|
<?= escape($tournament['name']); ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="breadcrumb-item">
|
|
|
|
<a href="/runs/overview/<?= $run_id; ?>" hx-push-url="/runs/overview/<?= $run_id; ?>" hx-get="/runs/overview/<?= $run_id; ?>" hx-target="#main">
|
|
|
|
<?= escape($run['name']); ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="breadcrumb-item active" aria-current="page">
|
|
|
|
<?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
<h2>Ergebnis
|
|
|
|
<?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
|
|
|
</h2>
|
|
|
|
<form>
|
|
|
|
<input type="hidden" name="run_id" value="<?= $run_id; ?>">
|
2023-10-26 17:42:33 +02:00
|
|
|
<div>
|
|
|
|
<label for="eliminated" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Disqualifiziert</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['eliminated']; ?>" id="eliminated" name="eliminated" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-10-31 11:26:54 +01:00
|
|
|
<label for="refusals" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Verweigeresultgen</label>
|
|
|
|
<input type="number" value="<?= $result['refusals']; ?>" id="refusals" name="refusals" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="faults" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Fehler</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['faults']; ?>" id="faults" name="faults" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="time_faults" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Zeitfehler</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['time_faults']; ?>" id="time_faults" name="time_faults" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="time" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Zeit</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['time']; ?>" id="time" name="time" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="penalties" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Gesamtfehler</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['penalties']; ?>" id="penalties" name="penalties" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="time_speed" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">m/Sek</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['time_speed']; ?>" id="time_speed" name="time_speed" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-10-31 11:26:54 +01:00
|
|
|
<label for="bewertung" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Bewertung</label>
|
|
|
|
<select id="bewertung" name="bewertung" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
|
|
|
|
<option value="V" <?=$result['bewertung']=='V' ?'selected':''; ?>>V</option>
|
|
|
|
<option value="SG" <?=$result['bewertung']=='SG' ?'selected':''; ?>>SG</option>
|
|
|
|
<option value="G" <?=$result['bewertung']=='G' ?'selected':''; ?>>G</option>
|
|
|
|
<option Galue="B" <?=$result['bewertung']=='B' ?'selected':''; ?>>B</option>
|
|
|
|
</select>
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="points" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Punkte</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['points']; ?>" id="points" name="points" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="rank" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Platz</label>
|
2023-10-31 11:26:54 +01:00
|
|
|
<input type="number" value="<?= $result['rank']; ?>" id="rank" name="rank" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Flowbite">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-10-31 11:26:54 +01:00
|
|
|
<label for="uploads" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Uploads</label>
|
|
|
|
<input type="file" accept="image/png, image/jpeg, image/gif" id="uploads" name="uploads">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-10-31 11:26:54 +01:00
|
|
|
<label for="video-url" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Video Url</label>
|
|
|
|
<input type="text" value="<?= $result['video-url']; ?>" class="form-control" id="video-url" aria-describedby="basic-addon3">
|
2023-10-26 17:42:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2023-10-31 11:26:54 +01:00
|
|
|
<label for="memo" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Memo</label>
|
|
|
|
<textarea value="<?= $result['memo']; ?>" id="memo" name="memo" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Deine Gedankengänge"></textarea>
|
|
|
|
</div>
|
|
|
|
<button type="submit" name="submit" value="true" class="btn btn-primary">Speichern</button>
|
|
|
|
</form>
|