related to #1465 added beginning of pagination

This commit is contained in:
Matthieu Leproux
2021-09-16 14:07:10 +02:00
committed by plegall
parent 6860c59453
commit 84dbdbabe8
3 changed files with 52 additions and 30 deletions
+13 -1
View File
@@ -15,7 +15,7 @@ if (month < 10) month = "0" + month;
if (day < 10) day = "0" + day;
today = year + "-" + month + "-" + day;
var current_data = {
var current_param = {
start: "",
end: today,
types: {
@@ -29,6 +29,7 @@ var current_data = {
filename: "",
ip: "",
display_thumbnail: "display_thumbnail_classic",
pageNumber: 0 {* fetch lines from line 0 to line 100*}
}
const API_METHOD = "{$API_METHOD}";
@@ -245,6 +246,17 @@ const str_favorites = "{'Favorites'|translate}";
<span class="icon-spin6 animate-spin"> </span>
</div>
</div>
<div class="pagination-container">
<div class="pagination-arrow left">
<span class="icon-left-open"></span>
</div>
<div class="pagination-item-container">
</div>
<div class="pagination-arrow rigth">
<span class="icon-left-open"></span>
</div>
</div>
</div>
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}