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
fa45f8e4
Commit
fa45f8e4
authored
5 years ago
by
Patrick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use existing classes for display inline content
parent
3c2d5595
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
14 deletions
+8
-14
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+0
-6
app/views/projects/buttons/_download.html.haml
app/views/projects/buttons/_download.html.haml
+8
-8
No files found.
app/assets/stylesheets/framework/dropdowns.scss
View file @
fa45f8e4
...
...
@@ -355,12 +355,6 @@
.dropdown-menu-content
{
padding
:
$dropdown-item-padding-y
$dropdown-item-padding-x
;
}
.inline-content
{
display
:
inline-block
;
margin
:
0
;
padding
:
0
;
}
}
.droplab-dropdown
{
...
...
This diff is collapsed.
Click to expand it.
app/views/projects/buttons/_download.html.haml
View file @
fa45f8e4
...
...
@@ -11,26 +11,26 @@
%li
.dropdown-bold-header
=
_
(
'Download source code'
)
%li
.dropdown-menu-content
%ul
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'zip'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
format:
'zip'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-primary btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar.gz'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
format:
'tar.gz'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar.bz2'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
format:
'tar.bz2'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
format:
'tar'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
-
if
directory?
%li
.separator
%li
.dropdown-bold-header
=
_
(
'Download this directory'
)
%li
.dropdown-menu-content
%ul
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'zip'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
path:
@path
,
format:
'zip'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-primary btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar.gz'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
path:
@path
,
format:
'tar.gz'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar.bz2'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
path:
@path
,
format:
'tar.bz2'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
%li
.
inline-content
%li
.
d-inline-block.m-0.p-0
=
link_to
_
(
'tar'
),
project_archive_path
(
project
,
id:
tree_join
(
ref
,
archive_prefix
),
path:
@path
,
format:
'tar'
),
rel:
'nofollow'
,
download:
''
,
class:
'btn btn-xs'
-
if
pipeline
&&
pipeline
.
latest_builds_with_artifacts
.
any?
%li
.separator
...
...
This diff is collapsed.
Click to expand it.
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