diff --git a/ui/src/config/section/image.js b/ui/src/config/section/image.js index 3baee818578..38bfe2a6f5d 100644 --- a/ui/src/config/section/image.js +++ b/ui/src/config/section/image.js @@ -124,6 +124,13 @@ export default { title: 'Instances', param: 'isoid' }], + tabs: [{ + name: 'details', + component: () => import('@/components/view/DetailsTab.vue') + }, { + name: 'zones', + component: () => import('@/views/image/IsoZones.vue') + }], actions: [ { api: 'registerIso', diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index 04dbfbbe466..d9b2dbab4ce 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -982,6 +982,7 @@ "xennetworklabel": "XenServer traffic label", "xenserverToolsVersion61plus": "Original XS Version is 6.1+", "zone": "Zone", +"zones": "Zones", "zoneId": "Zone", "zoneid": "Zone", "zonename": "Zone", diff --git a/ui/src/style/layout/ant.less b/ui/src/style/layout/ant.less index 2adc3d7fe0e..4f376a181c5 100644 --- a/ui/src/style/layout/ant.less +++ b/ui/src/style/layout/ant.less @@ -29,7 +29,7 @@ } .ant-table-body { - min-width: 800px; + min-width: 500px; } } diff --git a/ui/src/views/image/IsoZones.vue b/ui/src/views/image/IsoZones.vue new file mode 100644 index 00000000000..5cb95822488 --- /dev/null +++ b/ui/src/views/image/IsoZones.vue @@ -0,0 +1,161 @@ +// 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. + + + + + + diff --git a/ui/src/views/image/TemplateZones.vue b/ui/src/views/image/TemplateZones.vue index 3e024acba1d..5a86128b61e 100644 --- a/ui/src/views/image/TemplateZones.vue +++ b/ui/src/views/image/TemplateZones.vue @@ -16,17 +16,43 @@ // under the License. + +