Initial commit
This commit is contained in:
25
app/plugins/todo/views/tasks/create.html
Normal file
25
app/plugins/todo/views/tasks/create.html
Normal file
@ -0,0 +1,25 @@
|
||||
<legend>New Task</legend>
|
||||
{BREADCRUMB}
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
{listSelect}
|
||||
<div class="form-group">
|
||||
<label for="task" class="col-lg-3 control-label">Task:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="text" name="task" id="task">
|
||||
</div>
|
||||
</div>
|
||||
{repeatSelect}
|
||||
<div class="form-group">
|
||||
<label for="dueDate" class="col-lg-3 control-label">Due Date:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="date" name="dueDate" id="dueDate">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="dueDate" class="col-lg-3 control-label"></label>
|
||||
<div class="col-lg-3">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Create</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
35
app/plugins/todo/views/tasks/daily.html
Normal file
35
app/plugins/todo/views/tasks/daily.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: 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>{completedUrl}</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/daily" class="btn btn-sm btn-primary" role="button">New Task</a>
|
||||
<a href="{ROOT_URL}todo/daily/?includeCompleted={completedToggle}" class="btn btn-sm btn-info" role="button">{completedToggleText} Completed</a>
|
||||
</form>
|
||||
</div>
|
20
app/plugins/todo/views/tasks/edit.html
Normal file
20
app/plugins/todo/views/tasks/edit.html
Normal file
@ -0,0 +1,20 @@
|
||||
<legend>Edit Task</legend>
|
||||
{BREADCRUMB}
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
{listSelect}
|
||||
<div class="form-group">
|
||||
<label for="task" class="col-lg-3 control-label">Task:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="task" id="task" value="{task}">
|
||||
</div>
|
||||
</div>
|
||||
{repeatSelect}
|
||||
<div class="form-group">
|
||||
<label for="dueDate" class="col-lg-3 control-label">Due Date:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="date" name="dueDate" id="dueDate" value="{task}">
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Save</button><br>
|
||||
</form>
|
37
app/plugins/todo/views/tasks/list.html
Normal file
37
app/plugins/todo/views/tasks/list.html
Normal file
@ -0,0 +1,37 @@
|
||||
<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>
|
||||
<th style="width: 5%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td>{task}</td>
|
||||
<td>{DTC}{dueDate}{/DTC}</td>
|
||||
<td>{completedUrl}</td>
|
||||
<td><a href="{ROOT_URL}todo/duplicateTask/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-copy"></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/{listID}" class="btn btn-sm btn-primary" role="button">New Task</a>
|
||||
<a href="{ROOT_URL}todo/list/{listID}?includeCompleted={completedToggle}" class="btn btn-sm btn-info" role="button">{completedToggleText} Completed</a>
|
||||
</form>
|
||||
</div>
|
35
app/plugins/todo/views/tasks/monthly.html
Normal file
35
app/plugins/todo/views/tasks/monthly.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: 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>
|
1
app/plugins/todo/views/tasks/view.html
Normal file
1
app/plugins/todo/views/tasks/view.html
Normal file
@ -0,0 +1 @@
|
||||
i don't think this file should ever really be reached normally
|
35
app/plugins/todo/views/tasks/weekly.html
Normal file
35
app/plugins/todo/views/tasks/weekly.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: 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/weekly" class="btn btn-sm btn-primary" role="button">New Task</a>
|
||||
<a href="{ROOT_URL}todo/weekly/?includeCompleted={completedToggle}" class="btn btn-sm btn-info" role="button">{completedToggleText} Completed</a>
|
||||
</form>
|
||||
</div>
|
35
app/plugins/todo/views/tasks/yearly.html
Normal file
35
app/plugins/todo/views/tasks/yearly.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: 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/yearly" class="btn btn-sm btn-primary" role="button">New Task</a>
|
||||
<a href="{ROOT_URL}todo/yearly/?includeCompleted={completedToggle}" class="btn btn-sm btn-info" role="button">{completedToggleText} Completed</a>
|
||||
</form>
|
||||
</div>
|
Reference in New Issue
Block a user