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
53e27b8c
Commit
53e27b8c
authored
May 08, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revisions
parent
37cfca2c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
15 deletions
+11
-15
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown.vue
...luster_dropdowns/components/gke_machine_type_dropdown.vue
+3
-4
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue
..._cluster_dropdowns/components/gke_project_id_dropdown.vue
+3
-4
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue
...ts/gke_cluster_dropdowns/components/gke_zone_dropdown.vue
+3
-4
app/assets/javascripts/projects/gke_cluster_dropdowns/index.js
...ssets/javascripts/projects/gke_cluster_dropdowns/index.js
+0
-1
app/assets/javascripts/vue_shared/components/dropdown/dropdown_button.vue
...cripts/vue_shared/components/dropdown/dropdown_button.vue
+2
-2
No files found.
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_machine_type_dropdown.vue
View file @
53e27b8c
...
@@ -139,10 +139,9 @@ export default {
...
@@ -139,10 +139,9 @@ export default {
v-for=
"result in results"
v-for=
"result in results"
:key=
"result.id"
:key=
"result.id"
>
>
<a
<button
@
click.prevent=
"setMachineType(result.name)"
>
href=
"#"
{{
result
.
name
}}
@
click.prevent=
"setMachineType(result.name)"
</button>
>
{{
result
.
name
}}
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue
View file @
53e27b8c
...
@@ -159,10 +159,9 @@ export default {
...
@@ -159,10 +159,9 @@ export default {
v-for=
"result in results"
v-for=
"result in results"
:key=
"result.project_number"
:key=
"result.project_number"
>
>
<a
<button
@
click.prevent=
"setProject(result)"
>
href=
"#"
{{
result
.
name
}}
@
click.prevent=
"setProject(result)"
</button>
>
{{
result
.
name
}}
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue
View file @
53e27b8c
...
@@ -124,10 +124,9 @@ export default {
...
@@ -124,10 +124,9 @@ export default {
v-for=
"result in results"
v-for=
"result in results"
:key=
"result.id"
:key=
"result.id"
>
>
<a
<button
@
click.prevent=
"setZone(result.name)"
>
href=
"#"
{{
result
.
name
}}
@
click.prevent=
"setZone(result.name)"
</button>
>
{{
result
.
name
}}
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/index.js
View file @
53e27b8c
...
@@ -58,7 +58,6 @@ const initializeGapiClient = () => {
...
@@ -58,7 +58,6 @@ const initializeGapiClient = () => {
const
el
=
document
.
querySelector
(
'
.js-gke-cluster-creation
'
);
const
el
=
document
.
querySelector
(
'
.js-gke-cluster-creation
'
);
gapi
.
client
.
setToken
({
access_token
:
el
.
dataset
.
token
});
gapi
.
client
.
setToken
({
access_token
:
el
.
dataset
.
token
});
delete
el
.
dataset
.
token
;
gapi
.
client
gapi
.
client
.
load
(
CONSTANTS
.
GCP_API_CLOUD_RESOURCE_MANAGER_ENDPOINT
)
.
load
(
CONSTANTS
.
GCP_API_CLOUD_RESOURCE_MANAGER_ENDPOINT
)
...
...
app/assets/javascripts/vue_shared/components/dropdown/dropdown_button.vue
View file @
53e27b8c
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
class=
"dropdown-menu-toggle dropdown-menu-full-width"
class=
"dropdown-menu-toggle dropdown-menu-full-width"
type=
"button"
type=
"button"
data-toggle=
"dropdown"
data-toggle=
"dropdown"
aria-expanded=
"
tru
e"
aria-expanded=
"
fals
e"
:disabled=
"isDisabled || isLoading"
:disabled=
"isDisabled || isLoading"
>
>
<loading-icon
<loading-icon
...
@@ -50,6 +50,6 @@ export default {
...
@@ -50,6 +50,6 @@ export default {
aria-hidden=
"true"
aria-hidden=
"true"
data-hidden=
"true"
data-hidden=
"true"
></i>
></i>
</span>
</span>
</button>
</button>
</
template
>
</
template
>
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