fadlyshafa

Untitled

Jul 10th, 2020
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @extends('layouts.master')
  2.  
  3. @section('content')
  4.  
  5. <div class="row">
  6. <div class="col-md-12">
  7. <h4>{{ $title }}</h4>
  8. <div class="box box-warning">
  9. <div class="box-header">
  10. <p>
  11. <button class="btn btn-sm btn-flat btn-warning btn-refresh"><i class="fa fa-refresh"></i> Refresh</button>
  12. </p>
  13. </div>
  14. <div class="box-body">
  15.  
  16. @foreach($data as $dt)
  17. <div class="row">
  18.  
  19. <center>
  20. <h1>
  21. <b><i>
  22. No Urut {{ $dt->no_urut }}
  23. </i></b>
  24. </h1>
  25. </center>
  26.  
  27. <div class="col-md-6">
  28. <!-- Widget: user widget style 1 -->
  29. <div class="box box-widget widget-user-2">
  30. <!-- Add the bg color to the header using any of the bg-* classes -->
  31. <div class="widget-user-header bg-yellow">
  32. <div class="widget-user-image">
  33. <img class="img-circle" src="{{ asset($dt->mahasiswa_calon_ketua->photo) }}" alt="User Avatar">
  34. </div>
  35. <!-- /.widget-user-image -->
  36. <h3 class="widget-user-username">{{ $dt->mahasiswa_calon_ketua->nama }}</h3>
  37. <h5 class="widget-user-desc">Calon Ketua</h5>
  38. </div>
  39. <div class="box-footer no-padding">
  40. <ul class="nav nav-stacked">
  41. <li><a href="#">Nim : {{ $dt->mahasiswa_calon_ketua->nim }} <span class="pull-right badge bg-blue"></span></a></li>
  42. <li><a href="#">Nama : {{ $dt->mahasiswa_calon_ketua->nama }} <span class="pull-right badge bg-aqua"></span></a></li>
  43. <li><a href="#">No Telp : {{ $dt->mahasiswa_calon_ketua->no_telp }} <span class="pull-right badge bg-green"></span></a></li>
  44. <li><a href="#">Alamat : {{ $dt->mahasiswa_calon_ketua->alamat }} <span class="pull-right badge bg-red"></span></a></li>
  45. </ul>
  46. </div>
  47. </div>
  48. <!-- /.widget-user -->
  49. </div>
  50.  
  51. <div class="col-md-6">
  52. <!-- Widget: user widget style 1 -->
  53. <div class="box box-widget widget-user-2">
  54. <!-- Add the bg color to the header using any of the bg-* classes -->
  55. <div class="widget-user-header bg-yellow">
  56. <div class="widget-user-image">
  57. <img class="img-circle" src="{{ asset($dt->mahasiswa_calon_wakil->photo) }}" alt="User Avatar">
  58. </div>
  59. <!-- /.widget-user-image -->
  60. <h3 class="widget-user-username">{{ $dt->mahasiswa_calon_wakil->nama }}</h3>
  61. <h5 class="widget-user-desc">Lead Calon Wakil Ketua</h5>
  62. </div>
  63. <div class="box-footer no-padding">
  64. <ul class="nav nav-stacked">
  65. <li><a href="#">Nim : {{ $dt->mahasiswa_calon_wakil->nim }} <span class="pull-right badge bg-blue"></span></a></li>
  66. <li><a href="#">Nama : {{ $dt->mahasiswa_calon_wakil->nama }} <span class="pull-right badge bg-aqua"></span></a></li>
  67. <li><a href="#">No Telp : {{ $dt->mahasiswa_calon_wakil->no_telp }} <span class="pull-right badge bg-green"></span></a></li>
  68. <li><a href="#">Alamat : {{ $dt->mahasiswa_calon_wakil->alamat }} <span class="pull-right badge bg-red"></span></a></li>
  69. </ul>
  70. </div>
  71. </div>
  72. <!-- /.widget-user -->
  73. </div>
  74.  
  75. </div>
  76. @endforeach
  77.  
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82.  
  83. @endsection
  84.  
  85. @section('scripts')
  86.  
  87. <script type="text/javascript">
  88. $(document).ready(function(){
  89.  
  90. // btn refresh
  91. $('.btn-refresh').click(function(e){
  92. e.preventDefault();
  93. $('.preloader').fadeIn();
  94. location.reload();
  95. })
  96.  
  97. })
  98. </script>
  99.  
  100. @endsection
RAW Paste Data