Highlight the current page on Nox.
This commit is contained in:
parent
fb990c182c
commit
a339a3eb69
|
@ -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}}" />
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue