Advertisement
Guest User

Untitled

a guest
Aug 27th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. @extends('layouts.header')
  2.  
  3. @section('content')
  4. <span class="heading">Main</span>
  5. <ul class="list-unstyled">
  6. <li><a href="tables.html"> <i class="icon-grid"></i>Tables </a></li>
  7. <li><a href="#exampledropdownDropdown" aria-expanded="false" data-toggle="collapse"> <i class="icon-interface-windows"></i>Example dropdown </a>
  8. <ul id="exampledropdownDropdown" class="collapse list-unstyled ">
  9. <li><a href="#">Page</a></li>
  10. <li><a href="#">Page</a></li>
  11. <li><a href="#">Page</a></li>
  12. </ul>
  13. </li>
  14. </ul>
  15. </nav>
  16. <div class="content-inner">
  17. <!-- Page Header-->
  18. <header class="page-header">
  19. <div class="container-fluid">
  20. <h2 class="no-margin-bottom">Tables</h2>
  21. </div>
  22. </header>
  23. <!-- Breadcrumb-->
  24. <div class="breadcrumb-holder container-fluid">
  25. <ul class="breadcrumb">
  26. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  27. <li class="breadcrumb-item active">Tables</li>
  28. </ul>
  29. </div>
  30.  
  31. <section class="tables">
  32. <div class="container-fluid">
  33. <div class="row">
  34. <div class="col-lg-12">
  35. <div class="card">
  36. <div class="card-close">
  37. <div class="dropdown">
  38. <button type="button" id="closeCard3" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle"><i class="fa fa-ellipsis-v"></i></button>
  39. <div aria-labelledby="closeCard3" class="dropdown-menu dropdown-menu-right has-shadow"><a href="#" class="dropdown-item remove"> <i class="fa fa-times"></i>Close</a><a href="#" class="dropdown-item edit"> <i class="fa fa-gear"></i>Edit</a></div>
  40. </div>
  41. </div>
  42. <div class="card-body">
  43. <div class="table-responsive">
  44. <table class="table table-striped table-hover">
  45. <thead>
  46. <tr>
  47. <th>Nama Produk</th>
  48. <th>Harga</th>
  49. <th>Status</th>
  50. <th>Jumlah Barang</th>
  51. </tr>
  52. </thead>
  53. <tbody>
  54. @foreach ($woos as $woo)
  55. <tr>
  56. <th>{{$woo['name']}}</th>
  57. <th>{{$woo['regular_price']}}</th>
  58. <th>{{$woo['status']}}</th>
  59. <th>{{$woo['stock_quantity']}}</th>
  60. </tr>
  61. @endforeach
  62. </tbody>
  63. </table>
  64. </div>
  65. </div>
  66. </div>
  67. <nav aria-label="...">
  68. <ul class="pagination">
  69. <li class="page-item">
  70. <a class="page-link" href="http://localhost/larawoo/public/product?posts_per_page={{ $params['per_page']}}&page={{ $previous }}" tabindex="-1">{{ $previous }}</a>
  71. </li>
  72. <li class="page-item">
  73. <a class="page-link" href="http://localhost/larawoo/public/product?posts_per_page={{ $params['per_page']}}&page={{ $firstpage }}" tabindex="-1">{{ $firstpage }}</a>
  74. </li>
  75. <li class="page-item active">
  76. <a class="page-link" href="http://localhost/larawoo/public/product?posts_per_page={{ $params['per_page']}}&page={{ $current }}" <span class="sr-only">{{ $current }}</span></a>
  77. </li>
  78. <li class="page-item">
  79. <a class="page-link" href="http://localhost/larawoo/public/product?posts_per_page={{ $params['per_page']}}&page={{ $lastpage }}">{{ $lastpage }}</a>
  80. </li>
  81. <li class="page-item">
  82. <a class="page-link" href="http://localhost/larawoo/public/product?posts_per_page=10&page={{ $next }}">{{ $next }}</a>
  83. </li>
  84. </ul>
  85. </nav>
  86. </div>
  87. </div>
  88. </div>
  89. </section>
  90. @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement