From cd9f8fe36b707ff5a9f8f7be4d55145ddee97f3a Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 11 Oct 2016 16:48:42 +0800 Subject: Update to support pagination for history list --- public/js/cover.js | 6 +++++- public/views/index.ejs | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/public/js/cover.js b/public/js/cover.js index 429925a0..25434ed9 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -18,7 +18,11 @@ var options = { \ \ \ - ' + ', + page: 18, + plugins: [ + ListPagination({}) + ] }; var historyList = new List('history', options); diff --git a/public/views/index.ejs b/public/views/index.ejs index f71cbdf5..4fdee8cf 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -135,6 +135,7 @@