[Kimchi-devel] [PATCH v2][Kimchi] Fix minor issues in Kimchi UI: Template CPUs and Guest CPUs
Ramon Medeiros
ramonn at linux.vnet.ibm.com
Fri Mar 4 18:53:53 UTC 2016
Reviewed-By: Ramon Medeiros <ramonn at br.ibm.com>
On 03/04/2016 01:59 PM, Rodrigo Trujillo wrote:
> This patch apply two fixes:
> - display Templates number of cores (it was missing the number)
> - change "Memory Used" by "Memory Utilization"
>
> Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
> ---
> ui/pages/guest.html.tmpl | 2 +-
> ui/pages/tabs/guests.html.tmpl | 2 +-
> ui/pages/tabs/templates.html.tmpl | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/ui/pages/guest.html.tmpl b/ui/pages/guest.html.tmpl
> index be9b47e..c8f32a9 100644
> --- a/ui/pages/guest.html.tmpl
> +++ b/ui/pages/guest.html.tmpl
> @@ -82,7 +82,7 @@
> <div class="progress-bar light-grey cpu"></div>
> <div class="progress-bar cpu-progress-bar"></div>
> </div><!--
> - --><span class="item-hidden">$_("Processors Used")</span>
> + --><span class="item-hidden">$_("Processors Utilization")</span>
> </span><!--
> --><span class='column-memory'>
> <div class='percentage-label memory-percentage'></div>
> diff --git a/ui/pages/tabs/guests.html.tmpl b/ui/pages/tabs/guests.html.tmpl
> index 4d72ea6..af68d66 100644
> --- a/ui/pages/tabs/guests.html.tmpl
> +++ b/ui/pages/tabs/guests.html.tmpl
> @@ -72,7 +72,7 @@
> --><span class="column-name"><span>$_("Guest Name ID")</span></span><!--
> --><span class="column-type"><span>$_("OS Type")</span></span><!--
> --><span class="column-vnc"><span>$_("VNC")</span></span><!--
> - --><span class="column-processors"><span>$_("Processors Used")</span></span><!--
> + --><span class="column-processors"><span>$_("Processors Utilization")</span></span><!--
> --><span class="column-memory"><span>$_("Memory Utilization")</span></span><!--
> --><span class="column-storage"><span>$_("Storage I/O")</span></span><!--
> --><span class="column-network"><span>$_("Network I/O")</span></span><!--
> diff --git a/ui/pages/tabs/templates.html.tmpl b/ui/pages/tabs/templates.html.tmpl
> index d62a8c3..7e92a37 100644
> --- a/ui/pages/tabs/templates.html.tmpl
> +++ b/ui/pages/tabs/templates.html.tmpl
> @@ -127,7 +127,7 @@
> --><span class="item-hidden column-type os-type-filter">$_("OS")</span><!--
> --><span class='column-version os-version-filter font-bold' val="{os_version}">{os_version}</span><!--
> --><span class="item-hidden column-version os-version-filter">$_("Version")</span><!--
> - --><span class='column-processors cpus-filter' val="{cpus}"><strong>{cpus}</strong> $_("cores")</span><!--
> + --><span class='column-processors cpus-filter' val="{cpu_info.vcpus}"><strong>{cpu_info.vcpus}</strong> $_("cores")</span><!--
> --><span class="item-hidden column-processors cpus-filter">$_("CPUs")</span><!--
> --><span class='column-memory memory-filter' val="{memory.current}"><strong>{memory.current}</strong> $_("M")</span><!--
> --><span class="item-hidden column-memory memory-filter">$_("Memory")</span>
--
Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn at br.ibm.com
More information about the Kimchi-devel
mailing list