aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.html
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-25 17:10:29 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-25 17:10:29 +0200
commit687b327cf8fd2b7122eb9b5ba6c8a24996b60966 (patch)
tree76aaf19e486c0e31acf991b59b8a1565f9c360d5 /templates/settings.html
parentd6cf67b3d7747b6274d92e394d75d348060fa5f5 (diff)
downloadlens-687b327cf8fd2b7122eb9b5ba6c8a24996b60966.tar.gz
lens-687b327cf8fd2b7122eb9b5ba6c8a24996b60966.tar.bz2
lens-687b327cf8fd2b7122eb9b5ba6c8a24996b60966.zip
feat: Add mockup for user settings
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}}