34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
<div class="row" style="margin-top: 30px; margin-bottom: 50px;">
|
|
<form action="" method="post">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 55%">Title</th>
|
|
<th style="width: 35%">Description</th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td><a href='{ROOT_URL}contacts/viewPhonebook/{ID}'>{title}</a></td>
|
|
<td>{description}</td>
|
|
<td><a href="{ROOT_URL}contacts/editPhonebook/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
|
<td><a href="{ROOT_URL}contacts/deletePhonebook/{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 Phonebooks
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<a href="{ROOT_URL}contacts/createPhonebook" class="btn btn-sm btn-primary" role="button">New Phonebook</a>
|
|
</form>
|
|
</div>
|
|
|