Add tournament director field

This commit is contained in:
Claude Brisson
2024-03-10 14:31:59 +01:00
parent 4275877fb4
commit a3e3bfac62
5 changed files with 24 additions and 10 deletions

View File

@@ -32,6 +32,7 @@ Crit Crit
Ctr Pays
Dates Dates
Delete Supprimer
Director Directeur
Download Télécharger
Download the standalone web interface module which suits your need, then follow Télécharger le module dinterface web qui correspond à vos besoins, puis suivez
Edit Éditer

View File

@@ -160,6 +160,7 @@ onLoad(() => {
shortName: form.val('shortName'),
startDate: parseDate(form.val('startDate')),
endDate: parseDate(form.val('endDate')),
director: form.val('director'),
type: form.val('type'),
rounds: form.val('rounds'),
country: form.val('country'),

View File

@@ -14,16 +14,21 @@
</div>
</div>
<div class="fields">
<div class="ten wide field">
<div class="eight wide field">
<label>Dates</label>
<span id="date-range">
from
from
<span class="info"></span>
<input type="text" name="startDate" required class="date" placeholder="start date" #if($tour) value="$tour.startDate" #end/>
to
<span class="info"></span>
<input type="text" name="endDate" required class="date" placeholder="end date" #if($tour) value="$tour.endDate" #end/>
</span>
</div>
<div class="eight wide field">
<label>Director</label>
<span class="info"></span>
<input type="text" name="startDate" required class="date" placeholder="start date" #if($tour) value="$tour.startDate" #end/>
to
<span class="info"></span>
<input type="text" name="endDate" required class="date" placeholder="end date" #if($tour) value="$tour.endDate" #end/>
</span>
<input type="text" name="director" placeholder="Tournament director" value="$!tour.director"/>
</div>
</div>
<div class="two stackable fields">