streamlined breadcrumbs
All checks were successful
Build and push / Pulling repo on server (push) Successful in 12s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 12s
This commit is contained in:
parent
9bded6133e
commit
af05f1d520
@ -1,43 +1,49 @@
|
|||||||
<nav aria-label="breadcrumb">
|
<div class="container">
|
||||||
|
<nav aria-label="breadcrumb">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item">
|
<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">
|
<a href="/tournaments/event/<?= $tournament_id; ?>" hx-push-url="/tournaments/event/<?= $tournament_id; ?>" hx-get="/tournaments/event/<?= $tournament_id; ?>" hx-target="#main">
|
||||||
<i class="fas fa-calendar-star"></i> <?= escape($tournament['name']); ?>
|
<i class="fas fa-calendar-star"></i>
|
||||||
|
<?= escape($tournament['name']); ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="breadcrumb-item">
|
<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">
|
<a href="/runs/overview/<?= $run_id; ?>" hx-push-url="/runs/overview/<?= $run_id; ?>" hx-get="/runs/overview/<?= $run_id; ?>" hx-target="#main">
|
||||||
<i class="far fa-running"></i> <?= escape($run['name']); ?>
|
<i class="far fa-running"></i>
|
||||||
|
<?= escape($run['name']); ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="breadcrumb-item active" aria-current="page">
|
<li class="breadcrumb-item active" aria-current="page">
|
||||||
<i class="fas fa-edit"></i> <?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
<i class="fas fa-edit"></i>
|
||||||
|
<?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
<h2>Ergebnis
|
<h2>Ergebnis
|
||||||
<?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
<?= $result_id?'Bearbeiten':'Eintragen'; ?>
|
||||||
</h2>
|
</h2>
|
||||||
<form hx-post="/runs/validateresults" hx-encoding='multipart/form-data' hx-target="#response">
|
<form hx-post="/runs/validateresults" hx-encoding='multipart/form-data' hx-target="#response">
|
||||||
<input type="hidden" name="result_id" value="<?= $result_id; ?>">
|
<input type="hidden" name="result_id" value="<?= $result_id; ?>">
|
||||||
<input type="hidden" name="run_id" value="<?= $run_id; ?>">
|
<input type="hidden" name="run_id" value="<?= $run_id; ?>">
|
||||||
<div>
|
<div>
|
||||||
<label for="dog">Hund</label>
|
<label for="dog">Hund</label>
|
||||||
<select id="dog" name="dog">
|
<select id="dog" name="dog">
|
||||||
<option value="false" <?= !$result['dog']?'selected':''; ?>>-- Bitte auswählen --</option>
|
<option value="false" <?=!$result['dog']?'selected':''; ?>>-- Bitte auswählen --</option>
|
||||||
<?php foreach($_SESSION['user']->data['dogs'] as $dogid) : ?>
|
<?php foreach($_SESSION['user']->data['dogs'] as $dogid) : ?>
|
||||||
<?php
|
<?php
|
||||||
$dog = new Dog();
|
$dog = new Dog();
|
||||||
$dog->load($dogid);
|
$dog->load($dogid);
|
||||||
$dd = $dog->data;
|
$dd = $dog->data;
|
||||||
?>
|
?>
|
||||||
<option value="<?= $dogid ?>" <?=$result['dog']==$dogid ?'selected':''; ?>><?= escape($dd['name']); ?></option>
|
<option value="<?= $dogid ?>" <?=$result['dog']==$dogid ?'selected':''; ?>>
|
||||||
|
<?= escape($dd['name']); ?>
|
||||||
|
</option>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-check form-switch">
|
<div class="form-check form-switch">
|
||||||
<label class="form-check-label" for="disqualified">Disqualifiziert</label>
|
<label class="form-check-label" for="disqualified">Disqualifiziert</label>
|
||||||
<input class="form-check-input" type="checkbox" id="disqualified" name="disqualified" value="1" <?= $result['disqualified']=='1'?'checked':''; ?>>
|
<input class="form-check-input" type="checkbox" id="disqualified" name="disqualified" value="1" <?=$result['disqualified']=='1' ?'checked':''; ?>>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="refusals">Verweigeresultgen</label>
|
<label for="refusals">Verweigeresultgen</label>
|
||||||
@ -94,9 +100,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-check form-switch">
|
<div class="form-check form-switch">
|
||||||
<label class="form-check-label" for="public">Daten im Lauf veröffentlichen</label>
|
<label class="form-check-label" for="public">Daten im Lauf veröffentlichen</label>
|
||||||
<input class="form-check-input" type="checkbox" id="public" name="public" value="1" <?= $result['public']!='0'?'checked':''; ?>>
|
<input class="form-check-input" type="checkbox" id="public" name="public" value="1" <?=$result['public']!='0' ?'checked':''; ?>>
|
||||||
</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>
|
||||||
|
|
||||||
<div id="response"></div>
|
<div id="response"></div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
@ -1,8 +1,13 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<nav aria-label="breadcrumb">
|
<nav aria-label="breadcrumb">
|
||||||
<ol class="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">
|
||||||
<li class="breadcrumb-item active" aria-current="page"><?= escape($run['name']); ?></li>
|
<i class="fas fa-calendar-star"></i>
|
||||||
|
<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 active" aria-current="page">
|
||||||
|
<i class="far fa-running"></i> <?= escape($run['name']); ?>
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
Reference in New Issue
Block a user