diff --git a/ui/docs/api/apis.remaining b/ui/docs/api/apis.remaining index 50fc784282f..03720479410 100644 --- a/ui/docs/api/apis.remaining +++ b/ui/docs/api/apis.remaining @@ -23,7 +23,6 @@ createPhysicalNetwork createPortableIpRange createPortForwardingRule createPrivateGateway -createRolePermission createSecondaryStagingStore createSnapshotFromVMSnapshot createStaticRoute @@ -50,7 +49,6 @@ deletePortableIpRange deletePortForwardingRule deletePrivateGateway deleteProjectInvitation -deleteRolePermission deleteSecondaryStagingStore deleteSnapshotPolicies deleteSslCert @@ -58,7 +56,6 @@ deleteStaticRoute deleteStorageNetworkIpRange deleteVlanIpRange deleteVpnConnection -deleteVpnCustomerGateway deleteVpnGateway findHostsForMigration findStoragePoolsForMigration @@ -74,8 +71,6 @@ listDedicatedHosts listDedicatedPods listDedicatedZones listDeploymentPlanners -listDetailOptions -listDomainChildren listEgressFirewallRules listFirewallRules listHostHAProviders @@ -95,7 +90,6 @@ listNetworkACLs listNetworkServiceProviders listNics listOsCategories -listPhysicalNetworks listPortableIpRanges listPortForwardingRules listPrivateGateways @@ -104,7 +98,6 @@ listProjectInvitations listRegisteredServicePackages listRemoteAccessVpns listResourceLimits -listRolePermissions listSamlAuthorization listSecondaryStagingStores listSnapshotPolicies @@ -134,7 +127,6 @@ revokeSecurityGroupEgress revokeSecurityGroupIngress startInternalLoadBalancerVM stopInternalLoadBalancerVM -updateConfiguration updateDefaultNicForVirtualMachine updateLoadBalancerRule updateNetworkACLItem @@ -143,9 +135,7 @@ updateNetworkServiceProvider updatePhysicalNetwork updateProjectInvitation updateResourceLimit -updateRolePermission updateTrafficType updateVmNicIp updateVpnCustomerGateway -uploadCustomCertificate uploadSslCert diff --git a/ui/src/components/view/DetailSettings.vue b/ui/src/components/view/DetailSettings.vue index 36cb528a746..0068b86dbdd 100644 --- a/ui/src/components/view/DetailSettings.vue +++ b/ui/src/components/view/DetailSettings.vue @@ -50,18 +50,18 @@ :dataSource="detailOptions[item.name]" @change="val => handleInputChange(val, index)" @pressEnter="e => updateDetail(index)" /> - - - - - - {{ item.value }}
- + + + + + + +
diff --git a/ui/src/components/view/ListView.vue b/ui/src/components/view/ListView.vue index 41a8ad58b5f..e6519924e1d 100644 --- a/ui/src/components/view/ListView.vue +++ b/ui/src/components/view/ListView.vue @@ -22,7 +22,6 @@ :columns="columns" :dataSource="items" :rowKey="record => record.id || record.name" - :scroll="{ x: '100%' }" :pagination="false" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" :rowClassName="getRowClassName" @@ -101,10 +100,44 @@ {{ text }} + + + + + diff --git a/ui/src/config/section/config.js b/ui/src/config/section/config.js index 26bf6795a14..eff2869a086 100644 --- a/ui/src/config/section/config.js +++ b/ui/src/config/section/config.js @@ -26,7 +26,7 @@ export default { title: 'Global Settings', icon: 'setting', permission: ['listConfigurations'], - columns: ['name', 'description', 'category', 'value'], + columns: ['name', 'description', 'category', 'value', 'actions'], details: ['name', 'category', 'description', 'value'] }, { diff --git a/ui/src/config/section/iam.js b/ui/src/config/section/iam.js index 351a871a186..468dcc8c8da 100644 --- a/ui/src/config/section/iam.js +++ b/ui/src/config/section/iam.js @@ -90,6 +90,13 @@ export default { title: 'Users', param: 'account' }], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') + }], actions: [ { api: 'createAccount', @@ -185,6 +192,9 @@ export default { { name: 'details', component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') } ], treeView: true, diff --git a/ui/src/config/section/infra/clusters.js b/ui/src/config/section/infra/clusters.js index c9eeaae4378..03fbaaa29e2 100644 --- a/ui/src/config/section/infra/clusters.js +++ b/ui/src/config/section/infra/clusters.js @@ -27,6 +27,13 @@ export default { title: 'Hosts', param: 'clusterid' }], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') + }], actions: [ { api: 'addCluster', diff --git a/ui/src/config/section/infra/primaryStorages.js b/ui/src/config/section/infra/primaryStorages.js index bff25214638..1c29a1fd7c7 100644 --- a/ui/src/config/section/infra/primaryStorages.js +++ b/ui/src/config/section/infra/primaryStorages.js @@ -27,6 +27,13 @@ export default { title: 'Volumes', param: 'storageid' }], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') + }], actions: [ { api: 'createStoragePool', diff --git a/ui/src/config/section/infra/secondaryStorages.js b/ui/src/config/section/infra/secondaryStorages.js index 3b8141180b1..0deea35133b 100644 --- a/ui/src/config/section/infra/secondaryStorages.js +++ b/ui/src/config/section/infra/secondaryStorages.js @@ -22,6 +22,13 @@ export default { permission: ['listImageStores'], columns: ['name', 'url', 'protocol', 'scope', 'zonename'], details: ['name', 'id', 'url', 'protocol', 'provider', 'scope', 'zonename'], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') + }], actions: [ { api: 'addImageStore', diff --git a/ui/src/config/section/infra/zones.js b/ui/src/config/section/infra/zones.js index ee8d3fdd940..7e26bc4ab6d 100644 --- a/ui/src/config/section/infra/zones.js +++ b/ui/src/config/section/infra/zones.js @@ -51,6 +51,13 @@ export default { title: 'Secondary Storage', param: 'zoneid' }], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'Settings', + component: () => import('@/components/view/SettingsTab.vue') + }], actions: [ { api: 'createZone', diff --git a/ui/src/views/AutogenView.vue b/ui/src/views/AutogenView.vue index 9c999d51717..76e5937d801 100644 --- a/ui/src/views/AutogenView.vue +++ b/ui/src/views/AutogenView.vue @@ -202,6 +202,7 @@ :loading="loading" :columns="columns" :items="items" + @refresh="this.fetchData" v-if="!treeView" />