github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/ui/app/templates/components/job-page/parts/children.hbs (about) 1 <div class="boxed-section-head"> 2 Job Launches 3 </div> 4 <div class="boxed-section-body {{if sortedChildren.length "is-full-bleed"}}"> 5 {{#if sortedChildren}} 6 {{#list-pagination 7 source=sortedChildren 8 size=pageSize 9 page=currentPage as |p|}} 10 {{#list-table 11 source=p.list 12 sortProperty=sortProperty 13 sortDescending=sortDescending 14 class="with-foot" as |t|}} 15 {{#t.head}} 16 {{#t.sort-by prop="name"}}Name{{/t.sort-by}} 17 {{#t.sort-by prop="status"}}Status{{/t.sort-by}} 18 {{#t.sort-by prop="type"}}Type{{/t.sort-by}} 19 {{#t.sort-by prop="priority"}}Priority{{/t.sort-by}} 20 <th>Groups</th> 21 <th class="is-3">Summary</th> 22 {{/t.head}} 23 {{#t.body key="model.id" as |row|}} 24 {{job-row data-test-job-row job=row.model onClick=(action gotoJob row.model)}} 25 {{/t.body}} 26 {{/list-table}} 27 <div class="table-foot"> 28 <nav class="pagination"> 29 <div class="pagination-numbers"> 30 {{p.startsAt}}–{{p.endsAt}} of {{sortedChildren.length}} 31 </div> 32 {{#p.prev class="pagination-previous"}} < {{/p.prev}} 33 {{#p.next class="pagination-next"}} > {{/p.next}} 34 <ul class="pagination-list"></ul> 35 </nav> 36 </div> 37 {{/list-pagination}} 38 {{else}} 39 <div class="empty-message"> 40 <h3 class="empty-message-headline">No Job Launches</h3> 41 <p class="empty-message-body">No remaining living job launches.</p> 42 </div> 43 {{/if}} 44 </div>