| Index: third_party/pkg/angular/demo/todo/web/index.html
|
| ===================================================================
|
| --- third_party/pkg/angular/demo/todo/web/index.html (revision 33054)
|
| +++ third_party/pkg/angular/demo/todo/web/index.html (working copy)
|
| @@ -8,32 +8,33 @@
|
| </head>
|
| <body ng-app>
|
|
|
| - <div ng-hide="true" class="border well loading">Wait, Dart is loading this awesome app...</div>
|
| +<div ng-hide="true" class="border well loading">Wait, Dart is loading this awesome app...</div>
|
|
|
| - <div todo-controller class="border well" ng-cloak>
|
| - <h2>Things To Do ;-)</h2>
|
| +<div todo-controller class="border well" ng-cloak>
|
| + <h2>Things To Do ;-)</h2>
|
|
|
| - <div class="right">
|
| - <button ng-click="todo.markAllDone()" class="btn btn-small">mark all done</button>
|
| - <button ng-click="todo.archiveDone()" class="btn btn-small">archive done</button>
|
| - </div>
|
| + <div class="right">
|
| + <button ng-click="todo.markAllDone()" class="btn btn-small">mark all done</button>
|
| + <button ng-click="todo.archiveDone()" class="btn btn-small">archive done</button>
|
| + </div>
|
|
|
| - <p>Remaining <b>{{todo.remaining()}}</b> of <b>{{todo.items.length}}</b> items.</p>
|
| + <p>Remaining <b>{{todo.remaining()}}</b> of <b>{{todo.items.length}}</b> items.</p>
|
|
|
|
|
| - <ul class="well unstyled">
|
| - <li ng-repeat="item in todo.items" ng-class="todo.classFor(item)">
|
| - <label class="checkbox">
|
| - <input type="checkbox" ng-model="item.done"> {{item.text}}
|
| - </label>
|
| - </li>
|
| - </ul>
|
| + <ul class="well unstyled">
|
| + <li ng-repeat="item in todo.items" ng-class="todo.classFor(item)">
|
| + <label class="checkbox">
|
| + <input type="checkbox" ng-model="item.done"> {{item.text}}
|
| + </label>
|
| + </li>
|
| + </ul>
|
|
|
| - <form class="form-inline" onsubmit="return false;">
|
| - <input type="text" ng-model="todo.newItem.text">
|
| - <button ng-click="todo.add()" ng-disabled="todo.newItem.isEmpty" class="btn btn-primary">add</button>
|
| - <button ng-click="todo.newItem.clear()" ng-disabled="todo.newItem.isEmpty" class="btn">clear</button>
|
| - </form>
|
| - </div>
|
| + <form class="form-inline" onsubmit="return false;">
|
| + <input type="text" ng-model="todo.newItem.text">
|
| + <button ng-click="todo.add()" ng-disabled="todo.newItem.isEmpty" class="btn btn-primary">add</button>
|
| + <button ng-click="todo.newItem.clear()" ng-disabled="todo.newItem.isEmpty" class="btn">clear</button>
|
| + </form>
|
| +
|
| +</div>
|
| </body>
|
| </html>
|
|
|