Commit 318ab22a by Palti Sinaga

script

div calender
parent 502e3d38
...@@ -15,30 +15,26 @@ ...@@ -15,30 +15,26 @@
<form action="{{url('book')}}" method="post"> <form action="{{url('book')}}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="id" value="{{$data->id}}"> <input type="hidden" name="id" value="{{$data->id}}">
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required=""> <input class="date agileits w3layouts" id="datepicker1" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required="">
</div> </div>
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input class="date agileits w3layouts" id="datepicker2" type="text" value=" Tanggal out" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required="">
</div>
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_hari" placeholder="Lama Menginap" required="" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_hari" placeholder="Lama Menginap" required="" style="background-color: white; color: black">
</div> </div>
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" required="" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" required="" style="background-color: white; color: black">
</div> </div>
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft" style="margin-top: 10px;"> <a href="" id="book" >
<button class="btn btn-success " >BOOK NOW</button>
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<a href="{{url('history')}}" id="book" >
<input type="button" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now"> <input type="button" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</a> </a>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div> </div>
</form> </form>
</div> </div>
...@@ -119,14 +115,6 @@ ...@@ -119,14 +115,6 @@
<h2 style="margin-bottom: 10px;"> Kritik dan Saran</h2> <h2 style="margin-bottom: 10px;"> Kritik dan Saran</h2>
<form action="#" method="post" style="margin-bottom: 25px;"> <form action="#" method="post" style="margin-bottom: 25px;">
<h2 style="margin-bottom: 10px;"> Kritik dan Saran </h2>
<form action ="#" method="post" style="margin-bottom: 25px;">
<h2 style="margin-bottom: 10px;"> Kritik dan Saran</h2>
<form action="#" method="post" style="margin-bottom: 25px;">
<h2 style="margin-bottom: 10px;"> Kritik dan Saran </h2>
<form action ="#" method="post" style="margin-bottom: 25px;">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required=""> <input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required="">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Email" placeholder="Email" required=""> <input type="text" class="text wow agileits w3layouts slideInLeft" name="Email" placeholder="Email" required="">
...@@ -144,49 +132,7 @@ ...@@ -144,49 +132,7 @@
<script> <script>
$('#myModal').modal(''); $('#myModal').modal('');
</script> </script>
<script>
document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
@endsection
</div>
</div>
<script> <!-- Date-Picker-JavaScript -->
document.querySelector(' ').onclick = function(){ <script src="{{asset('js/jquery-ui.js')}}"></script>
swal("Good job!", "You clicked the button!", "success");}; @endsection
</script>
<script>
document.querySelector('').onclick = function(){
swal({
title:"Are you sure?",
text: "You will not be able to recover this imaginary file!",
type: "warning",
showCancelButton: true,
confirmButtonColor: '#DD6B55',
confirmButtonText: 'Yes, delete it!',
cancelButtonText: "No, cancel plx!",
closeOnConfirm: false,
closeOnCancel: false
},
function(isConfirm){
if (isConfirm){
swal("Deleted!", "Your imaginary file has been deleted!", "success");
} else {
swal("Cancelled", "Your imaginary file is safe :)", "error");
}
});
};
</script>
</script>
@endsection
...@@ -36,18 +36,6 @@ ...@@ -36,18 +36,6 @@
@endif @endif
</a> </a>
<ul class="dropdown-menu">
<!-- The user image in the menu -->
<li class="user-header">
{{--<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />--}}
<p>
<img src="img/{{ Auth::user()->foto }}" class="img-circle" alt="User Image" />
<!-- {{ Auth::user()->name }} -->
<!-- <small>{{ trans('adminlte_lang::message.login') }} </small> -->
</p>
</li>
<!-- Menu Body -->
@if(Auth::user()->role=="Customer") @if(Auth::user()->role=="Customer")
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<!-- The user image in the menu --> <!-- The user image in the menu -->
...@@ -55,8 +43,7 @@ ...@@ -55,8 +43,7 @@
{{--<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />--}} {{--<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />--}}
<p> <p>
<img src="img/{{ Auth::user()->foto }}" class="img-circle" alt="User Image" /> <img src="img/{{ Auth::user()->foto }}" class="img-circle" alt="User Image" />
{{ Auth::user()->name }}
<small>{{ trans('adminlte_lang::message.login') }} </small>
</p> </p>
</li> </li>
<!-- Menu Body --> <!-- Menu Body -->
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<!-- Default-JavaScript --> <!-- Default-JavaScript -->
<script type="text/javascript" src="{{asset('js/jquery-2.1.4.min.js')}}"></script> <script type="text/javascript" src="{{asset('js/jquery-2.1.4.min.js')}}"></script>
<script type="text/javascript" src="{{asset('js/jquery-ui.js')}}"></script>
<!-- Bootstrap-JavaScript --> <!-- Bootstrap-JavaScript -->
<script type="text/javascript" src="{{asset('js/bootstrap.min.js')}}"></script> <script type="text/javascript" src="{{asset('js/bootstrap.min.js')}}"></script>
<!-- Sweealert-JavaScript --> <!-- Sweealert-JavaScript -->
...@@ -77,7 +78,8 @@ ...@@ -77,7 +78,8 @@
<!-- //Booking-Popup-Box-JavaScript --> <!-- //Booking-Popup-Box-JavaScript -->
<!-- Date-Picker-JavaScript --> <!-- Date-Picker-JavaScript -->
<script> <script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
$('#datepicker2').datepicker({ $('#datepicker2').datepicker({
dateFormat: "dd-M-yy" dateFormat: "dd-M-yy"
}); });
...@@ -95,6 +97,6 @@ ...@@ -95,6 +97,6 @@
} }
}); });
</script> </script>
<!-- //new date picker -->
<!-- //Custom-JavaScript-File-Links --> <!-- //Custom-JavaScript-File-Links -->
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment