Initial commit
This commit is contained in:
35
app/plugins/dnd/views/characters/list.html
Normal file
35
app/plugins/dnd/views/characters/list.html
Normal file
@ -0,0 +1,35 @@
|
||||
<div class="row" style="margin-top: 30px; margin-bottom: 50px;">
|
||||
<form action="" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 40%">Name</th>
|
||||
<th style="width: 20%">Race</th>
|
||||
<th style="width: 20%">Class</th>
|
||||
<th style="width: 10%">Level</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href='{ROOT_URL}dnd/characters/{ID}'>{name}</a></td>
|
||||
<td>{race}</td>
|
||||
<td>{class}</td>
|
||||
<td><a href="{ROOT_URL}dnd/editCharacter/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}dnd/deleteCharacter/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td colspan="7">
|
||||
No Characters
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}dnd/createCharacter" class="btn btn-sm btn-primary" role="button">Create Character</a>
|
||||
</form>
|
||||
</div>
|
Reference in New Issue
Block a user