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
eece2a1c
Commit
eece2a1c
authored
May 06, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change entrypoints + dummy loading elements
parent
ca552bb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
app/views/projects/clusters/gcp/_form.html.haml
app/views/projects/clusters/gcp/_form.html.haml
+21
-6
No files found.
app/views/projects/clusters/gcp/_form.html.haml
View file @
eece2a1c
...
...
@@ -16,14 +16,24 @@
=
field
.
fields_for
:provider_gcp
,
@cluster
.
provider_gcp
do
|
provider_gcp_field
|
.form-group
=
provider_gcp_field
.
label
:gcp_project_id
,
s_
(
'ClusterIntegration|Google Cloud Platform project ID'
)
#js-gcp-project-id-dropdown-entry-point
{
data:
{
docsUrl:
'https://console.cloud.google.com/home/dashboard'
}
}
=
provider_gcp_field
.
hidden_field
:gcp_project_id
,
class:
'form-control'
,
placeholder:
'Select project'
.js-gcp-project-id-dropdown-entry-point
{
data:
{
docsUrl:
'https://console.cloud.google.com/home/dashboard'
}
}
=
provider_gcp_field
.
hidden_field
:gcp_project_id
.dropdown
%button
.dropdown-menu-toggle.dropdown-menu-full-width
{
type:
'button'
,
disabled:
true
}
%span
.dropdown-toggle-text
=
_
(
'Select project'
)
=
icon
(
'chevron-down'
)
.form-group
=
provider_gcp_field
.
label
:zone
,
s_
(
'ClusterIntegration|Zone'
)
=
link_to
(
s_
(
'ClusterIntegration|See zones'
),
'https://cloud.google.com/compute/docs/regions-zones/regions-zones'
,
target:
'_blank'
,
rel:
'noopener noreferrer'
)
#js-gcp-zone-dropdown-entry-point
=
provider_gcp_field
.
hidden_field
:zone
,
class:
'form-control'
,
placeholder:
'us-central1-a'
.js-gcp-zone-dropdown-entry-point
=
provider_gcp_field
.
hidden_field
:zone
.dropdown
%button
.dropdown-menu-toggle.dropdown-menu-full-width
{
type:
'button'
,
disabled:
true
}
%span
.dropdown-toggle-text
=
_
(
'Select project to choose zone'
)
=
icon
(
'chevron-down'
)
.form-group
=
provider_gcp_field
.
label
:num_nodes
,
s_
(
'ClusterIntegration|Number of nodes'
)
...
...
@@ -31,8 +41,13 @@
.form-group
=
provider_gcp_field
.
label
:machine_type
,
s_
(
'ClusterIntegration|Machine type'
)
#js-gcp-machine-type-dropdown-entry-point
=
provider_gcp_field
.
hidden_field
:machine_type
,
class:
'form-control'
,
placeholder:
'us-central1-a'
.js-gcp-machine-type-dropdown-entry-point
=
provider_gcp_field
.
hidden_field
:machine_type
.dropdown
%button
.dropdown-menu-toggle.dropdown-menu-full-width
{
type:
'button'
,
disabled:
true
}
%span
.dropdown-toggle-text
=
_
(
'Select project and zone to choose machine type'
)
=
icon
(
'chevron-down'
)
.form-group
=
field
.
submit
s_
(
'ClusterIntegration|Create Kubernetes cluster'
),
class:
'btn btn-success'
,
disabled:
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