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:54:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.0.slider a7839a120 -> 8df5a36ad


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/8df5a36a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8df5a36a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8df5a36a

Branch: refs/heads/branch-1.6.0.slider
Commit: 8df5a36adc10e5842d2d3b428b8da57ecf7fed01
Parents: a7839a1
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Fri May 30 01:54:10 2014 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Fri May 30 01:54:10 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/8df5a36a/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 b6628c9..e06a063 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