mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Use the right footer pagination styles on task group page
This commit is contained in:
@@ -64,7 +64,8 @@
|
||||
{{#list-table
|
||||
source=p.list
|
||||
sortProperty=sortProperty
|
||||
sortDescending=sortDescending as |t|}}
|
||||
sortDescending=sortDescending
|
||||
class="with-foot" as |t|}}
|
||||
{{#t.head}}
|
||||
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
|
||||
{{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}}
|
||||
@@ -78,19 +79,16 @@
|
||||
{{allocation-row allocation=row.model context="job" onClick=(action "gotoAllocation" row.model)}}
|
||||
{{/t.body}}
|
||||
{{/list-table}}
|
||||
<nav class="pagination is-centered">
|
||||
<ul class="pagination-list">
|
||||
{{#p.first class="pagination-link"}} |< {{/p.first}}
|
||||
{{#p.prev class="pagination-link"}} < {{/p.prev}}
|
||||
{{#each p.pageLinks as |link|}}
|
||||
{{#link-to (query-params currentPage=link.pageNumber) class="pagination-link" activeClass="is-current"}}
|
||||
{{link.pageNumber}}
|
||||
{{/link-to}}
|
||||
{{/each}}
|
||||
{{#p.next class="pagination-link"}} > {{/p.next}}
|
||||
{{#p.last class="pagination-link"}} >| {{/p.last}}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="table-foot">
|
||||
<nav class="pagination">
|
||||
<div class="pagination-numbers">
|
||||
{{p.startsAt}}–{{p.endsAt}} of {{sortedAllocations.length}}
|
||||
</div>
|
||||
{{#p.prev class="pagination-previous"}} < {{/p.prev}}
|
||||
{{#p.next class="pagination-next"}} > {{/p.next}}
|
||||
<ul class="pagination-list"></ul>
|
||||
</nav>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="boxed-section-body">
|
||||
<div class="empty-message">
|
||||
|
||||
Reference in New Issue
Block a user