From 1a89af63dff017b1efda9f85e617ce4686289d60 Mon Sep 17 00:00:00 2001 From: "layon.oliveira" Date: Wed, 13 Nov 2024 13:23:52 -0300 Subject: [PATCH 1/2] Display the tooltip with the exact value of the host's CPU speed expressed in MHz --- ui/src/components/view/InfoCard.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 98c26bf55657..8680a23fc27b 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -180,7 +180,14 @@
{{ $t('label.cpu') }}
- {{ resource.cpunumber }} CPU x {{ parseFloat(resource.cpuspeed / 1000.0).toFixed(2) }} Ghz + {{ resource.cpunumber }} CPU x {{ (resource.cpuspeed / 1000.0).toFixed(2) }} GHz + + + + + {{ resource.cputotal }}
From af00cae8086ea74feb47540b17cab03b1dfb9d8a Mon Sep 17 00:00:00 2001 From: "layon.oliveira" Date: Thu, 28 Nov 2024 19:06:59 -0300 Subject: [PATCH 2/2] Add tooltip to memory --- ui/src/components/view/InfoCard.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 8680a23fc27b..6b42d68ddc35 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -231,7 +231,16 @@
{{ $t('label.memory') }}
- {{ resource.memorytotalgb + ' ' + $t('label.memory') }} + + + {{ resource.memorytotalgb + ' ' + $t('label.memory') }} + + + + +