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
3e770e9d
Commit
3e770e9d
authored
Oct 15, 2019
by
Enrique Alcantara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cloud providers illustrations
parent
9999710b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/clusters/clusters/cloud_providers/_cloud_provider_button.html.haml
...clusters/cloud_providers/_cloud_provider_button.html.haml
+1
-1
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml
...usters/cloud_providers/_cloud_provider_selector.html.haml
+2
-2
No files found.
app/views/clusters/clusters/cloud_providers/_cloud_provider_button.html.haml
View file @
3e770e9d
...
...
@@ -3,6 +3,6 @@
-
label
=
local_assigns
.
fetch
(
:label
)
=
link_to
clusterable
.
new_path
(
provider:
provider
),
class:
'btn gl-button btn-outline flex-fill d-inline-flex flex-column mr-3 justify-content-center align-items-center'
do
=
image_tag
logo_path
,
alt:
label
,
class:
'gl-w-13 gl-h-13'
.svg-content
=
image_tag
logo_path
,
alt:
label
,
class:
'gl-w-13 gl-h-13'
%span
=
label
app/views/clusters/clusters/cloud_providers/_cloud_provider_selector.html.haml
View file @
3e770e9d
...
...
@@ -6,6 +6,6 @@
=
create_cluster_label
.d-flex
=
render
partial:
'clusters/clusters/cloud_providers/cloud_provider_button'
,
locals:
{
provider:
'
gke'
,
label:
gke_label
,
logo_path:
'
'
}
locals:
{
provider:
'
eks'
,
label:
eks_label
,
logo_path:
'illustrations/logos/amazon_eks.svg
'
}
=
render
partial:
'clusters/clusters/cloud_providers/cloud_provider_button'
,
locals:
{
provider:
'
eks'
,
label:
eks_label
,
logo_path:
'
'
}
locals:
{
provider:
'
gke'
,
label:
gke_label
,
logo_path:
'illustrations/logos/google_gke.svg
'
}
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