fadlyshafa

Untitled

Feb 12th, 2020
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.52 KB | None | 0 0
  1. @extends('dashboard.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.                 <form role="form" method="post" action="{{ url('verifikasi') }}">
  17.                     @csrf
  18.                   <div class="box-body">
  19.                     <div class="form-group">
  20.                       <label for="exampleInputEmail1">ID Pendaftaran</label>
  21.                       <input type="text" name="id_pendaftaran" class="form-control" id="exampleInputEmail1" placeholder="Masukkan ID Pendaftaran">
  22.                     </div>
  23.                   </div>
  24.                   <!-- /.box-body -->
  25.      
  26.                   <div class="box-footer">
  27.                     <button type="submit" class="btn btn-primary">Submit</button>
  28.                   </div>
  29.                 </form>
  30.  
  31.             </div>
  32.         </div>
  33.     </div>
  34. </div>
  35.  
  36. @endsection
  37.  
  38. @section('scripts')
  39.  
  40. <script type="text/javascript">
  41.     $(document).ready(function(){
  42.  
  43.         // btn refresh
  44.         $('.btn-refresh').click(function(e){
  45.             e.preventDefault();
  46.             $('.preloader').fadeIn();
  47.             location.reload();
  48.         })
  49.  
  50.     })
  51. </script>
  52.  
  53. @endsection
Add Comment
Please, Sign In to add comment