Skip to content
Snippets Groups Projects
Commit d527a7ee authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Improved upload site layout

parent 6da19108
No related branches found
No related tags found
No related merge requests found
...@@ -2,10 +2,16 @@ ...@@ -2,10 +2,16 @@
margin: 0 margin: 0
padding: 0 padding: 0
html
height: 100%
body body
background: #F2F2F2 background: #F2F2F2
font-family: 'Lato', sans-serif font-family: 'Lato', sans-serif
font-size: 81.25% font-size: 81.25%
height: 100%
display: flex
flex-direction: column
nav nav
position: sticky position: sticky
...@@ -13,7 +19,7 @@ nav ...@@ -13,7 +19,7 @@ nav
background: #607D8B background: #607D8B
box-shadow: 0 2px 4px rgba(33, 33, 33, 0.4) box-shadow: 0 2px 4px rgba(33, 33, 33, 0.4)
nav ul ul
display: flex display: flex
max-width: 1024px max-width: 1024px
margin: 0 auto margin: 0 auto
...@@ -47,6 +53,13 @@ nav ul ...@@ -47,6 +53,13 @@ nav ul
background: #FFD54F background: #FFD54F
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)
.container.centered
flex-grow: 1
align-items: center
justify-content: center
display: flex
margin-bottom: 64px
.images .images
display: flex display: flex
max-width: 1024px max-width: 1024px
......
{{define "title"}}Upload | i.k8r{{end}} {{define "title"}}Upload | i.k8r{{end}}
{{define "content"}} {{define "content"}}
<div class="container centered">
{{range .Results}} {{range .Results}}
{{if .Success}} {{if .Success}}
<div class="info success"> <div class="info success">
...@@ -14,9 +15,9 @@ ...@@ -14,9 +15,9 @@
</div> </div>
{{end}} {{end}}
{{end}} {{end}}
<form action="/upload/" method="POST" enctype="multipart/form-data"> <form action="/upload/" method="POST" enctype="multipart/form-data">
<input type="file" name="file" accept="image/jpeg,image/png,image/bmp,*.jpeg,*.jpg,*.png,*.bmp" multiple/> <input type="file" name="file" accept="image/jpeg,image/png,image/bmp,*.jpeg,*.jpg,*.png,*.bmp" multiple/>
<input type="submit"/> <input type="submit"/>
</form> </form>
</div>
{{end}} {{end}}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment