|
@@ -1,20 +1,21 @@
|
|
|
<div class="row d-flex justify-content-center">
|
|
<div class="row d-flex justify-content-center">
|
|
|
<div class="col-sm-4">
|
|
<div class="col-sm-4">
|
|
|
<span>Anzahl der Einträge: {totalrecords}</span>
|
|
<span>Anzahl der Einträge: {totalrecords}</span>
|
|
|
- <span>Current Page Number: {paginator.currentPageNumber}</span>
|
|
|
|
|
|
|
+ <span>Aktuell Seitenummer: {paginator.currentPageNumber}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-sm-8">
|
|
<div class="col-sm-8">
|
|
|
<ul class="pagination">
|
|
<ul class="pagination">
|
|
|
<f:if condition="{paging.previousPageNumber} && {paging.previousPageNumber} >= {paging.firstPageNumber}">
|
|
<f:if condition="{paging.previousPageNumber} && {paging.previousPageNumber} >= {paging.firstPageNumber}">
|
|
|
<f:then>
|
|
<f:then>
|
|
|
<li class="waves-effect list-group">
|
|
<li class="waves-effect list-group">
|
|
|
- <a href="{f:uri.action(action:actionName, arguments:{currentPage: 1})}"
|
|
|
|
|
- title="{f:translate(key:'paging.first')}">
|
|
|
|
|
|
|
+ <a href="{f:uri.action(action: actionName, arguments:{currentPage: 1})}"
|
|
|
|
|
+ title="{f:translate(key:'pagemanager.paging.first')}">
|
|
|
<i class="material-icons">first_page</i>
|
|
<i class="material-icons">first_page</i>
|
|
|
</a>
|
|
</a>
|
|
|
</li>
|
|
</li>
|
|
|
<li class="waves-effect list-group">
|
|
<li class="waves-effect list-group">
|
|
|
- <a href="{f:uri.action(action:actionName, arguments:{currentPage: paging.previousPageNumber})}">
|
|
|
|
|
|
|
+ <a href="{f:uri.action(action: actionName, arguments:{currentPage: paging.previousPageNumber})}"
|
|
|
|
|
+ title="{f:translate(key:'pagemanager.paging.prevoius')}">
|
|
|
<i class="material-icons">chevron_left</i>
|
|
<i class="material-icons">chevron_left</i>
|
|
|
</a>
|
|
</a>
|
|
|
</li>
|
|
</li>
|
|
@@ -31,20 +32,22 @@
|
|
|
|
|
|
|
|
<li><span class="pageNumbers">Seite {paginator.currentPageNumber} von {paging.lastPageNumber} |</span></li>
|
|
<li><span class="pageNumbers">Seite {paginator.currentPageNumber} von {paging.lastPageNumber} |</span></li>
|
|
|
<f:for each="{pages}" as="page">
|
|
<f:for each="{pages}" as="page">
|
|
|
- <li class="{f:if(condition: '{pages} == {paginator.currentPageNumber}', then:'active', else: 'waves-effect')}">
|
|
|
|
|
- <a class="hide" href="{f:uri.action(action:actionName, arguments:{currentPage: page})}">{page}</a>
|
|
|
|
|
|
|
+ <li class="{f:if(condition: '{page} == {paginator.currentPageNumber}', then:'active', else: 'waves-effect')}">
|
|
|
|
|
+ <a class="hide" href="{f:uri.action(action: actionName, arguments:{currentPage: page})}">{page}</a>
|
|
|
</li>
|
|
</li>
|
|
|
</f:for>
|
|
</f:for>
|
|
|
|
|
|
|
|
<f:if condition="{paging.nextPageNumber} && {paging.nextPageNumber} <= {paging.lastPageNumber}">
|
|
<f:if condition="{paging.nextPageNumber} && {paging.nextPageNumber} <= {paging.lastPageNumber}">
|
|
|
<f:then>
|
|
<f:then>
|
|
|
<li class="waves-effect list-group">
|
|
<li class="waves-effect list-group">
|
|
|
- <a href="{f:uri.action(action:actionName, arguments:{currentPage: paging.nextPageNumber})}">
|
|
|
|
|
|
|
+ <a href="{f:uri.action(action: actionName, arguments:{currentPage: paging.nextPageNumber})}"
|
|
|
|
|
+ title="{f:translate(key:'pagemanager.paging.next')}">
|
|
|
<i class="material-icons">chevron_right</i>
|
|
<i class="material-icons">chevron_right</i>
|
|
|
</a>
|
|
</a>
|
|
|
</li>
|
|
</li>
|
|
|
<li class="waves-effect list-group">
|
|
<li class="waves-effect list-group">
|
|
|
- <a href="{f:uri.action(action:actionName, arguments:{currentPage: paging.lastPageNumber})}">
|
|
|
|
|
|
|
+ <a href="{f:uri.action(action: actionName, arguments:{currentPage: paging.lastPageNumber})}"
|
|
|
|
|
+ title="{f:translate(key:'pagemanager.paging.last')}">
|
|
|
<i class="material-icons">last_page</i>
|
|
<i class="material-icons">last_page</i>
|
|
|
</a>
|
|
</a>
|
|
|
</li>
|
|
</li>
|