diff options
Diffstat (limited to '')
-rw-r--r-- | public/js/cover.js | 6 | ||||
-rw-r--r-- | public/views/index.ejs | 2 |
2 files changed, 7 insertions, 1 deletions
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 = { </div>\ </div>\ </a>\ - </li>' + </li>', + 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 @@ <a href="#" class="btn btn-primary ui-import-from-browser" style="display:none;"><%= __('Import from browser') %></a> <ul id="history-list" class="list"> </ul> + <ul class="pagination"></ul> </div> <div class="mastfoot"> @@ -209,6 +210,7 @@ <% } %> <script src="<%- url %>/vendor/js-cookie/src/js.cookie.js" defer></script> <script src="<%- url %>/vendor/list.js/dist/list.min.js" defer></script> + <script src="<%- url %>/vendor/list.pagination.js/dist/list.pagination.min.js" defer></script> <script src="<%- url %>/vendor/file-saver/FileSaver.min.js" defer></script> <script src="<%- url %>/vendor/store-js/store.min.js" defer></script> <script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script> |