pagination all-subscriptions

This commit is contained in:
2024-08-23 10:13:50 +02:00
parent c8b032236b
commit 0f0c896065
4 changed files with 86 additions and 10 deletions

View File

@ -20,11 +20,15 @@ All Subscriptions
<tbody>
</tbody>
</table>
<nav>
<ul id="paginator" class="pagination">
</ul>
</nav>
{{end}}
{{define "js"}}
<script type="module">
import {showTable} from "/static/js/all-subscriptions.js"
showTable({{.API}});
import {showTable, pageSize, currentPage} from "/static/js/all-subscriptions.js"
showTable({{.API}}, pageSize, currentPage);
</script>
{{end}}