diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-03-21 21:44:19 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-03-21 21:44:19 +0300 |
commit | c994959f736206aacec8e9933d62588b9cb5b0c5 (patch) | |
tree | a65a3061df93984ecdb0911c4d0582c353ca5035 /templates/pages/index.gohtml | |
parent | 37c250d538893ff8178bd9c9e4dde225a991ce76 (diff) |
Diffstat (limited to 'templates/pages/index.gohtml')
-rw-r--r-- | templates/pages/index.gohtml | 35 |
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 }} |