mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 04:36:11 +10:00
Clone button should not be clickable when there is a disabled protocol
This commit is contained in:
@@ -24,7 +24,6 @@ v 8.10.0 (unreleased)
|
||||
- Allow importing from Github using Personal Access Tokens. (Eric K Idema)
|
||||
- API: Todos !3188 (Robert Schilling)
|
||||
- Add "Enabled Git access protocols" to Application Settings
|
||||
- Implement Subresource Integrity for CSS and JavaScript assets. This prevents malicious assets from loading in the case of a CDN compromise.
|
||||
- Fix user creation with stronger minimum password requirements !4054 (nathan-pmt)
|
||||
- PipelinesFinder uses git cache data
|
||||
- Check for conflicts with existing Project's wiki path when creating a new project.
|
||||
|
||||
@@ -288,3 +288,14 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-static {
|
||||
background-color: $background-color !important;
|
||||
border: 1px solid lightgrey;
|
||||
cursor: default;
|
||||
&:active {
|
||||
-moz-box-shadow: inset 0 0 0 white;
|
||||
-webkit-box-shadow: inset 0 0 0 white;
|
||||
box-shadow: inset 0 0 0 white;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
.git-clone-holder.input-group
|
||||
.input-group-btn
|
||||
-if allowed_protocols_present?
|
||||
.clone-dropdown-btn.btn
|
||||
.clone-dropdown-btn.btn.btn-static
|
||||
%span
|
||||
= enabled_project_tooltip(project, enabled_protocol)
|
||||
= enabled_project_button(project, enabled_protocol)
|
||||
- else
|
||||
%a#clone-dropdown.clone-dropdown-btn.btn{href: '#', data: { toggle: 'dropdown' }}
|
||||
%span
|
||||
|
||||
Reference in New Issue
Block a user