Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
bf06b319
Commit
bf06b319
authored
Mar 04, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make clone widget read-only
parent
730e79e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
6 deletions
+2
-6
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+0
-4
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+1
-0
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+1
-2
No files found.
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
Markdown
is supported
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