add ejs and make some views

This commit is contained in:
s2
2016-11-10 15:01:20 +01:00
parent c86d2c73b9
commit be1711a8ab
5 changed files with 1801 additions and 34 deletions

16
views/tasks.ejs Normal file
View File

@@ -0,0 +1,16 @@
<h1>Tasks</h1>
<div class="panel panel-default">
<div class="panel-body">
<form id="add-task-form" class="form-inline">
<div class="form-group">
<label for="task" class="control-label">New task</label>
<input type="text" class="form-control" id="task">
</div>
<button class="btn btn-default" id="add-task" type="submit">Add</button>
</form>
<!-- our tasks go here -->
<ol id="task-list" class="list-group">
</ol>
</div>
</div>