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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2c32574a
Commit
2c32574a
authored
Aug 25, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project git clone panel
parent
efde8653
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+11
-0
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+1
-3
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
2c32574a
...
@@ -39,3 +39,14 @@
...
@@ -39,3 +39,14 @@
}
}
}
}
}
}
.project_clone_panel
{
@include
border-radius
(
4px
);
@include
bg-gray-gradient
;
padding
:
4px
7px
;
border
:
1px
solid
#CCC
;
margin-bottom
:
5px
;
input
[
type
=
text
]
{
border
:
1px
solid
#BBB
;
}
}
app/views/projects/show.html.haml
View file @
2c32574a
=
render
"project_head"
=
render
"project_head"
.
entry
.
project_clone_panel
.row
.row
.span7
.span7
.form-horizontal
.form-horizontal
.input-prepend.project_clone_holder
.input-prepend.project_clone_holder
%span
.add-on
git clone
=
link_to
"SSH"
,
"#"
,
class:
"btn small active"
,
:"data-clone"
=>
@project
.
ssh_url_to_repo
=
link_to
"SSH"
,
"#"
,
class:
"btn small active"
,
:"data-clone"
=>
@project
.
ssh_url_to_repo
=
link_to
"HTTP"
,
"#"
,
class:
"btn small"
,
:"data-clone"
=>
@project
.
http_url_to_repo
=
link_to
"HTTP"
,
"#"
,
class:
"btn small"
,
:"data-clone"
=>
@project
.
http_url_to_repo
=
text_field_tag
:project_clone
,
@project
.
url_to_repo
,
class:
"one_click_select span5"
=
text_field_tag
:project_clone
,
@project
.
url_to_repo
,
class:
"one_click_select span5"
...
...
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