Find file
Fetching contributors…
Cannot retrieve contributors at this time
78 lines (65 sloc) 2.26 KB
<!DOCTYPE html>
<link href="/todos.css" rel="stylesheet">
<script src="//"></script>
<script src="//"></script>
<script src="//"></script>
<script src="//"></script>
<script src="/todos.js"></script>
<div id="todoapp">
<div class="title">
<div class="content">
<div id="create-todo">
<input id="new-todo" placeholder="What needs to be done?" type="text">
<span class="ui-tooltip-top" style="display:none">Press Enter to save this task</span>
<div id="todos">
<input class="check mark-all-done" type="checkbox">
<label for="check-all">Mark all as complete</label>
<ul id="todo-list"></ul>
<div id="todo-stats"></div>
<div id="credits">
Tip o' the hat to:<br>
<a href="">J&eacute;r&ocirc;me Gravel-Niquet</a>,
<a href="">Addy Osmani</a>,<br>
and everyone else that powers the tubes.
<script type="text/template" id="item-template">
<div class="todo <%= done ? 'done' : '' %>">
<div class="display">
<input class="check" type="checkbox" <%= done ? 'checked="checked"' : '' %> />
<label class="todo-content"><%= content %></label>
<span class="todo-destroy"></span>
<div class="edit">
<input class="todo-input" type="text" value="<%= content %>" />
<script type="text/template" id="stats-template">
<% if (total) { %>
<span class="todo-count">
<span class="number"><%= remaining %></span>
<span class="word"><%= remaining == 1 ? 'item' : 'items' %></span> left.
<% } %>
<% if (done) { %>
<span class="todo-clear">
<a href="#">
Clear <span class="number-done"><%= done %></span>
completed <span class="word-done"><%= done == 1 ? 'item' : 'items' %></span>
<% } %>