From d4a1aae48f097d48e9fded67445ba20720c1d966 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 31 Oct 2016 07:50:26 +0100 Subject: Fix disabled links in PagerPanel Disabled links in the PagerPanel (used on the LuceneSearchPage to page through search results) were only rendered as "disabled". The links themselves remained active, which gives strange effects when clicked. For instance it was possible to move to result pages -1, -2, and so on. Really disable the links. Add missing CSS rules to have correct styling as Wicket renders disabled links as spans, not anchors. Include the new CSS file in BasePage.html. And add the left/right arrows only if not on the first/last page. --- src/main/java/com/gitblit/wicket/pages/BasePage.html | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/gitblit/wicket/pages/BasePage.html') diff --git a/src/main/java/com/gitblit/wicket/pages/BasePage.html b/src/main/java/com/gitblit/wicket/pages/BasePage.html index b998428c..4dbc2e57 100644 --- a/src/main/java/com/gitblit/wicket/pages/BasePage.html +++ b/src/main/java/com/gitblit/wicket/pages/BasePage.html @@ -17,6 +17,7 @@ + -- cgit v1.2.3