35 lines
1.6 KiB
HTML
35 lines
1.6 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: 60%">Task</th>
|
|
<th style="width: 20%">Due</th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
<th style="width: 5%"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{LOOP}
|
|
<tr>
|
|
<td>{task}</td>
|
|
<td>{DTC}{dueDate}{/DTC}</td>
|
|
<td><a href="{ROOT_URL}todo/completeTask/{ID}" class="btn btn-sm btn-success" role="button"><i class="glyphicon glyphicon-ok"></i></a></td>
|
|
<td><a href="{ROOT_URL}todo/edittask/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
|
<td><a href="{ROOT_URL}todo/deleteTask/{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 Tasks
|
|
</td>
|
|
</tr>
|
|
{/ALT}
|
|
</tbody>
|
|
</table>
|
|
<a href="{ROOT_URL}todo/createtask/monthly" class="btn btn-sm btn-primary" role="button">New Task</a>
|
|
<a href="{ROOT_URL}todo/monthly/?includeCompleted={completedToggle}" class="btn btn-sm btn-info" role="button">{completedToggleText} Completed</a>
|
|
</form>
|
|
</div> |