form control for inputs added
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
parent
bb26619858
commit
7e16ddfa1f
@ -6,33 +6,33 @@
|
|||||||
<input type="hidden" name="tournament_id" value="<?= $tournament_id; ?>">
|
<input type="hidden" name="tournament_id" value="<?= $tournament_id; ?>">
|
||||||
<input type="hidden" name="run_id" value="<?= $run_id; ?>">
|
<input type="hidden" name="run_id" value="<?= $run_id; ?>">
|
||||||
<h2>Parcourdetails</h2>
|
<h2>Parcourdetails</h2>
|
||||||
<div>
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="name">Bezeichnung</label>
|
<label for="name">Bezeichnung</label>
|
||||||
<input type="text" value="<?= $run['name']; ?>" id="name" name="name" placeholder="zb: Oldies Jumping" required>
|
<input type="text" value="<?= $run['name']; ?>" id="name" name="name" class="form-control" placeholder="zb: Oldies Jumping" required>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="category">Parcourtyp</label>
|
<label for="category">Parcourtyp</label>
|
||||||
<select id="category" name="category" >
|
<select id="category" name="category" class="form-control">
|
||||||
<option value="Agility" <?= $run['category']=='Agility'?'selected':''; ?>>Agility</option>
|
<option value="Agility" <?= $run['category']=='Agility'?'selected':''; ?>>Agility</option>
|
||||||
<option value="Jumping" <?= $run['category']=='Jumping'?'selected':''; ?>>Jumping</option>
|
<option value="Jumping" <?= $run['category']=='Jumping'?'selected':''; ?>>Jumping</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="length">Parcourlänge (in m)</label>
|
<label for="length">Parcourlänge (in m)</label>
|
||||||
<input type="number" min="1" max="1000" value="<?= $run['length']; ?>" id="length" name="length" placeholder="Max">
|
<input type="number" min="1" max="1000" value="<?= $run['length']; ?>" id="length" name="length" class="form-control" placeholder="180">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="time_standard">Normzeit</label>
|
<label for="time_standard">Normzeit</label>
|
||||||
<input type="number" value="<?= $run['time_standard']?:0; ?>" id="time_standard" name="time_standard" placeholder="Zuchtname">
|
<input type="number" value="<?= $run['time_standard']?:0; ?>" id="time_standard" name="time_standard" class="form-control" placeholder="50.000">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="time_max">Maxzeit</label>
|
<label for="time_max">Maxzeit</label>
|
||||||
<input type="number" value="<?= $run['time_max']?:0; ?>" id="time_max" name="time_max" placeholder="Flowbite">
|
<input type="number" value="<?= $run['time_max']?:0; ?>" id="time_max" name="time_max" class="form-control" placeholder="100.000">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3 mb-md-4">
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="referee">Richter</label>
|
<label for="referee">Richter</label>
|
||||||
<input type="text" value="<?= $run['referee']; ?>" id="referee" name="referee" placeholder="Franz Ferdinand" class="form-control">
|
<input type="text" value="<?= $run['referee']; ?>" id="referee" name="referee" class="form-control" placeholder="Franz Ferdinand" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" name="submit" value="true" class="btn btn-primary">Speichern</button>
|
<button type="submit" name="submit" value="true" class="btn btn-primary">Speichern</button>
|
||||||
<button type="submit" name="submit" value="forward" class="btn btn-primary">Speichern und Ergebnisse eintragen</button>
|
<button type="submit" name="submit" value="forward" class="btn btn-primary">Speichern und Ergebnisse eintragen</button>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div class="mb-3 mb-md-4">
|
<div class="mb-3 mb-md-4">
|
||||||
<label for="tournament_duration">Dauer der Veranstaltung in Tagen</label>
|
<label for="tournament_duration">Dauer der Veranstaltung in Tagen</label>
|
||||||
<input type="number" min="1" max="7" value="<?= $tournamentdata['duration']; ?>" id="tournament_duration" name="tournament_duration" placeholder="1" class="form-control">
|
<input type="number" min="1" max="7" value="<?= $tournamentdata['duration']; ?>" id="tournament_duration" name="tournament_duration" value="1" class="form-control">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-3 mb-md-4">
|
<div class="mb-3 mb-md-4">
|
||||||
|
Reference in New Issue
Block a user