OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
4 for details. All rights reserved. Use of this source code is governed by a | 4 for details. All rights reserved. Use of this source code is governed by a |
5 BSD-style license that can be found in the LICENSE file. | 5 BSD-style license that can be found in the LICENSE file. |
6 --> | 6 --> |
7 <html lang="en"> | 7 <html lang="en"> |
8 <head> | 8 <head> |
9 <meta charset="utf-8"> | 9 <meta charset="utf-8"> |
10 <link rel="import" href="router_options.html"> | 10 <link rel="import" href="router_options.html"> |
11 <link rel="import" href="todo_row.html"> | 11 <link rel="import" href="todo_row.html"> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <element name="todo-app" apply-author-styles> | 14 <polymer-element name="todo-app"> |
15 <template> | 15 <template> |
16 <section id="todoapp"> | 16 <section id="todoapp"> |
17 <header id="header"> | 17 <header id="header"> |
18 <h1 class='title'>todos</h1> | 18 <h1 class='title'>todos</h1> |
19 <form on-submit="addTodo"> | 19 <form on-submit="addTodo"> |
20 <input id="new-todo" placeholder="What needs to be done?" autofocus | 20 <input id="new-todo" placeholder="What needs to be done?" autofocus |
21 on-change="addTodo"> | 21 on-change="addTodo"> |
22 </form> | 22 </form> |
23 </header> | 23 </header> |
24 <section id="main"> | 24 <section id="main"> |
(...skipping 27 matching lines...) Expand all Loading... |
52 <p> | 52 <p> |
53 Learn more about | 53 Learn more about |
54 <a href="https://www.dartlang.org/articles/dart-web-components/">Dart + We
b Components</a> | 54 <a href="https://www.dartlang.org/articles/dart-web-components/">Dart + We
b Components</a> |
55 or | 55 or |
56 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc">
view the source</a>. | 56 <a href="https://github.com/dart-lang/web-ui/tree/master/example/todomvc">
view the source</a>. |
57 </p> | 57 </p> |
58 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> | 58 <p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p> |
59 </footer> | 59 </footer> |
60 </template> | 60 </template> |
61 <script type="application/dart" src="app.dart"></script> | 61 <script type="application/dart" src="app.dart"></script> |
62 </element> | 62 </polymer-element> |
63 </body> | 63 </body> |
64 </html> | 64 </html> |
OLD | NEW |