Make clone widget read-only
This commit is contained in:
parent
730e79e787
commit
bf06b3196d
3 changed files with 2 additions and 6 deletions
|
@ -193,10 +193,6 @@ input[type=text] {
|
|||
}
|
||||
}
|
||||
|
||||
input.git_clone_url {
|
||||
width: 325px;
|
||||
}
|
||||
|
||||
.merge-request-form-holder {
|
||||
select {
|
||||
width: 300px;
|
||||
|
|
|
@ -80,6 +80,7 @@
|
|||
border: 1px solid #BBB;
|
||||
box-shadow: none;
|
||||
margin-left: -1px;
|
||||
background: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
.input-prepend.project_clone_holder
|
||||
%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
|
||||
|
||||
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge"
|
||||
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge", readonly: true
|
||||
|
|
Loading…
Reference in a new issue