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