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
6dab5439
Commit
6dab5439
authored
7 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Improved upload messages
parent
5ce19133
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
assets/sass/style.sass
+1
-1
1 addition, 1 deletion
assets/sass/style.sass
templates/upload.html
+2
-2
2 additions, 2 deletions
templates/upload.html
with
3 additions
and
3 deletions
assets/sass/style.sass
+
1
−
1
View file @
6dab5439
...
@@ -63,7 +63,7 @@ nav
...
@@ -63,7 +63,7 @@ nav
width
:
100%
width
:
100%
max-width
:
640px
max-width
:
640px
.
info
.
alert
padding
:
16px
padding
:
16px
margin
:
16px
0
margin
:
16px
0
box-shadow
:
0
2px
4px
rgba
(
33
,
33
,
33
,
0
.2
)
box-shadow
:
0
2px
4px
rgba
(
33
,
33
,
33
,
0
.2
)
...
...
This diff is collapsed.
Click to expand it.
templates/upload.html
+
2
−
2
View file @
6dab5439
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<div
class=
"container centered"
>
<div
class=
"container centered"
>
{{range .Results}}
{{range .Results}}
{{if .Success}}
{{if .Success}}
<div
class=
"
info
success"
>
<div
class=
"
alert
success"
>
<h2>
Upload of {{.Id}} finished.
<a
href=
"/{{.Id}}"
>
View
</a>
.
</h2>
<h2>
Upload of {{.Id}} finished.
<a
href=
"/{{.Id}}"
>
View
</a>
.
</h2>
</div>
</div>
{{else}}
{{else}}
<div
class=
"
info
error"
>
<div
class=
"
alert
error"
>
{{if .Id}}
{{if .Id}}
<h2>
Upload of {{.Id}} failed.
</h2>
<h2>
Upload of {{.Id}} failed.
</h2>
{{else}}
{{else}}
...
...
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