Initial commit
This commit is contained in:
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>
|
Reference in New Issue
Block a user