Highlight the current page on Nox.

This commit is contained in:
Azareal 2019-06-05 11:19:05 +10:00
parent fb990c182c
commit a339a3eb69
2 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<div class="pageitem pageprev"><a href="?page={{subtract .Page 1}}" rel="prev" aria-label="{{lang "paginator.prev_page_aria"}}">{{lang "paginator.prev_page"}}</a></div>
<link rel="prev" href="?page={{subtract .Page 1}}" />{{end}}
{{range .PageList}}
<div class="pageitem"><a href="?page={{.}}">{{.}}</a></div>
<div class="pageitem{{if eq . $.Page}} pagecurrent{{end}}"><a href="?page={{.}}">{{.}}</a></div>
{{end}}
{{if ne .LastPage .Page}}
<link rel="next" href="?page={{add .Page 1}}" />

View File

@ -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;