[Kimchi-devel] [PATCH] Add %Used in the header for storage

Socorro Stoppler socorro at linux.vnet.ibm.com
Wed Apr 8 17:23:46 UTC 2015


From: Socorro Stoppler <socorrob at us.ibm.com>

In the first column in the Storage tab, %Used is added in the header to clarify the % shown pertains to %Used.

Signed-off-by: Socorro Stoppler <socorrob at us.ibm.com>
---
 ui/css/theme-default/storage.css | 5 +++++
 ui/pages/tabs/storage.html.tmpl  | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ui/css/theme-default/storage.css b/ui/css/theme-default/storage.css
index e1ac561..0610278 100644
--- a/ui/css/theme-default/storage.css
+++ b/ui/css/theme-default/storage.css
@@ -185,6 +185,11 @@
     width: 199px;
 }
 
+.title-usage {
+    padding-right: 10px;
+    float: right;
+}
+
 .title-state {
     width: 51px;
 }
diff --git a/ui/pages/tabs/storage.html.tmpl b/ui/pages/tabs/storage.html.tmpl
index 778cf90..c5171a7 100644
--- a/ui/pages/tabs/storage.html.tmpl
+++ b/ui/pages/tabs/storage.html.tmpl
@@ -31,7 +31,10 @@
 </div>
 <div>
     <div class="list-title">
-        <li class="title-name">$_("Name")</li>
+        <li class="title-name">
+		<span>$_("Name")</span>
+		<span class="title-usage">$_("%Used")</span>
+        </li>
         <li class="title-state" >$_("State")</li>
         <li class="title-location">$_("Location")</li>
         <li class="title-type">$_("Type")</li>
-- 
1.9.1




More information about the Kimchi-devel mailing list