Commit 7da7a790 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Move clone panel to sidebar

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4adac0b4
...@@ -28,19 +28,19 @@ ...@@ -28,19 +28,19 @@
.project-identicon-holder { .project-identicon-holder {
position: absolute; position: absolute;
left: 0; left: 0;
top: -20px;
.avatar { .avatar {
width: 70px; width: 60px;
height: 70px; height: 60px;
} }
.identicon { .identicon {
font-size: 45px; font-size: 28px;
line-height: 1.6; line-height: 60px;
} }
.avatar, .identicon { .avatar, .identicon {
@include border-radius(4px);
box-shadow: 0 1px 2px #ddd; box-shadow: 0 1px 2px #ddd;
} }
} }
......
...@@ -34,8 +34,9 @@ ...@@ -34,8 +34,9 @@
&nbsp; &nbsp;
= render 'projects/repositories/download_archive', split_button: true, btn_class: 'btn-group-sm' = render 'projects/repositories/download_archive', split_button: true, btn_class: 'btn-group-sm'
-#%li .append-bottom-20
%span.light.prepend-left-20= repository_size = render "shared/clone_panel"
- if @project.archived? - if @project.archived?
.alert.alert-warning .alert.alert-warning
%h4 %h4
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn btn-sm btn-default' do = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn btn-sm btn-default' do
= link_to_toggle_fork = link_to_toggle_fork
.project-home-row.hidden-xs %hr
-#.project-home-row.hidden-xs
- if current_user && !empty_repo - if current_user && !empty_repo
.project-home-dropdown .project-home-dropdown
= render "dropdown" = render "dropdown"
= render "shared/clone_panel"
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
add a file add a file
&nbsp;or do a push via the command line. &nbsp;or do a push via the command line.
.well
= render "shared/clone_panel"
%h4 %h4
%strong Command line instructions %strong Command line instructions
%div.git-empty %div.git-empty
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment