Commit ae2b72ae authored by Alberto Monteiro's avatar Alberto Monteiro

Fixing lines

parent c411f028
<!doctype html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>Knockout.js • TodoMVC</title> <title>Knockout.js • TodoMVC</title>
<link rel="stylesheet" href="../../assets/base.css"> <link href="../../assets/base.css" rel="stylesheet">
<!--[if IE]> <!--[if IE]>
<script src="../../assets/ie.js"></script> <script src="../../assets/ie.js"></script>
<![endif]--> <![endif]-->
</head> </head>
<body> <body>
<section id="todoapp"> <section id="todoapp">
<header id="header"> <header id="header">
<h1>todos</h1> <h1>todos</h1>
<input id="new-todo" type="text" data-bind="value: current, valueUpdate: 'afterkeydown', enterKey: add" <input id="new-todo" autofocus data-bind="value: current, valueUpdate: 'afterkeydown', enterKey: add" placeholder="What needs to be done?" type="text">
placeholder="What needs to be done?" autofocus> </header>
</header> <section id="main" data-bind="visible: todos().length">
<section id="main" data-bind="visible: todos().length"> <input id="toggle-all" data-bind="checked: allCompleted" type="checkbox">
<input id="toggle-all" type="checkbox" data-bind="checked: allCompleted"> <label for="toggle-all">Mark all as complete</label>
<label for="toggle-all">Mark all as complete</label> <ul id="todo-list" data-bind="foreach: filteredTodos">
<ul id="todo-list" data-bind="foreach: filteredTodos"> <li data-bind="css: { completed: completed, editing: editing }">
<li data-bind="css: { completed: completed, editing: editing }"> <div class="view" data-bind="event: { dblclick: $root.editItem }">
<div class="view" data-bind="event: { dblclick: $root.editItem }"> <input class="toggle" data-bind="checked: completed" type="checkbox">
<input class="toggle" type="checkbox" data-bind="checked: completed"> <label data-bind="text: title"></label>
<label data-bind="text: title"></label> <button class="destroy" data-bind="click: $root.remove"></button>
<button class="destroy" data-bind="click: $root.remove"></button> </div>
</div> <input class="edit" data-bind="value: title, valueUpdate: 'afterkeydown', enterKey: $root.stopEditing, selectAndFocus: editing, event: { blur: $root.stopEditing }">
<input class="edit" data-bind="value: title, valueUpdate: 'afterkeydown', enterKey: $root.stopEditing, selectAndFocus: editing, event: { blur: $root.stopEditing }" > </li>
</li> </ul>
</ul> </section>
</section> <footer id="footer" data-bind="visible: completedCount() || remainingCount()">
<footer id="footer" data-bind="visible: completedCount() || remainingCount()"> <span id="todo-count">
<span id="todo-count"> <strong data-bind="text: remainingCount">1</strong>
<strong data-bind="text: remainingCount">1</strong> <span data-bind="text: getLabel( remainingCount )"></span> left
<span data-bind="text: getLabel( remainingCount )"></span> left </span>
</span> <ul id="filters">
<ul id="filters"> <li>
<li> <a data-bind="css: { selected: showMode() == 'all' }" href="#/all">All</a>
<a data-bind="css: { selected: showMode() == 'all' }" href="#/all">All</a> </li>
</li> <li>
<li> <a data-bind="css: { selected: showMode() == 'active' }" href="#/active">Active</a>
<a data-bind="css: { selected: showMode() == 'active' }" href="#/active">Active</a> </li>
</li> <li>
<li> <a data-bind="css: { selected: showMode() == 'completed' }" href="#/completed">Completed</a>
<a data-bind="css: { selected: showMode() == 'completed' }" href="#/completed">Completed</a> </li>
</li> </ul>
</ul> <button id="clear-completed" data-bind="visible: completedCount, click: removeCompleted">Clear completed (<span data-bind="text: completedCount"></span>)</button>
<button id="clear-completed" data-bind="visible: completedCount, click: removeCompleted">Clear completed (<span data-bind="text: completedCount"></span>)</button> </footer>
</footer> </section>
</section> <footer id="info">
<footer id="info"> <span data-bind="visible: todos().length">Double-click to edit a todo.</span>
<span data-bind="visible: todos().length">Double-click to edit a todo.</span> <p>Original Knockout version from <a href="https://github.com/ashish01/knockoutjs-todos">Ashish Sharma</a></p>
<p>Original Knockout version from <a href="https://github.com/ashish01/knockoutjs-todos">Ashish Sharma</a></p> <p>Rewritten to use Knockout 2.0 and standard template by <a href="http://knockmeout.net">Ryan Niemeyer</a></p>
<p>Rewritten to use Knockout 2.0 and standard template by <a href="http://knockmeout.net">Ryan Niemeyer</a></p> <p>Patches/fixes for cross-browser compat: <a href="http://twitter.com/addyosmani">Addy Osmani</a></p>
<p>Patches/fixes for cross-browser compat: <a href="http://twitter.com/addyosmani">Addy Osmani</a></p> </footer>
</footer> <script src="../../assets/base.js"></script>
<script src="../../assets/base.js"></script> <script src="js/lib/knockout-2.0.0.js"></script>
<script src="js/lib/knockout-2.0.0.js"></script> <!--Crossroad.js Begin -->
<!--Crossroad.js Begin --> <script src="js/lib/signals.js"></script>
<script src="js/lib/signals.js"></script> <script src="js/lib/crossroads.js"></script>
<script src="js/lib/crossroads.js"></script> <script src="js/lib/route.js"></script>
<script src="js/lib/route.js"></script> <script src="js/lib/pattern_lexer.js"></script>
<script src="js/lib/pattern_lexer.js"></script> <script src="js/lib/intro.js"></script>
<script src="js/lib/intro.js"></script> <!--Crossroad.js End -->
<!--Crossroad.js End --> <script src="js/app.js"></script>
<script src="js/app.js"></script> </body>
</body>
</html> </html>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment