ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject git commit: AMBARI-5950. Populate components section of Slider App details page (alexantonenko)
Date Thu, 29 May 2014 22:49:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 36439d08c -> db7f9b6ad


AMBARI-5950. Populate components section of Slider App details page (alexantonenko)


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

Branch: refs/heads/trunk
Commit: db7f9b6ad9d2fa77c253ecf755efd0a5bb71bada
Parents: 36439d0
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri May 30 01:40:14 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri May 30 01:40:14 2014 +0300

----------------------------------------------------------------------
 .../resources/ui/app/templates/slider_app/summary.hbs     | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/db7f9b6a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
index da4f15e..010bb9b 100644
--- a/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
+++ b/contrib/views/slider/src/main/resources/ui/app/templates/slider_app/summary.hbs
@@ -54,6 +54,16 @@
     </div>
     <div class="col-md-6">
       {{#bs-panel heading="Components"}}
+          <table class="table table-striped table-bordered table-condensed">
+              <tbody>
+              {{#each controller.model.components}}
+                <tr>
+                  <td>{{componentName}}</td>
+                  <td>{{host}}</td>
+                </tr>
+              {{/each}}
+              </tbody>
+          </table>
       {{/bs-panel}}
     </div>
   </div>


Mime
View raw message