Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. <table class="table table-condensed table-striped">
  2. <thead>
  3. <tr>
  4. <th>Name</th>
  5. </tr>
  6. </thead>
  7. <tbody>
  8. <tr data-ng-repeat="c in vm.entity | filter:vm.filter track by c.Id">
  9. <td>
  10. <span>{{c.Name}}</span>
  11. </td>
  12. <td>
  13. <button class="glyphicon glyphicon-trash" type="button" data-toggle="modal" data-target=".bs-example-modal-sm"></button>
  14.  
  15. </td>
  16. </tr>
  17. </tbody>
  18. </table>
  19.  
  20. <div class="modal fade bs-example-modal-sm">
  21. <div class="modal-dialog modal-sm">
  22. <div class="modal-content">
  23. <div class="modal-header">
  24. <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true"></span><span class="sr-only">Close</span></button>
  25. <h4 class="modal-title">Are you sure?</h4>
  26. </div>
  27. <div class="modal-body">
  28. <p>Are you sure you want to delete this Item?</p>
  29. </div>
  30. <div class="modal-footer">
  31. <button type="button" class="btn btn-default" data-dismiss="modal">No</button>
  32. <button type="button" data-ng-click="vm.remove(c)" data-dismiss="modal" class="btn btn-primary">Yes</button>
  33. </div>
  34. </div><!-- /.modal-content -->
  35. </div><!-- /.modal-dialog -->
  36. </div><!-- /.modal -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement