Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-striped">
- <thead>
- <tr>
- <th>Дела</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="case in listCases">
- <td ng-if="!case.done">{{case.name}}</td>
- <td ng-if="case.done"><del>{{case.name}}</del></td>
- <td>
- <button ng-if="!case.done" type="button" ng-click="setDone(case.id)">
- <span class="glyphicon glyphicon-ok"></span>
- </button>
- <button ng-if="case.done" type="button" ng-click="resetDone(case.id)">
- <span class="glyphicon glyphicon-remove"></span>
- </button>
- <button type="button" ng-click="deleteCase(case.id)">
- <span class="glyphicon glyphicon-trash"></span>
- </button>
- </td>
- </tr>
- </tbody>
- </table>
Add Comment
Please, Sign In to add comment