Advertisement
fadlyshafa

Untitled

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