forked from kylelk/angular-todo-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtodo-item.html
More file actions
21 lines (21 loc) · 847 Bytes
/
todo-item.html
File metadata and controls
21 lines (21 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div data-completed="{{todoData.completed}}">
<div class="todo_heading">
<svg
style="width:24px;height:24px"
viewBox="0 0 24 24"
ng-click="todoData.completed=!todoData.completed"
class="todo_icon_check">
<path fill="#000000" d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" />
</svg>
<svg
style="width:24px;height:24px"
viewBox="0 0 24 24"
ng-click="removeTodo(todoData)">
<path fill="#000000" d="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" />
</svg>
<span class="todo_title">{{todoData.title}}</span>
</div>
<div class="todo_footer">
<span class="todo_date">{{todoData.date}}</span>
</div>
</div>