Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dynamic-rows.html #1694

Open
wants to merge 1 commit into
base: 2.8.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@
</label>

<div class="admin__field-control" data-role="grid-wrapper" attr="'data-index': index">
<div class="admin__control-table-pagination" visible="!!$data.getRecordCount()">
<div class="admin__data-grid-pager-wrap">
<select class="admin__control-select" data-bind="value:pageSize, event:{change: reload}">
<option value="5">5</option>
<option value="20" selected="selected">20</option>
<option value="30">30</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="200">200</option>
<option value="500">500</option>
<option value="999">999</option>
</select>
<label class="admin__control-support-text" data-bind="text: $t('per page')"></label>
<div class="admin__data-grid-pager">
<button class="action-previous" type="button" data-bind="attr: {title: $t('Previous Page')}, click: previousPage, disable: isFirst()"></button>
<input class="admin__control-text" type="number" data-bind="attr: {id: ++ko.uid}, value: currentPage">
<label class="admin__control-support-text" data-bind="attr: {for: ko.uid}, text: 'of ' + pages()"></label>
<button class="action-next" type="button" data-bind="attr: {title: $t('Next Page')}, click: nextPage, disable: isLast()"></button>
</div>
</div>
</div>

<div class="admin__control-table-wrapper">
<div data-role="spinner"
class="admin__data-grid-loading-mask"
Expand Down