aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/settings.html')
-rw-r--r--templates/settings.html74
1 files changed, 56 insertions, 18 deletions
diff --git a/templates/settings.html b/templates/settings.html
index f8423fc..2aa1a80 100644
--- a/templates/settings.html
+++ b/templates/settings.html
@@ -1,25 +1,63 @@
{{template "layout.html" .}}
{{define "title"}} {{.Title}} {{end}}
{{define "content"}}
-<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 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="field">
- <div class="control">
- <label class="checkbox">
- <input type="checkbox" id="showOwner" name="showOwner" {{if .Data.ShowOwner}}checked{{end}}>
- Show File Owner
- </label>
+ <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 class="field">
- <input class="button" value="save" type="submit">
- </div>
-</form>
+</div>
{{end}}