From 238bf6da62d5e7c239135286cee81423c82ac830 Mon Sep 17 00:00:00 2001 From: Abel Coronado Date: Thu, 9 Mar 2017 18:49:43 +0100 Subject: [PATCH] Vm group (#213) * Little change in style in role datatable * Restyled labels in role-tab --- .../app/tabs/vmgroup-tab/utils/role-tab.js | 10 ++++------ .../app/tabs/vmgroup-tab/utils/role-tab/html.hbs | 16 +++++++++++----- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab.js b/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab.js index c4dbba62d4..b8bd0532fe 100644 --- a/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab.js +++ b/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab.js @@ -104,9 +104,8 @@ define(function(require) { if(!equals(that.host_affined, text) && !equals(that.host_anti_affined, text)){ html = "\ "+text+" \ - \ -
"; - var div = '
' + html + '
'; + "; + var div = '
' + html + '
'; $("#group_vm_host_roles_"+that.html_role_id+"_anti_affined").append(div); that.host_anti_affined.push(text); } @@ -117,9 +116,8 @@ define(function(require) { if(!equals(that.host_affined, text) && !equals(that.host_anti_affined, text)){ html = "\ "+text+" \ - \ -
"; - var div = '
' + html + '
'; + "; + var div = '
' + html + '
'; $("#group_vm_host_roles_"+that.html_role_id+"_affined").append(div); that.host_affined.push(text); } diff --git a/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab/html.hbs b/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab/html.hbs index 084345cc0e..1d3e0deb44 100644 --- a/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab/html.hbs +++ b/src/sunstone/public/app/tabs/vmgroup-tab/utils/role-tab/html.hbs @@ -52,22 +52,28 @@
-
-
+ +
+
-
+
-
+ + +
+
-
+
+
+
\ No newline at end of file