Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (47 sloc) 1.44 KB
<meta charset="utf-8">
<title>Meteor • TodoMVC</title>
<section id="todoapp">
{{> todo}}
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Template by <a href="">Sindre Sorhus</a></p>
<p>Created by <a href="">siuying</a>.</p>
<p>Modifications by <a href="">addyosmani</a>.</p>
<p>Part of <a href="">TodoMVC</a></p>
<template name="todo">
<header id="header">
<input id="new-todo" placeholder="What needs to be done?" autofocus>
<section id="main">
<input id="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label>
<ul id="todo-list">
{{#each tasks}}
{{> item}}
{{#if hasTodo}}
<footer id="footer">
<span id="todo-count"><strong id="incompleted">{{ incompleted }}</strong>{{ incompleted_text }}</span>
<button id="clear-completed">Clear completed (<span id="completed">{{ completed }}</span>)</button>
<template name="item">
<li class="{{#if editing}}editing{{/if}} {{#if completed}}completed{{/if}}">
<div class="view">
<input class="toggle" type="checkbox" {{#if completed}}checked{{/if}}>
<label>{{ title }}</label>
<button class="destroy"></button>
<input class="edit" value="{{ title }}">