Initial commit
This commit is contained in:
10
app/plugins/updates/views/create.html
Normal file
10
app/plugins/updates/views/create.html
Normal file
@ -0,0 +1,10 @@
|
||||
<div class="container mt-5">
|
||||
<h2>Update your status</h2>
|
||||
<form id="status-form" method="post">
|
||||
<div class="form-group">
|
||||
<label for="status">Your Status:</label>
|
||||
<textarea class="form-control" id="status" name="status" rows="5" required></textarea>
|
||||
</div>
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block ">Submit</button>
|
||||
</form>
|
||||
</div>
|
2
app/plugins/updates/views/dash.html
Normal file
2
app/plugins/updates/views/dash.html
Normal file
@ -0,0 +1,2 @@
|
||||
{list}
|
||||
{create}
|
26
app/plugins/updates/views/list.html
Normal file
26
app/plugins/updates/views/list.html
Normal file
@ -0,0 +1,26 @@
|
||||
<legend>Updates</legend>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 20%">Date</th>
|
||||
<th style="width: 70%">Status</th>
|
||||
<th style="width: 10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{LOOP}
|
||||
<tr>
|
||||
<td align="center">{DTC}{createdAt}{/DTC}</td>
|
||||
<td align="center">{status}</td>
|
||||
<td><a href="{ROOT_URL}updates/delete/{ID}" class="btn btn-sm btn-danger" role="button"><i class="glyphicon glyphicon-trash"></i></a></td>
|
||||
</tr>
|
||||
{/LOOP}
|
||||
{ALT}
|
||||
<tr>
|
||||
<td align="center" colspan="6">
|
||||
No results to show.
|
||||
</td>
|
||||
</tr>
|
||||
{/ALT}
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user