From 3f9b6b1c6f491c96b86d2e73a4a2c4d8a6463593 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 29 Oct 2015 13:08:17 +0530 Subject: [PATCH] metrics: cosmetic and alignment fixes Signed-off-by: Rohit Yadav --- client/WEB-INF/classes/resources/messages.properties | 6 +++--- ui/scripts/ui/widgets/listView.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index e0675d93491..a5c0b6fa477 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -852,10 +852,10 @@ label.metrics.disk.allocated=Allocated label.metrics.disk.unallocated=Unallocated label.metrics.disk.write=Write label.metrics.hosts=Hosts -label.metrics.memory.allocated=Memory Allocated -label.metrics.memory.max.dev=Max Deviation +label.metrics.memory.allocated=Mem Allocated +label.metrics.memory.max.dev=Max Dev label.metrics.memory.total=Total -label.metrics.memory.usage=Memory Usage +label.metrics.memory.usage=Mem Usage label.metrics.memory.used.avg=Used label.metrics.name=Name label.metrics.network.usage=Network Usage diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js index a1bcd305184..0a7febe7d18 100644 --- a/ui/scripts/ui/widgets/listView.js +++ b/ui/scripts/ui/widgets/listView.js @@ -784,11 +784,11 @@ if ($th.index()) $th.addClass('reduced-hide'); if (colspan > 1) { $th.css({'border-right': '1px solid #C6C3C3', 'border-left': '1px solid #C6C3C3'}); - $('').html(trText).appendTo($th); var karetLeft = $('').html('«').css({'float': 'right', 'font-size': '15px'}); karetLeft.attr('title', trText); karetLeft.appendTo($th); + $('').html(trText).appendTo($th); karetLeft.click(function(event) { event.stopPropagation(); @@ -820,7 +820,7 @@ var karetRight = addColumnToTr($tr, 'collapsible-column', 1, ''); $('').html(trText.substring(0,3)).appendTo(karetRight); - $('').css({'font-size': '15px'}).html('»').appendTo(karetRight); + $('').css({'font-size': '15px'}).html(' »').appendTo(karetRight); karetRight.attr('title', trText); karetRight.css({'border-right': '1px solid #C6C3C3', 'border-left': '1px solid #C6C3C3', 'min-width': '10px', 'width': '10px', 'max-width': '45px', 'padding': '2px'}); karetRight.hide();