Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
12ef4f2b
authored
Jul 23, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: enhance store upload
parent
69148c99
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
circle/dashboard/templates/dashboard/store/_list-box.html
+1
-2
circle/dashboard/templates/dashboard/store/upload.html
+3
-2
No files found.
circle/dashboard/templates/dashboard/store/_list-box.html
View file @
12ef4f2b
{% load i18n %}
{% load i18n %}
<div
class=
"list-group"
>
<div
class=
"list-group"
>
<div
class=
"list-group-item"
>
<div
class=
"list-group-item"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-6"
>
<div
class=
"col-sm-6"
>
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"%}?
directory=
{{
current
}}"
<a
href=
"{% url "
dashboard
.
views
.
store-upload
"%}?
directory=
{{
current
}}"
class=
"btn btn-info btn-xs
pull-right
js-hidden"
>
class=
"btn btn-info btn-xs js-hidden"
>
{% trans "Upload" %}
{% trans "Upload" %}
</a>
</a>
<form
action=
""
data-action=
"{% url "
dashboard
.
views
.
store-upload-url
"
%}"
<form
action=
""
data-action=
"{% url "
dashboard
.
views
.
store-upload-url
"
%}"
...
...
circle/dashboard/templates/dashboard/store/upload.html
View file @
12ef4f2b
...
@@ -25,8 +25,9 @@
...
@@ -25,8 +25,9 @@
<form
method=
"POST"
action=
"{{ action }}"
enctype=
"multipart/form-data"
>
<form
method=
"POST"
action=
"{{ action }}"
enctype=
"multipart/form-data"
>
<input
type=
"hidden"
name=
"next"
value=
"{{ next_url }}"
/>
<input
type=
"hidden"
name=
"next"
value=
"{{ next_url }}"
/>
<div>
<div>
<input
class=
"btn btn-default btn-sm pull-right"
type=
"submit"
value=
"{% trans "
Upload
"
%}"
/>
<input
class=
"btn btn-default btn-sm pull-right"
<input
type=
"file"
name=
"data"
style=
"padding-top: 5px;"
/>
type=
"submit"
value=
"{% trans "
Upload
"
%}"
/>
<input
type=
"file"
name=
"data"
style=
"padding-top: 5px;"
required
/>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment