2024-08-21 19:49:08 +00:00
|
|
|
{{template "base" .}}
|
|
|
|
|
|
|
|
{{define "title"}}
|
|
|
|
All Subscriptions
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
|
|
|
<h2 class="mt-5">All Subscriptions</h2>
|
|
|
|
<hr>
|
2024-08-21 21:27:33 +00:00
|
|
|
<table id="subscriptions-table" class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Transaction</th>
|
|
|
|
<th>Customer</th>
|
|
|
|
<th>Product</th>
|
|
|
|
<th>Amount</th>
|
2024-08-22 19:34:58 +00:00
|
|
|
<th>Status</th>
|
2024-08-21 21:27:33 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-08-23 08:13:50 +00:00
|
|
|
<nav>
|
|
|
|
<ul id="paginator" class="pagination">
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2024-08-21 19:49:08 +00:00
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "js"}}
|
2024-08-21 21:27:33 +00:00
|
|
|
<script type="module">
|
2024-08-23 08:13:50 +00:00
|
|
|
import {showTable, pageSize, currentPage} from "/static/js/all-subscriptions.js"
|
|
|
|
showTable({{.API}}, pageSize, currentPage);
|
2024-08-21 21:27:33 +00:00
|
|
|
</script>
|
2024-08-21 19:49:08 +00:00
|
|
|
{{end}}
|