Initial commit
This commit is contained in:
38
app/plugins/dnd/views/admin/sourcebooks/list.html
Normal file
38
app/plugins/dnd/views/admin/sourcebooks/list.html
Normal file
@ -0,0 +1,38 @@
|
||||
<legend>D&D Source Books</legend>
|
||||
{PAGINATION}
|
||||
<form action="{ROOT_URL}admin/sourcebooks/delete" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%">ID</th>
|
||||
<th style="width: 40%">Name</th>
|
||||
<th style="width: 20%">Type</th>
|
||||
<th style="width: 20%">Published</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{ID}</td>
|
||||
<td>{name}</td>
|
||||
<td>{type}</td>
|
||||
<td>{publish_year}</td>
|
||||
<td><a href="{ROOT_URL}admin/sourcebooks/view/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/sourcebooks/edit/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}admin/sourcebooks/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<a href="{ROOT_URL}admin/sourcebooks/create" class="btn btn-sm btn-primary" role="button">Add</a>
|
Reference in New Issue
Block a user