Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-condensed table-striped">
- <thead>
- <tr>
- <th>Name</th>
- </tr>
- </thead>
- <tbody>
- <tr data-ng-repeat="c in vm.entity | filter:vm.filter track by c.Id">
- <td>
- <span>{{c.Name}}</span>
- </td>
- <td>
- <button class="glyphicon glyphicon-trash" type="button" data-toggle="modal" data-target=".bs-example-modal-sm"></button>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="modal fade bs-example-modal-sm">
- <div class="modal-dialog modal-sm">
- <div class="modal-content">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true"></span><span class="sr-only">Close</span></button>
- <h4 class="modal-title">Are you sure?</h4>
- </div>
- <div class="modal-body">
- <p>Are you sure you want to delete this Item?</p>
- </div>
- <div class="modal-footer">
- <button type="button" class="btn btn-default" data-dismiss="modal">No</button>
- <button type="button" data-ng-click="vm.remove(c)" data-dismiss="modal" class="btn btn-primary">Yes</button>
- </div>
- </div><!-- /.modal-content -->
- </div><!-- /.modal-dialog -->
- </div><!-- /.modal -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement