diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs-debug/source/app/templates/application.hbs | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs-debug/source/app/templates/application.hbs b/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs-debug/source/app/templates/application.hbs new file mode 100644 index 0000000000..519b620cd6 --- /dev/null +++ b/third_party/webkit/PerformanceTests/Speedometer/resources/todomvc/architecture-examples/emberjs-debug/source/app/templates/application.hbs @@ -0,0 +1,29 @@ +<section id="todoapp"> + <header id="header"> + <h1>todos</h1> + <input type="text" id="new-todo" onkeydown={{action 'createTodo'}} placeholder="What needs to be done?" autofocus> + </header> + {{outlet}} + {{#if (gt model.length 0)}} + <footer id="footer"> + <span id="todo-count"><strong>{{remaining.length}}</strong> {{pluralize 'item' remaining.length}} left</span> + <ul id="filters"> + <li>{{#link-to "index" activeClass="selected"}}All{{/link-to}}</li> + <li>{{#link-to "active" activeClass="selected"}}Active{{/link-to}}</li> + <li>{{#link-to "completed" activeClass="selected"}}Completed{{/link-to}}</li> + </ul> + {{#if completed.length}} + <button id="clear-completed" onclick={{action 'clearCompleted'}}>Clear completed</button> + {{/if}} + </footer> + {{/if}} +</section> +<footer id="info"> + <p>Double-click to edit a todo</p> + <p> + Created by + <a href="http://github.com/cibernox">Miguel Camba</a>, + <a href="http://github.com/addyosmani">Addy Osmani</a> + </p> + <p>Part of <a href="http://todomvc.com">TodoMVC</a></p> +</footer>
\ No newline at end of file |