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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fe8dd1e9
Commit
fe8dd1e9
authored
Oct 29, 2019
by
Enrique Alcantara
Committed by
Tiger
Nov 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use bootstrap utility classes instead of gitlab-ui
parent
fe441d02
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
app/assets/stylesheets/utilities.scss
app/assets/stylesheets/utilities.scss
+3
-0
app/views/clusters/clusters/cloud_providers/_cloud_provider_button.html.haml
...clusters/cloud_providers/_cloud_provider_button.html.haml
+2
-2
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml
...usters/cloud_providers/_cloud_provider_selector.html.haml
+1
-1
No files found.
app/assets/stylesheets/utilities.scss
View file @
fe8dd1e9
...
...
@@ -28,3 +28,6 @@
.border-color-blue-300
{
border-color
:
$blue-300
;
}
.border-color-default
{
border-color
:
$border-color
;
}
.box-shadow-default
{
box-shadow
:
0
2px
4px
0
$black-transparent
;
}
.gl-w-64
{
width
:
px-to-rem
(
$grid-size
*
8
);
}
.gl-h-64
{
height
:
px-to-rem
(
$grid-size
*
8
);
}
app/views/clusters/clusters/cloud_providers/_cloud_provider_button.html.haml
View file @
fe8dd1e9
...
...
@@ -4,7 +4,7 @@
-
last
=
local_assigns
.
fetch
(
:last
,
false
)
-
classes
=
[
'btn btn-light btn-outline flex-fill d-inline-flex flex-column justify-content-center align-items-center'
,
(
'mr-3'
unless
last
)]
=
link_to
clusterable
.
new_path
(
provider:
provider
),
class:
classes
do
.p-2
=
image_tag
logo_path
,
alt:
label
,
class:
'gl-w-64 gl-h-64'
=
link_to
clusterable
.
new_path
(
provider:
provider
),
class:
'btn btn-light btn-outline flex-fill d-inline-flex flex-column mr-3 justify-content-center align-items-center'
do
.
svg-content.
p-2
=
image_tag
logo_path
,
alt:
label
,
class:
'gl-w-64 gl-h-64'
%span
=
label
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml
View file @
fe8dd1e9
...
...
@@ -2,7 +2,7 @@
-
eks_label
=
s_
(
'ClusterIntegration|Amazon EKS'
)
-
create_cluster_label
=
s_
(
'ClusterIntegration|Create cluster on'
)
.d-flex.flex-column
%h5
.
gl-my-5
%h5
.
mb-3
=
create_cluster_label
.d-flex
=
render
partial:
'clusters/clusters/cloud_providers/cloud_provider_button'
,
...
...
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