Module: website Branch: master Commit: 28c8ef80ede81077d168202a7d414a09043eb41b URL: https://source.winehq.org/git/website.git/?a=commit;h=28c8ef80ede81077d16820...
Author: Jeremy Newman jnewman@codeweavers.com Date: Fri Oct 29 08:37:47 2021 -0500
use buttons for nav
---
include/wwn.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/wwn.php b/include/wwn.php index 9231be81..6aeb7d35 100644 --- a/include/wwn.php +++ b/include/wwn.php @@ -172,22 +172,22 @@ class wwn if ($pos >= $perpage) { $prev = $pos - $perpage; - $prevLink = $html->ahref("<< Prev $perpage Issues", $html->_web_root."/".PAGE."/?pos=".$prev); + $prevLink = $html->ahref("<i class="fas fa-chevron-left"></i> Prev $perpage Issues", $html->_web_root."/".PAGE."/?pos=".$prev, "class="btn btn-default""); } else { - $prevLink = "<span class="disabled"><< Prev $perpage Issues</span>"; + $prevLink = "<span class="btn btn-default disabled"><i class="fas fa-chevron-left"></i> Prev $perpage Issues</span>"; }
// display next link if (($pos + $perpage) < $total) { $next = $where + 1; - $nextLink = $html->ahref("Next $perpage Issues >>",$html->_web_root."/".PAGE."/?pos=".$next); + $nextLink = $html->ahref("Next $perpage Issues <i class="fas fa-chevron-right"></i>",$html->_web_root."/".PAGE."/?pos=".$next, "class="btn btn-default""); } else { - $nextLink = "<span class="disabled">Next $perpage Issues >></span>"; + $nextLink = "<span class="btn btn-default disabled">Next $perpage Issues <i class="fas fa-chevron-right"></i></span>"; }