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
f972a9e3
Commit
f972a9e3
authored
May 05, 2015
by
Sullivan SENECHAL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bootlint issues on git clone holder bar
parent
5b3c823f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
mixins.scss
app/assets/stylesheets/base/mixins.scss
+4
-0
projects.scss
app/assets/stylesheets/pages/projects.scss
+9
-0
_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+2
-2
No files found.
app/assets/stylesheets/base/mixins.scss
View file @
f972a9e3
...
...
@@ -21,6 +21,10 @@
@include
border-radius
(
$radius
0
0
$radius
)
}
@mixin
border-radius-right
(
$radius
)
{
@include
border-radius
(
0
0
$radius
$radius
)
}
@mixin
linear-gradient
(
$from
,
$to
)
{
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
$from
)
,
to
(
$to
));
background-image
:
-webkit-linear-gradient
(
$from
,
$to
);
...
...
app/assets/stylesheets/pages/projects.scss
View file @
f972a9e3
...
...
@@ -102,6 +102,15 @@
.input-group-addon
{
background
:
#FAFAFA
;
&
.git-protocols
{
padding
:
0
;
border
:
none
;
.input-group-btn
:last-child
>
.btn
{
@include
border-radius-right
(
0
);
}
}
}
}
...
...
app/views/shared/_clone_panel.html.haml
View file @
f972a9e3
-
project
=
project
||
@project
.git-clone-holder.input-group
.input-group-addon.git-protocols
.input-group-btn
%button
{
|
:type
=>
'button'
,
|
class:
"btn btn-sm #{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-html"
=>
"true"
,
:"data-container"
=>
"body"
}
SSH
.input-group-btn
%button
{
|
:type
=>
'button'
,
|
class:
"btn btn-sm #{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
...
...
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