fix: [genericElements:index_table] Improved positioniong of pagination link for sorting

pull/93/head
Sami Mokaddem 2022-01-21 09:09:05 +01:00
parent 695fcdaf26
commit 7af31448cd
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 5 additions and 5 deletions

View File

@ -25,11 +25,11 @@
'number' => '<li class="page-item"><a class="page-link" href="#" ' . $onClick . '>{{text}}</a></li>', 'number' => '<li class="page-item"><a class="page-link" href="#" ' . $onClick . '>{{text}}</a></li>',
'current' => '<li class="page-item active"><a href="" class="page-link">{{text}}</a></li>', 'current' => '<li class="page-item active"><a href="" class="page-link">{{text}}</a></li>',
'ellipsis' => '<li class="page-item disabled"><a href="" class="page-link"><span class="ellipsis">&hellip;</span></a></li>', 'ellipsis' => '<li class="page-item disabled"><a href="" class="page-link"><span class="ellipsis">&hellip;</span></a></li>',
'sort' => '<a href="#" ' . $onClick . '>{{text}}</a>', 'sort' => '<a href="#" ' . $onClick . ' class="d-inline-flex align-items-center">{{text}}</a>',
'sortAsc' => '<a href="#" ' . $onClick . '>{{text}} <i class="fas fa-sort-up"></i></a>', 'sortAsc' => '<a href="#" ' . $onClick . ' class="d-inline-flex align-items-center">{{text}} <i class="fas fa-sort-up ms-1"></i></a>',
'sortDesc' => '<a href="#" ' . $onClick . '>{{text}} <i class="fas fa-sort-down"></i></a>', 'sortDesc' => '<a href="#" ' . $onClick . ' class="d-inline-flex align-items-center">{{text}} <i class="fas fa-sort-down ms-1"></i></a>',
'sortAscLocked' => '<a class="asc locked" href="#" ' . $onClick . '>{{text}}</a>', 'sortAscLocked' => '<a class="asc locked" href="#" ' . $onClick . ' class="d-inline-flex align-items-center">{{text}}</a>',
'sortDescLocked' => '<a class="desc locked" href="#" ' . $onClick . ');">{{text}}</a>' 'sortDescLocked' => '<a class="desc locked" href="#" ' . $onClick . ' class="d-inline-flex align-items-center");">{{text}}</a>'
] ]
); );
echo $this->Paginator->options($options); echo $this->Paginator->options($options);