Files
thetempusproject/app/plugins/portfolio/views/admin/list.html
Joey Kimsey de5530b1e3 wip
2024-12-02 18:03:11 -05:00

41 lines
1.7 KiB
HTML

<legend>Portfolio Links</legend>
{PAGINATION}
<form action="{ROOT_URL}admin/portfolio/delete" method="post">
<table class="table table-striped">
<thead>
<tr>
<th style="width: 30%">title</th>
<th style="width: 30%">section</th>
<th style="width: 25%">url</th>
<th style="width: 5%"></th>
<th style="width: 5%"></th>
<th style="width: 5%">
<INPUT type="checkbox" onchange="checkAll(this)" name="check.b" value="B_[]"/>
</th>
</tr>
</thead>
<tbody>
{LOOP}
<tr>
<td><a href="{ROOT_URL}admin/portfolio/view/{ID}">{title}</a></td>
<td>{section}</td>
<td>{url}</td>
<td><a href="{ROOT_URL}admin/portfolio/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
<td><a href="{ROOT_URL}admin/portfolio/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
<td>
<input type="checkbox" value="{ID}" name="P_[]">
</td>
</tr>
{/LOOP}
{ALT}
<tr>
<td colspan="7">
No results to show.
</td>
</tr>
{/ALT}
</tbody>
</table>
<a href="{ROOT_URL}admin/portfolio/create" class="btn btn-sm btn-primary" role="button">Create</a>
<button name="submit" value="submit" type="submit" class="btn btn-sm btn-danger">Delete</button>
</form>