Added proper support for 'runner_on_no_hosts' events.

This commit is contained in:
Chris Houseknecht
2014-05-01 16:49:54 -04:00
parent 042e15f109
commit 5fa351040a
34 changed files with 1263 additions and 374 deletions

View File

@@ -89,6 +89,7 @@
<div class="changed-hosts inner-bar" aw-tool-tip="{{ task.changedCount}} hosts changed" aw-tip-watch="task.changedCount" data-placement="top" ng-style="{{ task.changedStyle }}">{{ task.changedCount }}</div>
<div class="skipped-hosts inner-bar" aw-tool-tip="{{ task.skippedCount}} hosts skipped" aw-tip-watch="task.skippedCount" data-placement="top" ng-style="{{ task.skippedStyle }}">{{ task.skippedCount }}</div>
<div class="failed-hosts inner-bar" aw-tool-tip="{{ task.failedCount}} hosts failed" aw-tip-watch="task.failedCount" data-placement="top" ng-style="{{ task.failedStyle }}">{{ task.failedCount }}</div>
<div class="no-matching-hosts inner-bar" aw-tool-tip="No matching hosts were found" data-placement="top" style="width: 100%;" ng-show="task.status === 'no-matching-hosts'">No matching hosts</div>
</div>
</div>
</div>
@@ -107,7 +108,7 @@
<div id="hosts-table-detail" aw-custom-scroll data-on-total-scroll="HostDetailOnTotalScroll"
data-on-total-scroll-back="HostDetailOnTotalScrollBack" class="table-detail">
<div id="hosts-table-detail-inner">
<div class="row" ng-repeat="result in hostResults | filter:{ task_id: activeTask }">
<div class="row" ng-repeat="result in results = (hostResults | filter:{ task_id: activeTask })">
<div class="col-lg-7 col-md-7 col-sm-7 col-xs-7 status-column">
<a href="" ng-click="doSomething()" aw-tool-tip="Event Id: {{ result.id }} Status: {{ result.status }}. Click for details" data-placement="top"><i class="fa icon-job-{{ result.status }}"></i> {{ result.name }}</a>
</div>
@@ -115,9 +116,9 @@
{{ result.msg }}
</div>
</div>
<div class="row" ng-show="hostResults.length === 0">
<div class="row" ng-show="results.length === 0">
<div class="col-lg-12">
<div class="loading-info">No records matched your search.</div>
<div class="loading-info">No hosts matched</div>
</div>
</div>
</div>
@@ -165,7 +166,7 @@
</div>
<div class="row" ng-show="hosts.length === 0">
<div class="col-lg-12">
<div class="loading-info">No records matched your search.</div>
<div class="loading-info">No hosts matched</div>
</div>
</div>
</div>