Initial Codebase (untested)

This commit is contained in:
James Mills
2021-01-30 14:05:04 +10:00
parent c1dc91b7e0
commit 4529ea3196
60 changed files with 9807 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{{ define "pager" }}
{{ if .HasPages }}
<nav class="pagination-nav">
<ul>
<li>
{{ if .HasPrev }}
<a href="?p={{ .PrevPage }}">Prev</a>
{{ else }}
<a href="#" data-tooltip="No previous page">Prev</a>
{{ end }}
</li>
</ul>
<ul>
<li><small>Page {{ .Page }}/{{ .PageNums }} of {{ .Nums }} Twts</small></li>
</ul>
<ul>
<li>
{{ if .HasNext }}
<a href="?p={{ .NextPage }}">Next</a>
{{ else }}
<a href="#" data-tooltip="No next page">Next</a>
{{ end }}
</li>
</ul>
</nav>
{{ end }}
{{ end }}