pagination all-sales
This commit is contained in:
		@ -18,10 +18,14 @@ All Sales
 | 
			
		||||
    <tbody>
 | 
			
		||||
    </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
<nav>
 | 
			
		||||
    <ul id="paginator" class="pagination">
 | 
			
		||||
    </ul>
 | 
			
		||||
</nav>
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ define "js" }}
 | 
			
		||||
<script type="module">
 | 
			
		||||
    import {showTable} from "/static/js/all-sales.js"
 | 
			
		||||
    showTable({{.API}});
 | 
			
		||||
    import {showTable, pageSize, currentPage} from "/static/js/all-sales.js"
 | 
			
		||||
    showTable({{.API}}, pageSize, currentPage);
 | 
			
		||||
</script>
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user