Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. const modalRef = this.modalService.open(ModalInventoryComponent, {
  2. size: 'xl',
  3. scrollable: true
  4. });
  5.  
  6. <div class="modal-header d-flex justify-content-between">
  7.  
  8. <h4 class="modal-title">{{mySupermarket.name}}</h4>
  9.  
  10. <button type="button" class="close" aria-label="Close (click)="modal.dismiss('Cross click')">
  11. <span aria-hidden="true">&times;</span>
  12. </button>
  13.  
  14. </div>
  15.  
  16. <div class="modal-body">
  17.  
  18. <!-- I have 4 Tables like this one -->
  19. <div class="container-fluid">
  20. <div class="row">
  21. <div class="col-sm-1">
  22. Example
  23. </div>
  24. <div class="col">
  25. <h6>Product</h6>
  26. <div class="table-responsive">
  27. <table class="table table-striped">
  28. <thead>
  29. <tr>
  30. <th scope="col">Number</th>
  31. <th scope="col">Name</th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <tr *ngFor="let inv of inventories">
  36. <th scope="row">{{inv.number}}</th>
  37. <td>{{inv.name}}</td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45.  
  46. </div>
  47.  
  48. <div class="modal-footer">
  49. <button type="button" class="btn btn-secondary" (click)="activeModal.dismiss('close click')">Cerrar</button>
  50. </div>
  51.  
  52. .modal-body {
  53. overflow-y: auto;
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement