Files
thetempusproject/app/plugins/members/views/admin/memberships/list.html
Joey Kimsey 59279c8349 wip
2024-12-18 08:56:58 -05:00

47 lines
1.5 KiB
HTML

<div class="context-main-bg context-main p-3">
<legend class="text-center">Memberships</legend>
<hr>
{ADMIN_BREADCRUMBS}
<form action="{ROOT_URL}admin/products/delete" method="post">
<table class="table table-striped">
<thead>
<tr>
<th style="width: 25%">Name</th>
<th style="width: 20%">status</th>
<th style="width: 20%">Price</th>
<th style="width: 10%">Start</th>
<th style="width: 10%">End</th>
<th style="width: 5%"></th>
<th style="width: 5%"></th>
<th style="width: 5%">
<INPUT type="checkbox" onchange="checkAll(this)" name="check.f" value="F_[]">
</th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td>{name}</td>
<td>{status}</td>
<td>{prettyPrice}</td>
<td>{DTC}{current_period_start}{/DTC}</td>
<td>{DTC}{current_period_end}{/DTC}</td>
<td><a href="{ROOT_URL}admin/records/view/{ID}" class="btn btn-sm btn-primary"><i class="fa fa-fw fa-upload"></i></a></td>
<td><a href="{ROOT_URL}admin/records/delete/{ID}" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></a></td>
<td>
<input type="checkbox" value="{ID}" name="MP_[]">
</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td align="center" colspan="6">
No results to show.
</td>
</tr>
{/ALT}
</tbody>
</table>
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
</form>
</div>