Arrow svgs

This commit is contained in:
Madison Scott-Clary
2019-08-28 20:27:06 -07:00
parent 025728a2b8
commit 440509298d

View File

@ -3,7 +3,7 @@
<nav class="paginator" aria-label="page">
<ul class="pagination pagination-sm">
<li class="page-item{{ if not $paginator.HasPrev }} disabled{{ end }}">
<a class="page-link" href="{{ if $paginator.HasPrev }}{{ $paginator.Prev.URL }}{{ else }}javascript:void(0){{ end }}"> Previous</a>
<a class="page-link" href="{{ if $paginator.HasPrev }}{{ $paginator.Prev.URL }}{{ else }}javascript:void(0){{ end }}"><svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 20 0 l -6 8 l 6 8" /></svg> Previous</a>
</li>
{{ if lt $paginator.TotalPages 10 }}
{{ range $paginator.Pagers }}
@ -15,7 +15,7 @@
<li class="page-item too-many">Page {{ $paginator.PageNumber }} of {{ $paginator.TotalPages }}</li>
{{ end }}
<li class="page-item{{ if not $paginator.HasNext }} disabled{{ end }}">
<a class="page-link" href="{{ if $paginator.HasNext }}{{ $paginator.Next.URL }}{{ else }}javascript:void(0){{ end }}">Next </a>
<a class="page-link" href="{{ if $paginator.HasNext }}{{ $paginator.Next.URL }}{{ else }}javascript:void(0){{ end }}">Next <svg width="20" height="16"><path fill="none" stroke="currentColor" stroke-width="3" d="M 0 0 l 6 8 l -6 8" /></svg></a>
</li>
</ul>
</nav>