42 lines
1.8 KiB
HTML
42 lines
1.8 KiB
HTML
<h2 class="pull-left">
|
|
<a href="{ROOT_URL}calendar/byYear/{calendarID}?year={lastYear}" role="button" class="btn btn-primary">
|
|
<i class="glyphicon glyphicon-chevron-left"></i>
|
|
</a>
|
|
<span class="dateYearContainer">{dateYear}</span>
|
|
<a href="{ROOT_URL}calendar/byYear/{calendarID}?year={nextYear}" role="button" class="btn btn-primary">
|
|
<i class="glyphicon glyphicon-chevron-right"></i>
|
|
</a>
|
|
</h2>
|
|
{dateDropdown}
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 10%">ID</th>
|
|
<th style="width: 20%">Time</th>
|
|
<th style="width: 40%">Title</th>
|
|
<th style="width: 10%"></th>
|
|
<th style="width: 10%"></th>
|
|
<th style="width: 10%"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td style="text-align: center;">{ID}</td>
|
|
<td style="text-align: center;">{DTC}{event_time}{/DTC}</td>
|
|
<td style="text-align: center;">{title}</td>
|
|
<td><a href="{ROOT_URL}calendar/event/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
|
<td><a href="{ROOT_URL}calendar/editEvent/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
|
<td><a href="{ROOT_URL}calendar/deleteEvent/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
|
</tr>
|
|
{/LOOP}
|
|
{ALT}
|
|
<tr>
|
|
<td style="text-align: center;" colspan="6">
|
|
No results to show.
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<a href="{ROOT_URL}calendar/createEvent" class="btn btn-sm btn-primary" role="button">Create</a> |