BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
6aca8b57
Unverified
Commit
6aca8b57
authored
Oct 16, 2016
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added download-button class and applied button margin
parent
77507df6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
tree.scss
app/assets/stylesheets/pages/tree.scss
+4
-0
_download.html.haml
app/views/projects/buttons/_download.html.haml
+1
-1
No files found.
app/assets/stylesheets/pages/tree.scss
View file @
6aca8b57
...
@@ -169,4 +169,8 @@
...
@@ -169,4 +169,8 @@
margin-top
:
11px
;
margin-top
:
11px
;
position
:
relative
;
position
:
relative
;
z-index
:
2
;
z-index
:
2
;
.download-button
{
margin-left
:
$btn-side-margin
;
}
}
}
app/views/projects/buttons/_download.html.haml
View file @
6aca8b57
-
if
!
project
.
empty_repo?
&&
can?
(
current_user
,
:download_code
,
project
)
-
if
!
project
.
empty_repo?
&&
can?
(
current_user
,
:download_code
,
project
)
%span
{
class:
'hidden-xs hidden-sm'
}
%span
{
class:
'hidden-xs hidden-sm
download-button
'
}
.dropdown.inline
.dropdown.inline
%button
.btn
{
'data-toggle'
=>
'dropdown'
}
%button
.btn
{
'data-toggle'
=>
'dropdown'
}
=
icon
(
'download'
)
=
icon
(
'download'
)
...
...
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