Commit bf06b319 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Make clone widget read-only

parent 730e79e7
...@@ -193,10 +193,6 @@ input[type=text] { ...@@ -193,10 +193,6 @@ input[type=text] {
} }
} }
input.git_clone_url {
width: 325px;
}
.merge-request-form-holder { .merge-request-form-holder {
select { select {
width: 300px; width: 300px;
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
border: 1px solid #BBB; border: 1px solid #BBB;
box-shadow: none; box-shadow: none;
margin-left: -1px; margin-left: -1px;
background: #FFF;
} }
} }
......
.input-prepend.project_clone_holder .input-prepend.project_clone_holder
%button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH %button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase %button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge", readonly: true
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge"
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