mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Fixup missing buttons (#10357)
This commit is contained in:
parent
d920aba176
commit
d3170bfa16
@ -100,7 +100,7 @@ export default {
|
|||||||
label: 'label.vm.add',
|
label: 'label.vm.add',
|
||||||
docHelp: 'adminguide/virtual_machines.html#creating-vms',
|
docHelp: 'adminguide/virtual_machines.html#creating-vms',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: () => import('@/views/compute/DeployVM.vue')
|
component: () => import('@/views/compute/DeployVM.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -569,7 +569,7 @@ export default {
|
|||||||
docHelp: 'plugins/cloudstack-kubernetes-service.html#creating-a-new-kubernetes-cluster',
|
docHelp: 'plugins/cloudstack-kubernetes-service.html#creating-a-new-kubernetes-cluster',
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/compute/CreateKubernetesCluster.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/compute/CreateKubernetesCluster.vue')))
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -698,7 +698,7 @@ export default {
|
|||||||
icon: 'plus-outlined',
|
icon: 'plus-outlined',
|
||||||
label: 'label.new.autoscale.vmgroup',
|
label: 'label.new.autoscale.vmgroup',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: () => import('@/views/compute/CreateAutoScaleVmGroup.vue')
|
component: () => import('@/views/compute/CreateAutoScaleVmGroup.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -789,7 +789,7 @@ export default {
|
|||||||
icon: 'plus-outlined',
|
icon: 'plus-outlined',
|
||||||
label: 'label.new.instance.group',
|
label: 'label.new.instance.group',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
args: ['name']
|
args: ['name']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -111,7 +111,7 @@ export default {
|
|||||||
docHelp: 'adminguide/templates.html#uploading-templates-from-a-remote-http-server',
|
docHelp: 'adminguide/templates.html#uploading-templates-from-a-remote-http-server',
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/image/RegisterOrUploadTemplate.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/image/RegisterOrUploadTemplate.vue')))
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -272,7 +272,7 @@ export default {
|
|||||||
docHelp: 'adminguide/templates.html#id10',
|
docHelp: 'adminguide/templates.html#id10',
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/image/RegisterOrUploadIso.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/image/RegisterOrUploadIso.vue')))
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -392,7 +392,7 @@ export default {
|
|||||||
label: 'label.kubernetes.version.add',
|
label: 'label.kubernetes.version.add',
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/image/AddKubernetesSupportedVersion.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/image/AddKubernetesSupportedVersion.vue')))
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -246,7 +246,7 @@ export default {
|
|||||||
icon: 'plus-outlined',
|
icon: 'plus-outlined',
|
||||||
label: 'label.add.vpc',
|
label: 'label.add.vpc',
|
||||||
docHelp: 'adminguide/networking_and_traffic.html#adding-a-virtual-private-cloud',
|
docHelp: 'adminguide/networking_and_traffic.html#adding-a-virtual-private-cloud',
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/network/CreateVpc.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/network/CreateVpc.vue')))
|
||||||
@ -396,7 +396,7 @@ export default {
|
|||||||
label: 'label.vnf.appliance.add',
|
label: 'label.vnf.appliance.add',
|
||||||
docHelp: 'adminguide/networking/vnf_templates_appliances.html#deploying-vnf-appliances',
|
docHelp: 'adminguide/networking/vnf_templates_appliances.html#deploying-vnf-appliances',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: () => import('@/views/compute/DeployVnfAppliance.vue')
|
component: () => import('@/views/compute/DeployVnfAppliance.vue')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -944,7 +944,7 @@ export default {
|
|||||||
label: 'label.add.vpn.gateway',
|
label: 'label.add.vpn.gateway',
|
||||||
docHelp: 'adminguide/networking_and_traffic.html#creating-a-vpn-gateway-for-the-vpc',
|
docHelp: 'adminguide/networking_and_traffic.html#creating-a-vpn-gateway-for-the-vpc',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
args: ['vpcid']
|
args: ['vpcid']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1120,7 +1120,7 @@ export default {
|
|||||||
icon: 'plus-outlined',
|
icon: 'plus-outlined',
|
||||||
label: 'label.add.vpn.user',
|
label: 'label.add.vpn.user',
|
||||||
listView: true,
|
listView: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
args: (record, store) => {
|
args: (record, store) => {
|
||||||
if (store.userInfo.roletype === 'User') {
|
if (store.userInfo.roletype === 'User') {
|
||||||
return ['username', 'password']
|
return ['username', 'password']
|
||||||
@ -1200,7 +1200,7 @@ export default {
|
|||||||
docHelp: 'adminguide/networking_and_traffic.html#creating-and-updating-a-vpn-customer-gateway',
|
docHelp: 'adminguide/networking_and_traffic.html#creating-and-updating-a-vpn-customer-gateway',
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/network/CreateVpnCustomerGateway.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/network/CreateVpnCustomerGateway.vue')))
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1390,7 +1390,7 @@ export default {
|
|||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/network/GuestVlanNetworksTab.vue'))),
|
component: shallowRef(defineAsyncComponent(() => import('@/views/network/GuestVlanNetworksTab.vue'))),
|
||||||
show: (record) => { return (record.allocationstate === 'Allocated') }
|
show: (record) => { return (record.allocationstate === 'Allocated') }
|
||||||
}],
|
}],
|
||||||
show: () => { isZoneCreated() }
|
show: isZoneCreated
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -104,7 +104,7 @@ export default {
|
|||||||
icon: 'plus-outlined',
|
icon: 'plus-outlined',
|
||||||
docHelp: 'adminguide/storage.html#creating-a-new-volume',
|
docHelp: 'adminguide/storage.html#creating-a-new-volume',
|
||||||
label: 'label.action.create.volume',
|
label: 'label.action.create.volume',
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/storage/CreateVolume.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/storage/CreateVolume.vue')))
|
||||||
@ -124,7 +124,7 @@ export default {
|
|||||||
icon: 'link-outlined',
|
icon: 'link-outlined',
|
||||||
docHelp: 'adminguide/storage.html#uploading-an-existing-volume-to-a-virtual-machine',
|
docHelp: 'adminguide/storage.html#uploading-an-existing-volume-to-a-virtual-machine',
|
||||||
label: 'label.upload.volume.from.url',
|
label: 'label.upload.volume.from.url',
|
||||||
show: () => { isZoneCreated() },
|
show: isZoneCreated,
|
||||||
listView: true,
|
listView: true,
|
||||||
popup: true,
|
popup: true,
|
||||||
component: shallowRef(defineAsyncComponent(() => import('@/views/storage/UploadVolume.vue')))
|
component: shallowRef(defineAsyncComponent(() => import('@/views/storage/UploadVolume.vue')))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user