Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
4036fb16
Commit
4036fb16
authored
Feb 16, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change textarea upload hover icon from picture to paperclip.
parent
99fb4d38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/dropzone_input.js.coffee
app/assets/javascripts/dropzone_input.js.coffee
+2
-2
No files found.
app/assets/javascripts/dropzone_input.js.coffee
View file @
4036fb16
...
...
@@ -6,7 +6,7 @@ class @DropzoneInput
divHover
=
"<div class=
\"
div-dropzone-hover
\"
></div>"
divSpinner
=
"<div class=
\"
div-dropzone-spinner
\"
></div>"
divAlert
=
"<div class=
\"
"
+
alertClass
+
"
\"
></div>"
iconP
icture
=
"<i class=
\"
fa fa-picture-o
div-dropzone-icon
\"
></i>"
iconP
aperclip
=
"<i class=
\"
fa fa-paperclip
div-dropzone-icon
\"
></i>"
iconSpinner
=
"<i class=
\"
fa fa-spinner fa-spin div-dropzone-icon
\"
></i>"
btnAlert
=
"<button type=
\"
button
\"
"
+
alertAttr
+
">×</button>"
project_uploads_path
=
window
.
project_uploads_path
or
null
...
...
@@ -19,7 +19,7 @@ class @DropzoneInput
form_dropzone
=
$
(
form
).
find
(
'.div-dropzone'
)
form_dropzone
.
parent
().
addClass
"div-dropzone-wrapper"
form_dropzone
.
append
divHover
$
(
".div-dropzone-hover"
).
append
iconP
icture
$
(
".div-dropzone-hover"
).
append
iconP
aperclip
form_dropzone
.
append
divSpinner
$
(
".div-dropzone-spinner"
).
append
iconSpinner
$
(
".div-dropzone-spinner"
).
css
...
...
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