diff options
| author | rr- | 2016-09-10 09:57:20 +0200 |
|---|---|---|
| committer | rr- | 2016-09-10 09:57:20 +0200 |
| commit | 2c283f30583fac8cd17a1600dab0a8c895dbce44 (patch) | |
| tree | 105d0ceae796224c8b3e40bce7a458ea65fc2250 /client | |
| parent | b829f89f1be1b3a26cfcf43f250327d3e6bde4ae (diff) | |
client/posts: move submit buttons to top
Diffstat (limited to 'client')
| -rw-r--r-- | client/css/post-upload.styl | 11 | ||||
| -rw-r--r-- | client/css/post-view.styl | 4 | ||||
| -rw-r--r-- | client/html/post_edit_sidebar.tpl | 8 | ||||
| -rw-r--r-- | client/html/post_upload.tpl | 4 |
4 files changed, 17 insertions, 10 deletions
diff --git a/client/css/post-upload.styl b/client/css/post-upload.styl index 16c32f0..ac7dd68 100644 --- a/client/css/post-upload.styl +++ b/client/css/post-upload.styl @@ -5,6 +5,7 @@ width: 100% max-width: 40em margin: 0 auto + text-align: left &.inactive input[type=submit] @@ -17,13 +18,17 @@ padding: 2em input[type=submit] - float: left + margin-top: 1em + + .messages + margin-top: 1em .uploadables-container - margin: 2em 0 - text-align: left line-height: 200% + li + margin: 0 0 1.2em 0 + .uploadable .file overflow: hidden diff --git a/client/css/post-view.styl b/client/css/post-view.styl index 11c66d1..996410a 100644 --- a/client/css/post-view.styl +++ b/client/css/post-view.styl @@ -139,7 +139,9 @@ input[type=submit], input[type=button], button - margin-top: 1em width: 100% &:focus border: 2px solid $text-color !important + + .messages + margin-top: 1em diff --git a/client/html/post_edit_sidebar.tpl b/client/html/post_edit_sidebar.tpl index d3321b5..392d4e4 100644 --- a/client/html/post_edit_sidebar.tpl +++ b/client/html/post_edit_sidebar.tpl @@ -1,5 +1,9 @@ <div class='edit-sidebar'> <form autocomplete='off'> + <input type='submit' value='Save' class='submit'/> + + <div class='messages'></div> + <% if (ctx.canEditPostSafety) { %> <section class='safety'> <label>Safety</label> @@ -90,9 +94,5 @@ </ul> </section> <% } %> - - <div class='messages'></div> - - <input type='submit' value='Save' class='submit'/> </form> </div> diff --git a/client/html/post_upload.tpl b/client/html/post_upload.tpl index 26c6039..faf5f86 100644 --- a/client/html/post_upload.tpl +++ b/client/html/post_upload.tpl @@ -2,10 +2,10 @@ <form> <div class='dropper-container'></div> - <ul class='uploadables-container'></ul> + <input type='submit' value='Upload all' class='submit'/> <div class='messages'></div> - <input type='submit' value='Upload all' class='submit'/> + <ul class='uploadables-container'></ul> </form> </div> |