|
1 |
| -<div class="ui-grid-pager-panel" ui-grid-pager ng-show="grid.options.enablePaginationControls"> |
2 |
| - <div class="ui-grid-pager-container"> |
3 |
| - <div class="ui-grid-pager-control"> |
4 |
| - <button type="button" class="ui-grid-pager-first" ng-click="paginationApi.seek(1)" ng-disabled="cantPageBackward()"><div class="first-triangle"><div class="first-bar"></div></div></button> |
5 |
| - <button type="button" class="ui-grid-pager-previous" ng-click="paginationApi.previousPage()" ng-disabled="cantPageBackward()"><div class="first-triangle prev-triangle"></div></button> |
6 |
| - <input type="number" ng-model="grid.options.paginationCurrentPage" min="1" max="{{ paginationApi.getTotalPages() }}" required /> |
7 |
| - <span class="ui-grid-pager-max-pages-number" ng-show="paginationApi.getTotalPages() > 0">/ {{ paginationApi.getTotalPages() }}</span> |
8 |
| - <button type="button" class="ui-grid-pager-next" ng-click="paginationApi.nextPage()" ng-disabled="cantPageForward()"><div class="last-triangle next-triangle"></div></button> |
9 |
| - <button type="button" class="ui-grid-pager-last" ng-click="paginationApi.seek(paginationApi.getTotalPages())" ng-disabled="cantPageToLast()"><div class="last-triangle"><div class="last-bar"></div></div></button> |
| 1 | +<div |
| 2 | + role="contentinfo" |
| 3 | + class="ui-grid-pager-panel" |
| 4 | + ui-grid-pager |
| 5 | + ng-show="grid.options.enablePaginationControls"> |
| 6 | + <div |
| 7 | + role="navigation" |
| 8 | + class="ui-grid-pager-container"> |
| 9 | + <div |
| 10 | + role="menubar" |
| 11 | + class="ui-grid-pager-control"> |
| 12 | + <button |
| 13 | + type="button" |
| 14 | + role="menuitem" |
| 15 | + class="ui-grid-pager-first" |
| 16 | + ui-grid-one-bind-title="aria.pageToFirst" |
| 17 | + ui-grid-one-bind-aria-label="aria.pageToFirst" |
| 18 | + ng-click="pageFirstPageClick()" |
| 19 | + ng-disabled="cantPageBackward()"> |
| 20 | + <div class="first-triangle"> |
| 21 | + <div class="first-bar"></div> |
| 22 | + </div> |
| 23 | + </button> |
| 24 | + <button |
| 25 | + type="button" |
| 26 | + role="menuitem" |
| 27 | + class="ui-grid-pager-previous" |
| 28 | + ui-grid-one-bind-title="aria.pageBack" |
| 29 | + ui-grid-one-bind-aria-label="aria.pageBack" |
| 30 | + ng-click="pagePreviousPageClick()" |
| 31 | + ng-disabled="cantPageBackward()"> |
| 32 | + <div class="first-triangle prev-triangle"></div> |
| 33 | + </button> |
| 34 | + <input |
| 35 | + type="number" |
| 36 | + ui-grid-one-bind-title="aria.pageSelected" |
| 37 | + ui-grid-one-bind-aria-label="aria.pageSelected" |
| 38 | + class="ui-grid-pager-control-input" |
| 39 | + ng-model="grid.options.paginationCurrentPage" |
| 40 | + min="1" |
| 41 | + max="{{ paginationApi.getTotalPages() }}" |
| 42 | + required /> |
| 43 | + <span |
| 44 | + class="ui-grid-pager-max-pages-number" |
| 45 | + ng-show="paginationApi.getTotalPages() > 0"> |
| 46 | + <abbr ui-grid-one-bind-title="paginationOf">/</abbr> {{ paginationApi.getTotalPages() }} |
| 47 | + </span> |
| 48 | + <button |
| 49 | + type="button" |
| 50 | + role="menuitem" |
| 51 | + class="ui-grid-pager-next" |
| 52 | + ui-grid-one-bind-title="aria.pageForward" |
| 53 | + ui-grid-one-bind-aria-label="aria.pageForward" |
| 54 | + ng-click="pageNextPageClick()" |
| 55 | + ng-disabled="cantPageForward()"> |
| 56 | + <div class="last-triangle next-triangle"></div> |
| 57 | + </button> |
| 58 | + <button |
| 59 | + type="button" |
| 60 | + role="menuitem" |
| 61 | + class="ui-grid-pager-last" |
| 62 | + ui-grid-one-bind-title="aria.pageToLast" |
| 63 | + ui-grid-one-bind-aria-label="aria.pageToLast" |
| 64 | + ng-click="pageLastPageClick()" |
| 65 | + ng-disabled="cantPageToLast()"> |
| 66 | + <div class="last-triangle"> |
| 67 | + <div class="last-bar"> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + </button> |
10 | 71 | </div>
|
11 |
| - <div class="ui-grid-pager-row-count-picker" ng-if="grid.options.paginationPageSizes.length > 1"> |
12 |
| - <select ng-model="grid.options.paginationPageSize" ng-options="o as o for o in grid.options.paginationPageSizes"></select> |
13 |
| - <span class="ui-grid-pager-row-count-label"> {{sizesLabel}}</span> |
| 72 | + <div |
| 73 | + class="ui-grid-pager-row-count-picker" |
| 74 | + ng-if="grid.options.paginationPageSizes.length > 1"> |
| 75 | + <select |
| 76 | + ui-grid-one-bind-aria-labelledby-grid="'items-per-page-label'" |
| 77 | + ng-model="grid.options.paginationPageSize" |
| 78 | + ng-options="o as o for o in grid.options.paginationPageSizes"></select> |
| 79 | + <span |
| 80 | + ui-grid-one-bind-id-grid="'items-per-page-label'" |
| 81 | + class="ui-grid-pager-row-count-label"> |
| 82 | + {{sizesLabel}} |
| 83 | + </span> |
14 | 84 | </div>
|
15 |
| - <span ng-if="grid.options.paginationPageSizes.length <= 1" class="ui-grid-pager-row-count-label">{{grid.options.paginationPageSize}} {{sizesLabel}}</span> |
| 85 | + <span |
| 86 | + ng-if="grid.options.paginationPageSizes.length <= 1" |
| 87 | + class="ui-grid-pager-row-count-label"> |
| 88 | + {{grid.options.paginationPageSize}} {{sizesLabel}} |
| 89 | + </span> |
16 | 90 | </div>
|
17 | 91 | <div class="ui-grid-pager-count-container">
|
18 | 92 | <div class="ui-grid-pager-count">
|
19 | 93 | <span ng-show="grid.options.totalItems > 0">
|
20 |
| - {{showingLow}} - {{showingHigh}} {{paginationOf}} {{grid.options.totalItems}} {{totalItemsLabel}} |
| 94 | + {{showingLow}} <abbr ui-grid-one-bind-title="paginationThrough">-</abbr> {{showingHigh}} {{paginationOf}} {{grid.options.totalItems}} {{totalItemsLabel}} |
21 | 95 | </span>
|
22 | 96 | </div>
|
23 | 97 | </div>
|
|
0 commit comments