pagination all-subscriptions
This commit is contained in:
		@ -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}}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user