-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (59 loc) · 1.78 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en" data-framework="javascript">
<head>
<meta charset="utf-8" />
<title>VanillaJS • TodoMVC</title>
<link rel="stylesheet" href="./base.css" />
<link rel="stylesheet" href="./index.css" />
<script src="./js/vue.js" defer></script>
<script src="./js/todo-model.js" defer></script>
<script src="./js/index.js" defer></script>
</head>
<body>
<section class="todoapp">
<header class="header">
<h1>todos</h1>
<input class="new-todo" placeholder="What needs to be done?" autofocus />
</header>
<section class="main">
<input id="toggle-all" class="toggle-all" type="checkbox" />
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list">
<li v-for="todo in todoList" v-bind:data-id="todo.id" class="">
<div class="view">
<input class="toggle" type="checkbox">
<label>{{todo.value}}</label>
<button class="destroy"></button>
</div>
</li>
</ul>
</section>
<footer class="footer" v-if="todoList.length > 0">
<span class="todo-count"></span>
<ul class="filters">
<li>
<a href="#/" class="selected">All</a>
</li>
<li>
<a href="#/active">Active</a>
</li>
<li>
<a href="#/completed">Completed</a>
</li>
</ul>
<button class="clear-completed">Clear completed</button>
</footer>
</section>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>
Created by <a href="http://twitter.com/oscargodson">Oscar Godson</a>
</p>
<p>
Refactored by
<a href="https://github.com/cburgmer">Christoph Burgmer</a>
</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
</body>
</html>