feat: prettier index view
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
282c3bbc0e
commit
95e9ae41ef
1 changed files with 5 additions and 5 deletions
|
@ -14,12 +14,12 @@
|
|||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>User</th>
|
||||
<th style="min-width:120px">RFID ID</th>
|
||||
<th class="sticky-top">User</th>
|
||||
<th style="min-width:120px" class="sticky-top">RFID ID</th>
|
||||
{{range .Machines}}
|
||||
<th style="writing-mode:vertical-rl">{{.Name}}</th>
|
||||
<th style="writing-mode:vertical-rl" class="sticky-top">{{.Name}}</th>
|
||||
{{end}}
|
||||
<th></th>
|
||||
<th class="sticky-top"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<td><input type="text" class="form-control" value="{{.Nick}}" name="nick"></td>
|
||||
<td>{{.ID}}</td>
|
||||
{{range $.Machines}}
|
||||
<td><input type="checkbox" class="form-check-input" name="machine[{{.ID}}]" value="1" {{if IsAllowed $token .ID}}checked{{end}}/></td>
|
||||
<td><input type="checkbox" class="form-check-input" name="machine[{{.ID}}]" value="1" {{if IsAllowed $token .ID}}checked{{end}} title="{{.Name}}"/></td>
|
||||
{{end}}
|
||||
<td><input type="submit" class="btn btn-sm btn-success" value="Speichern" /><a href="/tokens/{{.ID}}/delete" class="btn btn-sm btn-danger">Löschen</a></td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in a new issue