index.blade.php 1.8 KB

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