-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (55 loc) · 2.4 KB
/
index.html
File metadata and controls
55 lines (55 loc) · 2.4 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width" />
<meta name="appsfuel_code" content="51df590a57c6bef"/>
<title>RefuelJS • TodoMVC</title>
<link href="css/base.css" rel="stylesheet">
<link rel="stylesheet" href="css/mobileApp.css">
<script src="config.js"></script>
<script src="Refuel.js" data-rf-startup="TodoApp"></script>
</head>
<body>
<section id="todoapp">
<header id="header" >
<h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" data-rf-action-keydown="todoList:add" autofocus>
</header>
<!-- This section should be hidden by default and shown when there are todos -->
<section id="main" data-rf-visibility="todoList.length">
<input id="toggle-all" data-rf-action="todoList:changeDoneAll" type="checkbox">
<label for="toggle-all">Mark all as complete</label>
<ul id="todo-list" data-rf-list="todoList" >
<!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
<li data-rf-template="todoTemplate" data-rf-action-swipe="toggleDeleteButton"
class="{{completed ? 'completed' : ''}}">
<div class="view">
<input class="toggle" type="checkbox" data-rf-action="changeDone" checked="{{completed}}">
<label data-rf-action-dblclick="edit">{{title}}</label>
<button class="destroy" data-rf-action="delete"></button>
</div>
<input class="edit" data-rf-action-keydown="save" data-rf-action-focusout="save" value="{{title}}">
</li>
</ul>
</section>
<footer id="footer" data-rf-visibility="todoList.length">
<span id="todo-count"><strong>{{activeLength}}</strong> item left</span>
<!-- Remove this if you don't implement routing -->
<ul id="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 id="clear-completed" data-rf-action="todoList:clearComplete">Clear completed ( {{completedLength}} )</button>
</footer>
</section>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Created by <a href="http://appsfuel.com">Appsfuel</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<!-- Scripts here. Don't remove this ↓ -->
</body>
</html>