Move most of javascript in util.js. Enabled paging with arrow keys. Refactor a little. re #73
This commit is contained in:
parent
a509e3389d
commit
c96d629ad0
3 changed files with 45 additions and 32 deletions
|
@ -70,9 +70,9 @@
|
|||
</div>
|
||||
{{? it.isPaginated == 1}}
|
||||
<div class="footcenter">
|
||||
{{? it.prevLink != ""}}<a href="{{=it.prevLink}}" ><img src="images/previous.png?v={{=it.version}}" alt="{{=it.i18n.previousAlt}}" /></a>{{?}}
|
||||
{{? it.prevLink != ""}}<a id="prevLink" href="{{=it.prevLink}}" ><img src="images/previous.png?v={{=it.version}}" alt="{{=it.i18n.previousAlt}}" /></a>{{?}}
|
||||
<p> {{=it.currentPage}} / {{=it.maxPage}} </p>
|
||||
{{? it.nextLink != ""}}<a href="{{=it.nextLink}}" ><img src="images/next.png?v={{=it.version}}" alt="{{=it.i18n.nextAlt}}" /></a>{{?}}
|
||||
{{? it.nextLink != ""}}<a id="nextLink" href="{{=it.nextLink}}" ><img src="images/next.png?v={{=it.version}}" alt="{{=it.i18n.nextAlt}}" /></a>{{?}}
|
||||
</div>
|
||||
{{?}}
|
||||
</footer>
|
Loading…
Add table
Add a link
Reference in a new issue