destinations.blade.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @extends('admin.layout.index')
  2. @push('css-head')
  3. @endpush
  4. @section('content')
  5. <!-- Page header -->
  6. <div class="page-header page-header-light">
  7. <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
  8. <div class="d-flex">
  9. <div class="breadcrumb">
  10. <a href="{{url('/admin')}}" class="breadcrumb-item"><i class="icon-home2 mr-2"></i> Dashboard</a>
  11. <span class="breadcrumb-item active">Destinations</span>
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. <!-- /page header -->
  17. <!-- Content area -->
  18. <div class="content">
  19. <div class="card">
  20. <table class="table datatable-basic">
  21. <thead>
  22. <tr>
  23. <th style="width: 5%;">#</th>
  24. <th>Name</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. @foreach($destinations as $key => $row)
  29. <tr>
  30. <td>{{ ++$key }}</td>
  31. <td>{{ $row->name }}</td>
  32. </tr>
  33. @endforeach
  34. </tbody>
  35. </table>
  36. </div>
  37. </div>
  38. <!-- /content area -->
  39. @endsection
  40. @push('scripts')
  41. <script src="{{ asset('/assets/global/js/plugins/notifications/sweet_alert.min.js') }}"></script>
  42. <script src="{{ asset('/assets/global/js/plugins/tables/datatables/datatables.min.js') }}"></script>
  43. <script src="{{ asset('/assets/global/js/demo_pages/datatables_basic.js') }}"></script>
  44. <script type="text/javascript">
  45. $(document).ready(function(){
  46. $('[data-toggle="tooltip"]').tooltip();
  47. });
  48. </script>
  49. @endpush