diff --git a/src/components/view/ListResourceTable.vue b/src/components/view/ListResourceTable.vue
new file mode 100644
index 000000000..8bc7ad6b6
--- /dev/null
+++ b/src/components/view/ListResourceTable.vue
@@ -0,0 +1,118 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+
+
+
+
+ {{ text }}
+ {{ text }}
+
+
+ {{ text }}
+
+
+
+
+
+
diff --git a/src/config/section/compute.js b/src/config/section/compute.js
index 27d056be6..293176447 100644
--- a/src/config/section/compute.js
+++ b/src/config/section/compute.js
@@ -63,15 +63,6 @@ export default {
},
searchFilters: ['name', 'zoneid', 'domainid', 'account', 'tags'],
details: ['displayname', 'name', 'id', 'state', 'ipaddress', 'templatename', 'ostypename', 'serviceofferingname', 'isdynamicallyscalable', 'haenable', 'hypervisor', 'boottype', 'bootmode', 'account', 'domain', 'zonename'],
- related: [{
- name: 'vmsnapshot',
- title: 'label.vm.snapshots',
- param: 'virtualmachineid'
- }, {
- name: 'backup',
- title: 'label.backup',
- param: 'virtualmachineid'
- }],
tabs: [{
component: () => import('@/views/compute/InstanceTab.vue')
}],
diff --git a/src/views/compute/InstanceTab.vue b/src/views/compute/InstanceTab.vue
index 9d3ac0262..3dd1e2f53 100644
--- a/src/views/compute/InstanceTab.vue
+++ b/src/views/compute/InstanceTab.vue
@@ -49,7 +49,7 @@
-
+ {{ text }}
{{ parseFloat(item.size / (1024.0 * 1024.0 * 1024.0)).toFixed(2) }} GB
@@ -115,6 +115,20 @@
+
+
+
+
+
+
@@ -203,6 +217,7 @@ import Status from '@/components/widgets/Status'
import DetailsTab from '@/components/view/DetailsTab'
import DetailSettings from '@/components/view/DetailSettings'
import NicsTable from '@/views/network/NicsTable'
+import ListResourceTable from '@/components/view/ListResourceTable'
export default {
name: 'InstanceTab',
@@ -211,7 +226,8 @@ export default {
DetailsTab,
DetailSettings,
NicsTable,
- Status
+ Status,
+ ListResourceTable
},
mixins: [mixinDevice],
props: {