42 lines
1.8 KiB
HTML
42 lines
1.8 KiB
HTML
<div class="context-main-bg context-main p-3">
|
|
<legend class="text-center">Groups</legend>
|
|
<hr>
|
|
{ADMIN_BREADCRUMBS}
|
|
<form action="{ROOT_URL}admin/groups/delete" method="post">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 50%">Name</th>
|
|
<th style="width: 35%">Users</th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%">
|
|
<input type="checkbox" onchange="checkAll(this)" name="check.g" value="G_[]">
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td><a href="{ROOT_URL}admin/groups/view/{ID}">{name}</a></td>
|
|
<td><a href="{ROOT_URL}admin/groups/listmembers/{ID}">{userCount}</a></td>
|
|
<td><a href="{ROOT_URL}admin/groups/edit/{ID}" class="btn btn-sm btn-warning"><i class="fa fa-fw fa-pencil"></i></a></td>
|
|
<td><a href="{ROOT_URL}admin/groups/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="G_[]">
|
|
</td>
|
|
</tr>
|
|
{/LOOP}
|
|
{ALT}
|
|
<tr>
|
|
<td align="center" colspan="5">
|
|
No results to show.
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<a href="{ROOT_URL}admin/groups/create" class="btn btn-sm btn-primary">Create</a>
|
|
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger"><i class="fa fa-fw fa-trash"></i></button>
|
|
</form>
|
|
</div> |