| OLD | NEW |
| 1 <!DOCTYPE html> | |
| 2 <!-- | 1 <!-- |
| 3 Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 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 | 3 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. | 4 BSD-style license that can be found in the LICENSE file. |
| 6 --> | 5 --> |
| 7 <html> | 6 <link rel="import" href="editable_label.html"> |
| 8 <head> | |
| 9 <meta charset="utf-8"> | |
| 10 <link rel="import" href="editable_label.html"> | |
| 11 </head> | |
| 12 <body> | |
| 13 <polymer-element name="todo-row" extends="li" attributes="todo"> | 7 <polymer-element name="todo-row" extends="li" attributes="todo"> |
| 14 <template> | 8 <template> |
| 15 <style scoped> | 9 <style scoped> |
| 16 .todo-item { | 10 .todo-item { |
| 17 position: relative; | 11 position: relative; |
| 18 font-size: 24px; | 12 font-size: 24px; |
| 19 border-bottom: 1px dotted #ccc; | 13 border-bottom: 1px dotted #ccc; |
| 20 } | 14 } |
| 21 | 15 |
| 22 .todo-item.editing { | 16 .todo-item.editing { |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 } | 117 } |
| 124 </style> | 118 </style> |
| 125 <div class="todo-item"> | 119 <div class="todo-item"> |
| 126 <input class="toggle" type="checkbox" checked="{{todo.done}}"> | 120 <input class="toggle" type="checkbox" checked="{{todo.done}}"> |
| 127 <editable-label id="label" value="{{todo.task}}"></editable-label> | 121 <editable-label id="label" value="{{todo.task}}"></editable-label> |
| 128 <button class="destroy" on-click="removeTodo"></button> | 122 <button class="destroy" on-click="removeTodo"></button> |
| 129 </div> | 123 </div> |
| 130 </template> | 124 </template> |
| 131 <script type="application/dart" src="todo_row.dart"></script> | 125 <script type="application/dart" src="todo_row.dart"></script> |
| 132 </polymer-element> | 126 </polymer-element> |
| 133 </body> | |
| 134 </html> | |
| OLD | NEW |