Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
imghost
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
imghost
Commits
d527a7ee
Commit
d527a7ee
authored
7 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Improved upload site layout
parent
6da19108
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/style.sass
+45
-32
45 additions, 32 deletions
assets/sass/style.sass
templates/upload.html
+15
-14
15 additions, 14 deletions
templates/upload.html
with
60 additions
and
46 deletions
assets/sass/style.sass
+
45
−
32
View file @
d527a7ee
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
templates/upload.html
+
15
−
14
View file @
d527a7ee
{{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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment