diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue
index c44131528c0..7ac739bb93e 100644
--- a/ui/src/components/view/InfoCard.vue
+++ b/ui/src/components/view/InfoCard.vue
@@ -25,13 +25,13 @@
-
{{ resource.displayname || resource.name }}
+
@@ -54,6 +54,12 @@
{{ $t('isdynamicallyscalable') }}
+
+ {{ resource.scope }}
+
+
+ {{ resource.version }}
+
@@ -65,6 +71,7 @@
{{ resource.state || resource.status }}
+
@@ -195,36 +202,34 @@
{{ (resource.volumes.reduce((total, item) => total += item.size, 0) / (1024 * 1024 * 1024.0)).toFixed(2) }} GB Storage
{{ resource.sizegb }}
-
-
Read {{ toSize(resource.diskkbsread) }}
-
Write {{ toSize(resource.diskkbswrite) }}
-
Read (IO) {{ resource.diskioread }}
-
Write (IO) {{ resource.diskiowrite }}
-
+
+
+
Read {{ toSize(resource.diskkbsread) }}
+
Write {{ toSize(resource.diskkbswrite) }}
+
Read (IO) {{ resource.diskioread }}
+
Write (IO) {{ resource.diskiowrite }}
{{ $t('disksize') }}
{{ resource.disksizetotalgb }}
-
- {{ $t('disksizeusedgb') }}
+
+
+
+ :percent="Number(parseFloat(100.0 * parseFloat(resource.disksizeusedgb) / parseFloat(resource.disksizetotalgb)).toFixed(2))"
+ :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('disksizeusedgb')" />
-
- {{ $t('disksizeallocatedgb') }}
+
+ :percent="Number(parseFloat(100.0 * parseFloat(resource.disksizeallocatedgb) / parseFloat(resource.disksizetotalgb)).toFixed(2))"
+ :format="(percent, successPercent) => parseFloat(percent).toFixed(2) + '% ' + $t('disksizeallocatedgb')" />
@@ -314,7 +319,7 @@
-
{{ $t('serviceCapabilities') }}
+
{{ $t('serviceofferingname') }}
{{ resource.serviceofferingname || resource.serviceofferingid }}
@@ -328,14 +333,14 @@
-
{{ $t('diskOffering') }}
+
{{ $t('diskoffering') }}
{{ resource.diskofferingname || resource.diskofferingid }}
-
{{ $t('networkofferingdisplaytext') }}
+
{{ $t('networkofferingid') }}
{{ resource.networkofferingname || resource.networkofferingid }}
@@ -349,7 +354,7 @@
-
{{ $t('Storage') }}
+
{{ $t('storagePool') }}
{{ resource.storage || resource.storageid }}
@@ -873,6 +878,7 @@ export default {
display: flex;
flex-wrap: wrap;
margin-top: 20px;
+ margin-bottom: -10px;
.ant-tag {
margin-right: 10px;
@@ -883,7 +889,8 @@ export default {
}
.progress-bar {
- width: 75%;
+ padding-right: 60px;
+ width: 100%;
}
.status {
diff --git a/ui/src/components/widgets/OsLogo.vue b/ui/src/components/widgets/OsLogo.vue
index 8739cd169fe..783259a46d5 100644
--- a/ui/src/components/widgets/OsLogo.vue
+++ b/ui/src/components/widgets/OsLogo.vue
@@ -16,7 +16,7 @@
// under the License.
-
+
{{ name }}
diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json
index dac19f0f685..86d1684aca2 100644
--- a/ui/src/locales/en.json
+++ b/ui/src/locales/en.json
@@ -161,7 +161,7 @@
"diskBytesWriteRate": "Disk Write Rate (BPS)",
"diskIopsReadRate": "Disk Read Rate (IOPS)",
"diskIopsWriteRate": "Disk Write Rate (IOPS)",
-"diskOffering": "Disk Offering",
+"diskoffering": "Disk Offering",
"diskOfferingId": "Disk Offerings",
"diskSize": "Disk Size (in GB)",
"diskiopstotal": "IOPS",
@@ -855,10 +855,10 @@
"service.StaticNat.associatePublicIP": "Associate Public IP",
"service.StaticNat.elasticIpCheckbox": "Elastic IP",
"serviceCapabilities": "Service Capabilities",
-"serviceOfferingId": "Compute offering",
+"serviceOfferingId": "Compute Offering",
"servicelist": "Services",
-"serviceofferingid": "Compute offering",
-"serviceofferingname": "Compute offering",
+"serviceofferingid": "Compute Offering",
+"serviceofferingname": "Compute Offering",
"settings": "Settings",
"shareWith": "Share With",
"shrinkok": "Shrink OK",
diff --git a/ui/src/views/compute/InstanceHardware.vue b/ui/src/views/compute/InstanceHardware.vue
index a2ff3b7b169..14a37d54eb5 100644
--- a/ui/src/views/compute/InstanceHardware.vue
+++ b/ui/src/views/compute/InstanceHardware.vue
@@ -17,8 +17,7 @@
-
-
+
@@ -72,7 +71,7 @@
{{ $t('size') }}
{{ (item.size / (1024 * 1024 * 1024.0)).toFixed(2) }} GB
-
+
{{ $t('physicalsize') }}
{{ (item.physicalsize / (1024 * 1024 * 1024.0)).toFixed(4) }} GB
@@ -117,13 +116,14 @@
@confirm="setAsDefault(item)"
okText="Yes"
cancelText="No"
+ v-if="!item.isdefault"
>
-
+
{{ "Change IP Address" }}
@@ -133,7 +133,7 @@
shape="round"
@click="editIpAddressNic = item.id; showUpdateIpModal = true" />
-
+
{{ "Manage Secondary IP Addresses" }}
@@ -184,7 +184,7 @@
{{ $t('IP Address') }}
{{ item.ipaddress }}
-
+
{{ $t('Secondary IPs') }}
{{ item.secondaryip.map(x => x.ipaddress).join(', ') }}
@@ -701,7 +701,6 @@ export default {
a {
margin-right: 30px;
margin-bottom: 10px;
- font-weight: bold;
}
.ant-tag {