index.blade.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php $getStatus = \App\Model\Privillage\Role::where('id',Auth::user()->role_id)->value('akses'); ?>
  2. @extends('dev.core.using')
  3. @section('content')
  4. @include('templates.SPP.RT.core.detail')
  5. @include('templates.SPP.RT.core.edit')
  6. @include('templates.SPP.RT.import.import')
  7. @include('templates.SPP.RT.export.export-search')
  8. @include('templates.SPP.RT.export.preview-search')
  9. @include('templates.SPP.RT.export.print-search')
  10. @include('templates.helpers.delete')
  11. @include('templates.SPP.RT.dev.data')
  12. <style>
  13. #example_filter{position: absolute; right: 20px;}
  14. .dataTables_wrapper{overflow-y: hidden;}
  15. .dataTables_filter{position: absolute; right: 13px;}
  16. .dataTables_length{position: sticky; left: 10px;}
  17. .previous {color: #87a5d8 !important; border:1px solid #87a5d8; border-radius: 20px; padding:3px;}
  18. .previous:hover{color: #fff !important; border:1px solid #fff;}
  19. .next{color: #87a5d8 !important; border:1px solid #87a5d8; border-radius: 20px; padding:3px;}
  20. .next:hover{color: #fff !important; border:1px solid #fff;}
  21. .processing{color: red !important;}
  22. </style>
  23. <br>
  24. <br>
  25. <div style="margin-bottom: 20px;">
  26. <div class="card shadow" style="border:1px solid #dedede;">
  27. <div class="card-header bg-transparent">
  28. <div class="row align-items-center">
  29. <div class="col">
  30. <center>
  31. <h4 class="mb-0"><i class="fas fa-building"></i>&nbsp;&nbsp;{{strtoupper($getStatus)}} {{$getUptName}}</h4>
  32. </center>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. @include('templates.helpers.SPP.RT.maps')
  39. <div class="container" style="margin-top: 40px;">
  40. <br>
  41. @if($getStatus == 'administrator')
  42. @include('templates.helpers.SPP.RT.chart')
  43. @else
  44. @include('templates.helpers.SPP.RT.chart-no-admin')
  45. @endif
  46. </div>
  47. <div class="row mt-5">
  48. <div class="col-md-12 mb-4 mb-xl-0" style="margin-top: 10px;">
  49. <div class="">
  50. @include('templates.SPP.RT.core.table')
  51. </div>
  52. </div>
  53. </div>
  54. @include('templates.helpers.SPP.RT.js')
  55. @endsection