[Kimchi-devel] [PATCH] [Kimchi 2/2] Whitespace fixes in existing code

dhbarboza82 at gmail.com dhbarboza82 at gmail.com
Wed Jan 27 18:50:09 UTC 2016


From: Daniel Henrique Barboza <dhbarboza82 at gmail.com>

Fixes to allow make check-local to pass after adding
the whitespace verification.

Signed-off-by: Daniel Henrique Barboza <dhbarboza82 at gmail.com>
---
 kimchi.conf                          |  1 -
 ui/css/src/modules/_network.scss     | 12 ++++++------
 ui/js/src/kimchi.network_add_main.js |  4 ++--
 ui/pages/guest-edit.html.tmpl        |  2 +-
 4 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/kimchi.conf b/kimchi.conf
index 0ea916a..108ef9c 100644
--- a/kimchi.conf
+++ b/kimchi.conf
@@ -35,4 +35,3 @@ tools.nocache.on = False
 tools.staticdir.on = True
 tools.staticdir.dir = wok.config.PluginPaths('kimchi').ui_dir + '/pages/help'
 tools.nocache.on = True
-
diff --git a/ui/css/src/modules/_network.scss b/ui/css/src/modules/_network.scss
index 52b2003..2da5213 100644
--- a/ui/css/src/modules/_network.scss
+++ b/ui/css/src/modules/_network.scss
@@ -1,7 +1,7 @@
 //
 // Project Kimchi
 //
-// Copyright IBM, Corp. 2015
+// Copyright IBM, Corp. 2015-2016
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@
 #network-root-container {
 
     .wok-nw-loading-icon {
-        background: transparent url('#{$wok-icon-path}/spin5.svg') no-repeat 50% 50%; 
+        background: transparent url('#{$wok-icon-path}/spin5.svg') no-repeat 50% 50%;
         @include animation(spin 3s infinite linear);
         height: 16px;
         width: 16px;
@@ -73,7 +73,7 @@
         .loading > .fa,
         .down .fa {
           display: none;
-        }        
+        }
     }
 
     .wok-datagrid > .wok-datagrid-header,
@@ -105,15 +105,15 @@
             text-align: right;
         }
 
-    } 
+    }
 
     .wok-datagrid > .wok-datagrid-body > .wok-datagrid-row > span {
 
       &.column-state {
         height: 53px;
-        vertical-align: middle;        
+        vertical-align: middle;
       }
 
-    }   
+    }
 
 }
diff --git a/ui/js/src/kimchi.network_add_main.js b/ui/js/src/kimchi.network_add_main.js
index 0087407..76d436f 100644
--- a/ui/js/src/kimchi.network_add_main.js
+++ b/ui/js/src/kimchi.network_add_main.js
@@ -1,7 +1,7 @@
 /*
  * Project Kimchi
  *
- * Copyright IBM, Corp. 2013-2015
+ * Copyright IBM, Corp. 2013-2016
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -154,7 +154,7 @@ kimchi.setupNetworkFormEvent = function() {
         } else if (selectedType ==  'macvtap') {
             kimchi.enableBridgeOptions(true);
         }
-    }); 
+    });
 };
 
 kimchi.updateNetworkFormButton = function() {
diff --git a/ui/pages/guest-edit.html.tmpl b/ui/pages/guest-edit.html.tmpl
index 0c2994d..0ad635c 100644
--- a/ui/pages/guest-edit.html.tmpl
+++ b/ui/pages/guest-edit.html.tmpl
@@ -207,7 +207,7 @@
         </span>
         <span class="cell column-mac">
             <span id="label-mac-{id}" class="{viewMode}">{mac}</span>
-            <input class="form-control {editMode}" type="text" 
+            <input class="form-control {editMode}" type="text"
                id="edit-mac-{id}" class="form-control" name="{mac}" value="{mac}" />
         </span>
         <span class="cell column-ip">
-- 
2.5.0




More information about the Kimchi-devel mailing list