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
0
Merge Requests
0
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
Boxiang Sun
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 {
v-for=
"result in results"
:key=
"result.id"
>
<a
href=
"#"
@
click.prevent=
"setMachineType(result.name)"
>
{{
result
.
name
}}
</a>
<button
@
click.prevent=
"setMachineType(result.name)"
>
{{
result
.
name
}}
</button>
</li>
</ul>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue
View file @
53e27b8c
...
...
@@ -159,10 +159,9 @@ export default {
v-for=
"result in results"
:key=
"result.project_number"
>
<a
href=
"#"
@
click.prevent=
"setProject(result)"
>
{{
result
.
name
}}
</a>
<button
@
click.prevent=
"setProject(result)"
>
{{
result
.
name
}}
</button>
</li>
</ul>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_zone_dropdown.vue
View file @
53e27b8c
...
...
@@ -124,10 +124,9 @@ export default {
v-for=
"result in results"
:key=
"result.id"
>
<a
href=
"#"
@
click.prevent=
"setZone(result.name)"
>
{{
result
.
name
}}
</a>
<button
@
click.prevent=
"setZone(result.name)"
>
{{
result
.
name
}}
</button>
</li>
</ul>
</div>
...
...
app/assets/javascripts/projects/gke_cluster_dropdowns/index.js
View file @
53e27b8c
...
...
@@ -58,7 +58,6 @@ const initializeGapiClient = () => {
const
el
=
document
.
querySelector
(
'
.js-gke-cluster-creation
'
);
gapi
.
client
.
setToken
({
access_token
:
el
.
dataset
.
token
});
delete
el
.
dataset
.
token
;
gapi
.
client
.
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 {
class=
"dropdown-menu-toggle dropdown-menu-full-width"
type=
"button"
data-toggle=
"dropdown"
aria-expanded=
"
tru
e"
aria-expanded=
"
fals
e"
:disabled=
"isDisabled || isLoading"
>
<loading-icon
...
...
@@ -50,6 +50,6 @@ export default {
aria-hidden=
"true"
data-hidden=
"true"
></i>
</span>
</span>
</button>
</
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