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 2014/05/30 00:49:13 UTC
git commit: AMBARI-5950. Populate components section of Slider App
details page (alexantonenko)
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 <hi...@gmail.com>
Authored: Fri May 30 01:40:14 2014 +0300
Committer: Alex Antonenko <hi...@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>