| Index: src/site/docs/tutorials/indexeddb/examples/count_down/out/web/count_down.html
|
| diff --git a/src/site/docs/tutorials/indexeddb/examples/count_down/out/web/count_down.html b/src/site/docs/tutorials/indexeddb/examples/count_down/out/web/count_down.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..288236916e602b64d87eb4e041515ffc6c3b3f5b
|
| --- /dev/null
|
| +++ b/src/site/docs/tutorials/indexeddb/examples/count_down/out/web/count_down.html
|
| @@ -0,0 +1,58 @@
|
| +<!DOCTYPE html><html><head>
|
| + <meta charset="utf-8">
|
| + <title>Sample app</title>
|
| + <link rel="stylesheet" href="count_down.css">
|
| +
|
| + <!-- import the countdown element -->
|
| +
|
| +
|
| +
|
| + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
| + </head>
|
| + <body><script src="packages/shadow_dom/shadow_dom.debug.js"></script>
|
| +<script src="packages/browser/interop.js"></script>
|
| +<polymer-element name="x-milestone" attributes="milestone">
|
| + <template>
|
| + <span>{{milestone.timeRemainingAsString}}</span> <button on-click="removeMilestone">-</button>
|
| + </template>
|
| +
|
| + </polymer-element><polymer-element name="x-count-down">
|
| + <template>
|
| +
|
| + <div>
|
| + <p>Enter a milestone</p>
|
| +
|
| + <input type="text" name="newMilestoneName" value="{{newMilestoneName}}">
|
| + <input type="date" name="newMilestoneDate" value="{{newMilestoneDate}}">
|
| + <input type="time" name="newMilestoneTime" value="{{newMilestoneTime}}">
|
| + <button on-click="addMilestone" id="addbutton">+</button>
|
| +
|
| + <ul>
|
| + <template bind="" if="{{appObj.hazMilestones}}">
|
| + <template repeat="{{appObj.milestones}}">
|
| + <li>
|
| + <x-milestone milestone="{{}}">
|
| + </x-milestone>
|
| + </li>
|
| + </template>
|
| + </template>
|
| + </ul>
|
| + </div>
|
| + <div>
|
| + <button on-click="clear" id="clearbutton">Clear</button>
|
| + <p style="color:red"> {{errorMsg}} </p>
|
| + </div>
|
| +
|
| + </template>
|
| +
|
| +
|
| + </polymer-element>
|
| + <h1>Count down</h1>
|
| +
|
| + <!-- Insert the CountDownComponent, implemented in xcountdown.html & xcountdown.dart -->
|
| + <x-count-down id="count_down"></x-count-down>
|
| +
|
| + <!--<script type="application/dart" src="count_down.dart"></script>-->
|
| +
|
| +
|
| +<script type="application/dart" src="count_down.html_bootstrap.dart"></script><script src="packages/browser/dart.js"></script></body></html>
|
|
|