You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2013/12/17 20:32:04 UTC

git commit: AMBARI-4088. UI doesn't select all hosts on Assign Slaves step sometimes. Additional patch. (alexantonenko)

Updated Branches:
  refs/heads/trunk 4522c0d1b -> b12c19c3c


AMBARI-4088. UI doesn't select all hosts on Assign Slaves step sometimes. Additional patch. (alexantonenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b12c19c3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b12c19c3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b12c19c3

Branch: refs/heads/trunk
Commit: b12c19c3cc6bc285d5b94c2b891478162c32cf6b
Parents: 4522c0d
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Dec 17 20:57:25 2013 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Tue Dec 17 20:57:25 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/styles/application.less    | 22 ++++++++++++++++++++--
 ambari-web/app/styles/apps.less           | 24 +-----------------------
 ambari-web/app/templates/wizard/step6.hbs |  6 +++---
 3 files changed, 24 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b12c19c3/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 9c17e14..c7a15f6 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -400,8 +400,26 @@ h1 {
       color: #FF4B4B;
     }
   }
-  #step6 .pre-scrollable {
-    max-height: 440px;
+  #step6 {
+    .pre-scrollable {
+      max-height: 440px;
+      position: relative;
+    }
+    .hidden-scroll {
+      overflow-y: hidden;
+    }
+    .spinner-overlay {
+      position: absolute;
+      width: 100%;
+      height: 100%;
+      background-color: #808080;
+      opacity: 0.2;
+    }
+    .spinner {
+      position: absolute;
+      margin-top: 30%;
+      margin-left: 50%;
+    }
   }
   #deploy {
     #overallProgress {

http://git-wip-us.apache.org/repos/asf/ambari/blob/b12c19c3/ambari-web/app/styles/apps.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/apps.less b/ambari-web/app/styles/apps.less
index b52c91f..9745099 100644
--- a/ambari-web/app/styles/apps.less
+++ b/ambari-web/app/styles/apps.less
@@ -531,26 +531,4 @@
       width: 400px;
   }
   }
-}
-
-/*Big modal window end*/
-#step6{
-  .spinner-overlay{
-    z-index: 100;
-    position: absolute;
-    margin-top: 169px;
-    width: 758px;
-    height: 444px;
-    background-color: #808080;
-    opacity:0.2;
-  }
-  .spinner {
-    position: absolute;
-    z-index: 100;
-    margin-top: 369px;
-    margin-left: 362px;
-    display: inline-block;
-    width: 36px;
-    opacity: 1;
-  }
-}
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/ambari/blob/b12c19c3/ambari-web/app/templates/wizard/step6.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step6.hbs b/ambari-web/app/templates/wizard/step6.hbs
index 4dca371..49721c8 100644
--- a/ambari-web/app/templates/wizard/step6.hbs
+++ b/ambari-web/app/templates/wizard/step6.hbs
@@ -17,15 +17,15 @@
 }}
 
 <div id="step6">
-  <div {{bindAttr class=":spinner-overlay controller.isLoaded:hidden"}}></div>
-  <i {{bindAttr class=":icon-spin :spinner controller.isLoaded:hidden"}}></i>
   <h2>{{view.title}}</h2>
   <div class="alert alert-info">{{{view.label}}}</div>
   {{#if errorMessage}}
     <div class="alert alert-error">{{errorMessage}}</div>
   {{/if}}
 
-  <div class="pre-scrollable">
+  <div {{bindAttr class="controller.isLoaded::hidden-scroll :pre-scrollable" }}>
+      <div {{bindAttr class=":spinner-overlay controller.isLoaded:hidden"}}></div>
+      <i {{bindAttr class=":icon-spin :spinner controller.isLoaded:hidden"}}></i>
     <table class="table table-striped">
       <thead>
         <tr>