Project git clone panel

This commit is contained in:
randx 2012-08-25 23:39:01 +03:00
parent efde86537a
commit 2c32574ac3
2 changed files with 12 additions and 3 deletions

View file

@ -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;
}
}

View file

@ -1,12 +1,10 @@
= render "project_head"
.entry
.project_clone_panel
.row
.span7
.form-horizontal
.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 "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"