From a339a3eb69c0597c16a1dc3886943a172a5d7b2c Mon Sep 17 00:00:00 2001 From: Azareal Date: Wed, 5 Jun 2019 11:19:05 +1000 Subject: [PATCH] Highlight the current page on Nox. --- templates/paginator.html | 2 +- themes/nox/public/main.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/paginator.html b/templates/paginator.html index cf768e07..8a604c19 100644 --- a/templates/paginator.html +++ b/templates/paginator.html @@ -4,7 +4,7 @@
{{end}} {{range .PageList}} -
{{.}}
+
{{.}}
{{end}} {{if ne .LastPage .Page}} diff --git a/themes/nox/public/main.css b/themes/nox/public/main.css index 4a46061d..b06462af 100644 --- a/themes/nox/public/main.css +++ b/themes/nox/public/main.css @@ -696,6 +696,9 @@ button, .formbutton, .panel_right_button:not(.has_inner_button) { .pagefirst a, .pagenext a, .pageprev a, .pagelast a { font-size: 22px; } +.pagecurrent { + background-color: #505050; +} #prevFloat, #nextFloat { display: none;