todomvc
Version:
> Helping you select an MV\* framework
44 lines (43 loc) • 1.98 kB
HTML
<html lang="en" data-framework="ampersand">
<head>
<meta charset="utf-8">
<title>Ampersand.js • TodoMVC</title>
<link rel="stylesheet" href="todomvc-common/base.css">
</head>
<body>
<section id="todoapp">
<header id="header">
<h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" data-hook="todo-input" autofocus>
</header>
<section id="main">
<input id="toggle-all" type="checkbox" data-hook="mark-all">
<label for="toggle-all">Mark all as complete</label>
<ul id="todo-list" data-hook="todo-container"></ul>
</section>
<footer id="footer">
<span id="todo-count" data-hook="todo-count"></span>
<ul id="filters">
<li>
<a class="selected" href="#/" data-hook="all-mode">All</a>
</li>
<li>
<a href="#/active" data-hook="active-mode">Active</a>
</li>
<li>
<a href="#/completed" data-hook="completed-mode">Completed</a>
</li>
</ul>
<button id="clear-completed" data-hook="clear-completed">Clear completed (<span data-hook="completed-count">1</span>)</button>
</footer>
</section>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Written by <a href="https://twitter.com/henrikjoreteg">Henrik Joreteg</a>, <a href="https://twitter.com/lukekarrys">Luke Karrys</a>, and <a href="https://twitter.com/philip_roberts">Philip Roberts</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>
<script src="todomvc-common/base.js"></script>
<script src="todomvc.bundle.js"></script>
</body>
</html>