Revision 720671b8
Added by Ondřej Pražák over 6 years ago
app/assets/javascripts/foreman_pipeline/jobs/details/views/job-details-hostgroups.html | ||
---|---|---|
1 | 1 |
<span page-title ng-model="job">{{ 'Job: ' | translate }} {{ job.name }}</span> |
2 | 2 |
|
3 |
<div class="details details-full">
|
|
3 |
<section class="details details-full">
|
|
4 | 4 |
<div bst-alerts success-messages="successMessages" error-messages="errorMessages"></div> |
5 | 5 |
|
6 | 6 |
<h4> |
7 | 7 |
<span translate>Current Hostgroup: </span> |
8 | 8 |
<a ng-click="transitionToHostgroup(job.hostgroup)" ng-show="job.hostgroup.name"> |
9 | 9 |
<span class="no-capitalize" ng-bind="job.hostgroup.name"></span> |
10 |
</a>
|
|
10 |
</a> |
|
11 | 11 |
<span class="no-capitalize" ng-show="!job.hostgroup.name" translate>none</span> |
12 | 12 |
</h4> |
13 | 13 |
|
... | ... | |
21 | 21 |
|
22 | 22 |
<p class="alert alert-info" |
23 | 23 |
ng-hide="hostgroupsTable.working" |
24 |
translate> No Hostgroups to show.
|
|
25 |
</p>
|
|
24 |
translate> No Hostgroups to show. |
|
25 |
</p> |
|
26 | 26 |
</div> |
27 | 27 |
|
28 | 28 |
<section ng-show="hostgroupsTable.rows.length > 0"> |
... | ... | |
40 | 40 |
ng-hide="edit_jobs" |
41 | 41 |
ng-disabled="!hostgroupsTable.chosenRow || hostgroupsTable.working" |
42 | 42 |
ng-click="setHostgroup()"> |
43 |
<i class="fa fa-pencil" ng-hide="hostgroupsTable.working"></i>
|
|
44 |
<i class="fa fa-spinner fa-spin" ng-show="hostgroupsTable.working"></i>
|
|
43 |
<i class="fa fa-pencil" ng-hide="hostgroupsTable.working"></i> |
|
44 |
<i class="fa fa-spinner fa-spin" ng-show="hostgroupsTable.working"></i> |
|
45 | 45 |
{{ 'Set Hostgroup' | translate }} |
46 | 46 |
</button> |
47 | 47 |
</div> |
... | ... | |
50 | 50 |
<div bst-table="hostgroupsTable" class="nutupane"> |
51 | 51 |
<div bst-container-scroll bst-infinite-scroll="hostgroupsTable.nextPage()"> |
52 | 52 |
|
53 |
<table
|
|
53 |
<table |
|
54 | 54 |
ng-class="{'table-mask': hostgroupsTable.working}" |
55 | 55 |
class="table table-striped table-full"> |
56 | 56 |
|
... | ... | |
63 | 63 |
|
64 | 64 |
<tbody> |
65 | 65 |
<tr bst-table-row ng-repeat="hostgroup in hostgroupsTable.rows | filter:hostgroupFilter" row-choice="hostgroup"> |
66 |
|
|
66 |
|
|
67 | 67 |
<td bst-table-cell> |
68 | 68 |
<a ng-click="transitionToHostgroup(hostgroup)"> |
69 | 69 |
{{ hostgroup.name }} |
... | ... | |
73 | 73 |
|
74 | 74 |
</tr> |
75 | 75 |
</tbody> |
76 |
|
|
76 |
|
|
77 | 77 |
</table> |
78 | 78 |
</div> |
79 | 79 |
</div> |
80 | 80 |
</section> |
81 |
</div> |
|
81 |
</section> |
Also available in: Unified diff
Fixes #13288 - Fix for pattrenfly UI