From 8de93c50d2cf2144cfd3050cf7970a4ee9860bf4 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Dec 2019 19:48:28 +0100 Subject: Add basic pagination to message list References: https://todo.sr.ht/~sircmpwn/koushin/22 --- public/mailbox.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'public/mailbox.html') diff --git a/public/mailbox.html b/public/mailbox.html index e56efcb..435998c 100644 --- a/public/mailbox.html +++ b/public/mailbox.html @@ -20,10 +20,23 @@ + +

+ {{if ge .PrevPage 0}} + Prev + {{end}} + {{if ge .NextPage 0}} + Next + {{end}} +

{{else}}

Mailbox is empty.

{{end}} -- cgit v1.2.3-59-g8ed1b