45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
<legend>Calendars</legend>
|
|
<form action="{ROOT_URL}calendar/deleteCalendar" method="post">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 5%">ID</th>
|
|
<th style="width: 20%">Title</th>
|
|
<th style="width: 50%">Description</th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%">
|
|
<input type="checkbox" onchange="checkAll(this)" name="check.br" value="CAL_[]"/>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td align="center">{ID}</td>
|
|
<td align="center">{title}</td>
|
|
<td>{description}</td>
|
|
<td><a href="{ROOT_URL}calendar/byMonth/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-share-alt"></i></a></td>
|
|
<td><a href="{ROOT_URL}calendar/calendar/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-info-sign"></i></a></td>
|
|
<td><a href="{ROOT_URL}calendar/editCalendar/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
|
<td><a href="{ROOT_URL}calendar/deleteCalendar/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
|
<td>
|
|
<input type="checkbox" value="{ID}" name="CAL_[]">
|
|
</td>
|
|
</tr>
|
|
{/LOOP}
|
|
{ALT}
|
|
<tr>
|
|
<td align="center" colspan="7">
|
|
No results to show.
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<a href="{ROOT_URL}calendar/createCalendar" 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>
|
|
<br /> |