Refactor everything

This commit is contained in:
r 2020-01-28 17:51:00 +00:00
parent 57d2a4288b
commit 2af37d4778
26 changed files with 1320 additions and 1361 deletions

View file

@ -5,7 +5,7 @@
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
<div class="pagination">
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>

View file

@ -5,7 +5,7 @@
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
<div class="pagination">
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>

View file

@ -8,7 +8,7 @@
<meta name="csrf_token" content="{{.CSRFToken}}">
{{end}}
<title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title>
<link rel="stylesheet" href="/static/main.css">
<link rel="stylesheet" href="/static/style.css">
{{if .CustomCSS}}
<link rel="stylesheet" href="{{.CustomCSS}}">
{{end}}

View file

@ -65,7 +65,7 @@
{{end}}
<div class="pagination">
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>

View file

@ -31,7 +31,7 @@
{{end}}
<div class="pagination">
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>

View file

@ -10,10 +10,10 @@
{{end}}
<div class="pagination">
{{if .HasPrev}}
{{if .PrevLink}}
<a href="{{.PrevLink}}">prev</a>
{{end}}
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>

View file

@ -56,7 +56,7 @@
{{end}}
<div class="pagination">
{{if .HasNext}}
{{if .NextLink}}
<a href="{{.NextLink}}">next</a>
{{end}}
</div>