Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Wishlist
-
Component/s: Mobile Interface
-
Labels:None
Description
The current paging display doesn't look very good in the mobile interface (links to small to use practically). We should re-style or replace this with something friendlier.
// if mobile theme, display fewer page links
if ($_COOKIE['ui'] == 'mobile') {
$deltaVal = 0;
} else {
$deltaVal = 5;
}
$options = array('totalItems' => $summary['resultTotal'],
'fileName' => $link,
'delta' => $deltaVal,
'perPage' => $summary['perPage']);
$pager = new VuFindPager($options);
This give a centred pager with a simple [jump to start] [Prev] [Current Page] [Next][jump to end] layout. Some css to increase the font size might help too.