| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 |
| 3 <html> |
| 4 <head> |
| 5 <link rel="import" href="xmilestone.html"> |
| 6 </head> |
| 7 <body> |
| 8 <polymer-element name="x-count-down"> |
| 9 <template> |
| 10 |
| 11 <div> |
| 12 <p>Enter a milestone</p> |
| 13 |
| 14 <input type="text" name="newMilestoneName" value="{{newMilestoneName
}}"> |
| 15 <input type="date" name="newMilestoneDate" value="{{newMilestoneDate
}}"> |
| 16 <input type="time" name="newMilestoneTime" value="{{newMilestoneTime
}}"> |
| 17 <button on-click="addMilestone" id="addbutton">+</button> |
| 18 |
| 19 <ul> |
| 20 <template bind if='{{appObj.hazMilestones}}'> |
| 21 <template repeat="{{appObj.milestones}}"> |
| 22 <li> |
| 23 <x-milestone milestone="{{}}"> |
| 24 </x-milestone> |
| 25 </li> |
| 26 </template> |
| 27 </template> |
| 28 </ul> |
| 29 </div> |
| 30 <div> |
| 31 <button on-click="clear" id="clearbutton">Clear</button> |
| 32 <p style="color:red"> {{errorMsg}} </p> |
| 33 </div> |
| 34 |
| 35 </template> |
| 36 |
| 37 <script type="application/dart" src="xcountdown.dart"></script> |
| 38 </polymer-element> |
| 39 </body> |
| 40 </html> |
| OLD | NEW |