From 5f034650a3f67538efadeb829ec0842a7fa33cf3 Mon Sep 17 00:00:00 2001 From: Vitaly Kramskikh Date: Wed, 18 Jul 2012 18:05:20 +0400 Subject: [PATCH] Roles Assign dialog stub, some UI refactor --- nailgun/nailgun/static/css/overlap.css | 4 ++ nailgun/nailgun/static/index.html | 12 ------ nailgun/nailgun/static/js/views/cluster.js | 6 ++- nailgun/nailgun/static/js/views/dialogs.js | 29 +++++++++++--- .../static/templates/cluster/node.html | 2 +- .../static/templates/cluster/page.html | 11 ++++-- .../templates/dialogs/add_remove_nodes.html | 4 +- .../templates/dialogs/assign_roles.html | 39 +++++++++++++++++++ .../templates/dialogs/create_cluster.html | 4 +- 9 files changed, 84 insertions(+), 27 deletions(-) create mode 100644 nailgun/nailgun/static/templates/dialogs/assign_roles.html diff --git a/nailgun/nailgun/static/css/overlap.css b/nailgun/nailgun/static/css/overlap.css index 5873d4812..484359888 100644 --- a/nailgun/nailgun/static/css/overlap.css +++ b/nailgun/nailgun/static/css/overlap.css @@ -241,6 +241,10 @@ behavior: url(/static/css/pie.htc); color: #333333; } +.cluster-control .btn { + margin-left: 15px; +} + .dialog-node { cursor: pointer !important; } diff --git a/nailgun/nailgun/static/index.html b/nailgun/nailgun/static/index.html index 98396ebf1..71131a9e7 100644 --- a/nailgun/nailgun/static/index.html +++ b/nailgun/nailgun/static/index.html @@ -10,18 +10,6 @@ -