aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.html
blob: 2aa1a80ea944113afeac78ecc08cac704956187d (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{{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.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.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">
        <div class="table-container">
            <table class="table">
                <thead>
                    <tr>
                        <th>Username</th>
                        <th>Path</th>
                        <th>Is Admin?</th>
                        <th>Action</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>gabrielgio</td>
                        <td>/home/gabrielgio</td>
                        <td>yes</td>
                        <td>
                            <a href="#" class="button is-small">Edit</button>
                            <a href="#" class="button is-small is-danger">Delete</button>
                        </td>
                    </tr>
                    <tr>
                        <td>beatriz</td>
                        <td>/home/beatriz</td>
                        <td>no</td>
                        <td>
                            <a href="#" class="button is-small">Edit</button>
                            <a href="#" class="button is-small is-danger">Delete</button>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
{{end}}