Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Privacy
Imprint
Contact
Login methods
Sign in
Toggle navigation
Menu
Open sidebar
projects.thm.de
GitLab FOSS
Commits
bf06b319
Commit
bf06b319
authored
Mar 04, 2013
by
Dmitriy Zaporozhets
Browse files
Make clone widget read-only
parent
730e79e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/common.scss
View file @
bf06b319
...
...
@@ -193,10 +193,6 @@ input[type=text] {
}
}
input
.git_clone_url
{
width
:
325px
;
}
.merge-request-form-holder
{
select
{
width
:
300px
;
...
...
app/assets/stylesheets/sections/projects.scss
View file @
bf06b319
...
...
@@ -80,6 +80,7 @@
border
:
1px
solid
#BBB
;
box-shadow
:
none
;
margin-left
:
-1px
;
background
:
#FFF
;
}
}
...
...
app/views/shared/_clone_panel.html.haml
View file @
bf06b319
.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
Write
Preview
Supports
Markdown
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