[Kimchi-devel] [PATCH] Bug Fix: Fix network list layout.

Wen Wang wenwang at linux.vnet.ibm.com
Wed Jun 18 06:10:01 UTC 2014


From: Wen Wang <wenwang at linux.vnet.ibm.com>

Changed back layout of netwrok list to the same style of other kimchi
lists. Squeeze the one space that appears between the network list label
"<span>"

Signed-off-by: Wen Wang <wenwang at linux.vnet.ibm.com>
---
 ui/pages/tabs/network.html.tmpl |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ui/pages/tabs/network.html.tmpl b/ui/pages/tabs/network.html.tmpl
index 36bb492..18fccef 100644
--- a/ui/pages/tabs/network.html.tmpl
+++ b/ui/pages/tabs/network.html.tmpl
@@ -33,12 +33,12 @@
 <div id="network-content" class="network">
     <div class="list">
         <div class="header">
-        <span class="column column-name">$_("Network Name")</span>
-        <span class="column column-state">$_("State")</span>
-        <span class="column column-type">$_("Network Type")</span>
-        <span class="column column-interface">$_("Interface")</span>
-        <span class="column column-space">$_("Address Space")</span>
-        <span class="column">$_("Actions")</span>
+        <span class="column column-name">$_("Network Name")</span><!--
+     --><span class="column column-state">$_("State")</span><!--
+     --><span class="column column-type">$_("Network Type")</span><!--
+     --><span class="column column-interface">$_("Interface")</span><!--
+     --><span class="column column-space">$_("Address Space")</span><!--
+     --><span class="column">$_("Actions")</span>
         </div>
         <div id="networkBody" class="empty-when-logged-off"></div>
     </div>
@@ -99,12 +99,12 @@
 </div>
 <script id="networkItem" type="text/html">
     <div id='{name}' class='item remove-when-logged-off'>
-    <span class='column column-name cell' title="{name}">{name}</span>
-    <span class='column column-state cell'><span class='network-state {state}'></span></span>
-    <span class='column column-type cell'>{type}</span>
-    <span class='column column-interface cell'>{interface}</span>
-    <span class='column column-space cell'>{addrSpace}</span>
-    <span class='column-action'>
+    <span class='column column-name cell' title="{name}">{name}</span><!--
+ --><span class='column column-state cell'><span class='network-state {state}'></span></span><!--
+ --><span class='column column-type cell'>{type}</span><!--
+ --><span class='column column-interface cell'>{interface}</span><!--
+ --><span class='column column-space cell'>{addrSpace}</span><!--
+ --><span class='column-action'>
         <span class="ui-button-secondary dropdown popable action-button">
             $_("Actions")
             <ul class='popover actionsheet right-side menu-container'>
-- 
1.7.1




More information about the Kimchi-devel mailing list