[API] Deangularize todo templates

This commit is contained in:
Victor Woeltjen 2016-05-27 13:46:30 -07:00
parent c4fec1af6a
commit a29c7a6eab
3 changed files with 20 additions and 1 deletions

View File

@ -9,7 +9,7 @@ define([
"name": "To-do Plugin",
"description": "Allows creating and editing to-do lists.",
"extensions": {
"views": [
"xviews": [
{
"key": "example.todo",
"type": "example.todo",

View File

@ -0,0 +1,5 @@
<li>
<input type="checkbox">
<span class="example-task-description">
</span>
</li>

14
tutorials/todo/todo.html Normal file
View File

@ -0,0 +1,14 @@
<div class="example-todo">
<div class="example-button-group">
<a class="example-todo-button-all">All</a>
<a class="example-todo-button-incomplete">Incomplete</a>
<a class="example-todo-button-complete">Complete</a>
</div>
<ul class="example-todo-task-list">
</ul>
<div class="example-message">
There are no tasks to show.
</div>
</div>