1{{template "layout.html" .}}
2{{define "title"}} {{.Title}} {{end}}
3{{define "content"}}
4<div class="columns">
5 <div class="column is-one-third">
6 <form action="/settings/", method="post">
7 <div class="field">
8 <div class="control">
9 <label class="checkbox">
10 <input type="checkbox" id="showMode" name="showMode" {{if .Data.Settings.ShowMode}}checked{{end}}>
11 Show File Modes
12 </label>
13 </div>
14 </div>
15 <div class="field">
16 <div class="control">
17 <label class="checkbox">
18 <input type="checkbox" id="showOwner" name="showOwner" {{if .Data.Settings.ShowOwner}}checked{{end}}>
19 Show File Owner
20 </label>
21 </div>
22 </div>
23 <div class="field">
24 <input class="button" value="save" type="submit">
25 </div>
26 </form>
27 </div>
28 <div class="column">
29 {{range .Data.Users}}
30 <div class="panel-block">
31 <div class="columns wide-column is-gapless is-mobile">
32 <div class="column">
33 {{.Username}}
34 </div>
35 <div class="column">
36 {{.Path}}
37 </div>
38 <div class="column has-text-right"><a href="#">Edit</a> / <a href="#" class="is-danger">Delete</a></div>
39 </div>
40 </div>
41 {{end}}
42 </div>
43</div>
44{{end}}