Initial commit
This commit is contained in:
36
app/plugins/todo/views/dashboard.html
Normal file
36
app/plugins/todo/views/dashboard.html
Normal file
@ -0,0 +1,36 @@
|
||||
<button id="hideLists" class="btn btn-primary">Show/Hide Lists</button>
|
||||
<button id="reorder" class="btn btn-primary">Reorder</button>
|
||||
<div class="row">
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<h3>Recently Completed</h3>
|
||||
{recentlyCompleted}
|
||||
</div>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<h3>Daily Tasks</h3>
|
||||
{dailyTasks}
|
||||
</div>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<h3>Weekly Tasks</h3>
|
||||
{weeklyTasks}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<h3>Monthly Tasks</h3>
|
||||
{monthlyTasks}
|
||||
</div>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<h3>Yearly Tasks</h3>
|
||||
{yearlyTasks}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<h3>Task Lists</h3>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
{listList}
|
||||
</div>
|
||||
<h3>Recently Created Tasks</h3>
|
||||
<div class="col-xlg-6 col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
{taskList}
|
||||
</div>
|
||||
</div>
|
19
app/plugins/todo/views/lists/create.html
Normal file
19
app/plugins/todo/views/lists/create.html
Normal file
@ -0,0 +1,19 @@
|
||||
<legend>New Task List</legend>
|
||||
{BREADCRUMB}
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="listName" class="col-lg-3 control-label">List Name:</label>
|
||||
<div class="col-lg-3">
|
||||
<input class="form-control" type="text" name="listName" id="listName">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="submit" 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><br>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
14
app/plugins/todo/views/lists/edit.html
Normal file
14
app/plugins/todo/views/lists/edit.html
Normal file
@ -0,0 +1,14 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Edit Task List</legend>
|
||||
{BREADCRUMB}
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="listName" class="col-lg-6 control-label">List Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="listName" id="listName" value="{title}">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<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>
|
32
app/plugins/todo/views/lists/list.html
Normal file
32
app/plugins/todo/views/lists/list.html
Normal file
@ -0,0 +1,32 @@
|
||||
<div class="row" style="margin-top: 30px; margin-bottom: 50px;">
|
||||
<form action="" method="post">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 95%">List Name</th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
<th style="width: 5%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td><a href='{ROOT_URL}todo/list/{ID}'>{title}</a></td>
|
||||
<td><a href="{ROOT_URL}todo/list/{ID}" class="btn btn-sm btn-primary" role="button"><i class="glyphicon glyphicon-open"></i></a></td>
|
||||
<td><a href="{ROOT_URL}todo/editlist/{ID}" class="btn btn-sm btn-warning" role="button"><i class="glyphicon glyphicon-edit"></i></a></td>
|
||||
<td><a href="{ROOT_URL}todo/deleteList/{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 Task Lists
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="{ROOT_URL}todo/createlist" class="btn btn-sm btn-primary" role="button">New List</a>
|
||||
</form>
|
||||
</div>
|
9
app/plugins/todo/views/nav/listTabs.html
Normal file
9
app/plugins/todo/views/nav/listTabs.html
Normal file
@ -0,0 +1,9 @@
|
||||
<ul class="nav nav-tabs">
|
||||
<li><a href="{ROOT_URL}todo/index/">Dashboard</a></li>
|
||||
<li><a href="{ROOT_URL}todo/list/">Lists</a></li>
|
||||
<li><a href="{ROOT_URL}todo/daily/">Daily</a></li>
|
||||
<li><a href="{ROOT_URL}todo/weekly/">Weekly</a></li>
|
||||
<li><a href="{ROOT_URL}todo/monthly/">Monthly</a></li>
|
||||
<li><a href="{ROOT_URL}todo/yearly/">Yearly</a></li>
|
||||
</ul>
|
||||
{userListTabs}
|
9
app/plugins/todo/views/nav/userListTabs.html
Normal file
9
app/plugins/todo/views/nav/userListTabs.html
Normal file
@ -0,0 +1,9 @@
|
||||
<ul class="nav nav-tabs">
|
||||
<li><a href="{ROOT_URL}todo/list/">All</a></li>
|
||||
{LOOP}
|
||||
<li><a href="{ROOT_URL}todo/list/{ID}">{title}</a></li>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<li></li>
|
||||
{/ALT}
|
||||
</ul>
|
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