summaryrefslogtreecommitdiff
path: root/templates/pages/index.gohtml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pages/index.gohtml')
-rw-r--r--templates/pages/index.gohtml35
1 files changed, 18 insertions, 17 deletions
diff --git a/templates/pages/index.gohtml b/templates/pages/index.gohtml
index 8cfcae1..6f2bf87 100644
--- a/templates/pages/index.gohtml
+++ b/templates/pages/index.gohtml
@@ -1,21 +1,22 @@
{{template "layout.gohtml" .}}
{{define "content"}}
-<div class="layout-center">
- <form method="POST" action="/save">
- <h1>New secret</h1>
- <label for="secret">Secret content:<span class="required">(required)</span></label>
- <textarea id="secret" name="secret" rows="6" required></textarea>
- <label><span>Expires after (or <b>first</b> read):</span><span class="required">(required)</span></label>
- <div class="form-row">
- <label><input id="days" name="days" type="number" value="0" min="0" max="365" required />days</label>
- <label><input id="hours" name="hours" type="number" value="0" min="0" max="23" required />hours</label>
- <label><input id="minutes" name="minutes" type="number" value="30" min="0" max="59" required />minutes</label>
- </div>
- {{/* <label for="pin">Pin code to open:<span class="optional">(optional)</span></label> */}}
- {{/* <input id="pin" name="pin" type="string" value="" /> */}}
- <hr />
- <input type="hidden" name="csrf" value={{.csrf}} />
- <input type="submit" value="Send" />
- </form>
+<div class="flex content three">
+ <div class="full off-third-800 third-800">
+ <form method="POST" action="/save">
+ <h1>New secret</h1>
+ <label class="row" for="secret">Secret content:<span class="required">(required)</span></label>
+ <textarea id="secret" name="secret" rows="6" required></textarea>
+ <label class="row"><span>Expires after (or <b>first</b> read):</span><span class="required">(required)</span></label>
+ <fieldset class="flex three">
+ <label><input id="days" name="days" type="number" value="0" min="0" max="365" required />days</label>
+ <label><input id="hours" name="hours" type="number" value="0" min="0" max="23" required />hours</label>
+ <label><input id="minutes" name="minutes" type="number" value="30" min="0" max="59" required />minutes</label>
+ </fieldset>
+ {{/* <label for="pin">Pin code to open:<span class="optional">(optional)</span></label> */}}
+ {{/* <input id="pin" name="pin" type="string" value="" /> */}}
+ <input type="hidden" name="csrf" value={{.csrf}} />
+ <input type="submit" value="Send" />
+ </form>
+ </div>
</div>
{{ end }}