diff --git a/ui/public/locales/en.json b/ui/public/locales/en.json index 338ef3968ca..cd132dfe8d3 100644 --- a/ui/public/locales/en.json +++ b/ui/public/locales/en.json @@ -61,6 +61,7 @@ "label.action.create.snapshot.from.vmsnapshot": "Create snapshot from VM snapshot", "label.action.create.template.from.volume": "Create template from volume", "label.action.create.volume": "Create volume", +"label.action.create.volume.add": "Create and Add Volume", "label.action.delete.account": "Delete account", "label.action.delete.backup.offering": "Delete backup offering", "label.action.delete.cluster": "Delete cluster", @@ -1156,7 +1157,8 @@ "label.license.agreements": "License agreements", "label.limit": "Limit", "label.limitcpuuse": "CPU cap", -"label.limits": "Configure limits", +"label.limits": "Limits", +"label.limits.configure": "Configure limits", "label.link.domain.to.ldap": "Link domain to LDAP", "label.linklocalip": "Link-local/Control IP address", "label.linux": "Linux", @@ -1824,6 +1826,7 @@ "label.snapshotlimit": "Snapshot limits", "label.snapshotmemory": "Snapshot memory", "label.snapshots": "Snapshots", +"label.snapshottype": "Snapshot Type", "label.sockettimeout": "Socket timeout", "label.softwareversion": "Software version", "label.source.based": "SourceBased", @@ -2185,6 +2188,7 @@ "label.volumename": "Volume name", "label.volumes": "Volumes", "label.volumetotal": "Volume", +"label.volumetype": "Volume Type", "label.vpc": "VPC", "label.vpc.id": "VPC ID", "label.vpc.offerings": "VPC offerings", @@ -2395,6 +2399,7 @@ "message.attach.volume": "Please fill in the following data to attach a new volume. If you are attaching a disk volume to a Windows based virtual machine, you will need to reboot the instance to see the attached disk.", "message.attach.volume.failed": "Failed to attach volume.", "message.attach.volume.progress": "Attaching volume", +"message.attach.volume.success": "Successfully attached the volume to the instance", "message.authorization.failed": "Session expired, authorization verification failed.", "message.autoscale.loadbalancer.update": "The load balancer rule can be updated only when autoscale VM group is DISABLED.", "message.autoscale.policies.update": "The scale up/down policies can be updated only when autoscale VM group is DISABLED.", diff --git a/ui/src/components/header/UserMenu.vue b/ui/src/components/header/UserMenu.vue index 42df0446463..dfa84c77b65 100644 --- a/ui/src/components/header/UserMenu.vue +++ b/ui/src/components/header/UserMenu.vue @@ -27,7 +27,7 @@ - + {{ userInitials }} @@ -43,6 +43,10 @@ {{ $t('label.profilename') }} + + + {{ $t('label.limits') }} + {{ $t('label.use.local.timezone') }} @@ -142,6 +146,9 @@ export default { case 'profile': this.$router.push(`/accountuser/${this.$store.getters.userInfo.id}`) break + case 'limits': + this.$router.push(`/account/${this.$store.getters.userInfo.accountid}?tab=limits`) + break case 'timezone': this.toggleUseBrowserTimezone() break diff --git a/ui/src/components/menu/SideMenu.vue b/ui/src/components/menu/SideMenu.vue index d370f6e1c89..c26755021d2 100644 --- a/ui/src/components/menu/SideMenu.vue +++ b/ui/src/components/menu/SideMenu.vue @@ -119,14 +119,12 @@ export default { .ant-menu-light { border-right-color: transparent; - padding: 14px 0; } } &.dark { .ant-menu-dark { border-right-color: transparent; - padding: 14px 0; } } } diff --git a/ui/src/components/view/DetailsTab.vue b/ui/src/components/view/DetailsTab.vue index e276e05bcb0..301686c3433 100644 --- a/ui/src/components/view/DetailsTab.vue +++ b/ui/src/components/view/DetailsTab.vue @@ -51,6 +51,21 @@ {{ dataResource.rootdisksize }} GB +
+
+ {{ parseFloat(dataResource.size / (1024.0 * 1024.0 * 1024.0)).toFixed(2) }} GiB +
+
+
+
+ {{ parseFloat(dataResource.physicalsize / (1024.0 * 1024.0 * 1024.0)).toFixed(2) }} GiB +
+
+
+
+ {{ parseFloat(dataResource.virtualsize / (1024.0 * 1024.0 * 1024.0)).toFixed(2) }} GiB +
+
{{ $t(dataResource[item].toLowerCase()) }} {{ dataResource[item] }} diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index df1411ad5fe..550bba74409 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -27,7 +27,7 @@ v-clipboard:copy="name" >
- +
@@ -139,14 +139,14 @@
{{ $t('label.id') }}
- {{ resource.id }} +
@@ -159,6 +159,29 @@ {{ resource.ostypename }}
+
+
{{ $t('label.ip') }}
+
+ + + + + + + +
+
+
+ + + +
+
+
{{ $t('label.cpu') }}
@@ -312,11 +335,19 @@ v-for="(eth, index) in resource.nic" :key="eth.id" style="margin-left: -24px; margin-top: 5px;"> - eth{{ index }} {{ eth.ip6address ? eth.ipaddress + ', ' + eth.ip6address : eth.ipaddress }} - ({{ eth.networkname }}) + + eth{{ index }}  +   {{ $t('label.default') }} - +
+ +       + + + {{ eth.networkname }} + +
@@ -344,16 +375,6 @@ {{ resource.loadbalancer.name }} ( {{ resource.loadbalancer.publicip }}:{{ resource.loadbalancer.publicport }}) -
-
{{ $t('label.ip') }}
-
- - {{ ipaddress }} - {{ ipaddress }} -
-
{{ $t('label.project') }}
@@ -388,10 +409,15 @@
{{ $t('label.keypairs') }}
- -
  • - {{ keypair }} -
  • +
    +
    + + {{ keypair }} +
    +
    @@ -440,7 +466,8 @@
    {{ $t('label.publicip') }}
    - {{ resource.publicip }} + {{ resource.publicip }} +
    @@ -574,6 +601,7 @@ {{ resource.zone || resource.zonename || resource.zoneid }} + {{ resource.zone || resource.zonename || resource.zoneid }} {{ resource.zone || resource.zonename || resource.zoneid }}
    @@ -753,6 +781,7 @@ import { createPathBasedOnVmType } from '@/utils/plugins' import Console from '@/components/widgets/Console' import OsLogo from '@/components/widgets/OsLogo' import Status from '@/components/widgets/Status' +import CopyLabel from '@/components/widgets/CopyLabel' import TooltipButton from '@/components/widgets/TooltipButton' import UploadResourceIcon from '@/components/view/UploadResourceIcon' import eventBus from '@/config/eventBus' @@ -765,6 +794,7 @@ export default { Console, OsLogo, Status, + CopyLabel, TooltipButton, UploadResourceIcon, ResourceIcon, diff --git a/ui/src/components/view/ListView.vue b/ui/src/components/view/ListView.vue index 69dc3a1c559..8352a179afe 100644 --- a/ui/src/components/view/ListView.vue +++ b/ui/src/components/view/ListView.vue @@ -41,9 +41,9 @@