aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/timeline.tmpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/timeline.tmpl b/templates/timeline.tmpl
index 51bf12e..527c91b 100644
--- a/templates/timeline.tmpl
+++ b/templates/timeline.tmpl
@@ -16,10 +16,12 @@
{{template "status.tmpl" .}}
{{end}}
-{{if .HasNext}}
- <a href="{{.NextLink}}"> next </a>
-{{end}}
-{{if .HasPrev}}
- <a href="{{.PrevLink}}"> next </a>
-{{end}}
+<div class="pagination">
+ {{if .HasPrev}}
+ <a href="{{.PrevLink}}">prev</a>
+ {{end}}
+ {{if .HasNext}}
+ <a href="{{.NextLink}}">next</a>
+ {{end}}
+</div>
{{template "footer.tmpl"}}