lens @ ead855b7991b14554eb098616cfac29d91e796eb

 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.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.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        <div class="table-container">
30            <table class="table">
31                <thead>
32                    <tr>
33                        <th>Username</th>
34                        <th>Path</th>
35                        <th>Is Admin?</th>
36                        <th>Action</th>
37                    </tr>
38                </thead>
39                <tbody>
40                    <tr>
41                        <td>gabrielgio</td>
42                        <td>/home/gabrielgio</td>
43                        <td>yes</td>
44                        <td>
45                            <a href="#" class="button is-small">Edit</button>
46                            <a href="#" class="button is-small is-danger">Delete</button>
47                        </td>
48                    </tr>
49                    <tr>
50                        <td>beatriz</td>
51                        <td>/home/beatriz</td>
52                        <td>no</td>
53                        <td>
54                            <a href="#" class="button is-small">Edit</button>
55                            <a href="#" class="button is-small is-danger">Delete</button>
56                        </td>
57                    </tr>
58                </tbody>
59            </table>
60        </div>
61    </div>
62</div>
63{{end}}