Add migration fixes
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<tr>
|
||||
<th>Person</th>
|
||||
<th>Datum</th>
|
||||
<th>Gewaschen?</th>
|
||||
<th>Waschperson</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -26,15 +25,18 @@
|
||||
<tr>
|
||||
<td>{{$item.Person}}</td>
|
||||
<td>{{$item.Date}}</td>
|
||||
<td>{{$item.Washed}}</td>
|
||||
<td>
|
||||
<div class="center">
|
||||
<form class="ui form" action="/uploadname" method="POST">
|
||||
<input type="hidden" id="washid" name="washid" value="{{ $item.Id}}">
|
||||
<select name="names" id="names">
|
||||
<option value="-1" selected></option>
|
||||
<!--<option value="-1" selected disabled hidden>Choose here</option>-->
|
||||
{{range $person := $persons}}
|
||||
<option value="{{$person.Id}}">{{$person.Name}}</option>
|
||||
{{if eq $item.Washed $person.Id}}
|
||||
<option value="{{$person.Id}}" selected>{{$person.Name}}</option>
|
||||
{{else}}
|
||||
<option value="{{$person.Id}}">{{$person.Name}}</option>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</select>
|
||||
<input type="submit" value="Speichern">
|
||||
|
@@ -1,10 +1,9 @@
|
||||
{{define "navbar"}}
|
||||
<div class="ui inverted menu">
|
||||
<a href="/"><div class="header item">Trikotwaschliste</div></a>
|
||||
<a href="/"><div class="header item">Personen</div></a>
|
||||
|
||||
<div class="right menu">
|
||||
<a href="/querypage/create"><div class="item">Query</div></a>
|
||||
<a href="/stats/interpret"><div class="item">Stats</div></a>
|
||||
<a href="/credits"><div class="item">Credits</div></a>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user