Commit 318ab22a by Palti Sinaga

script

div calender
parent 502e3d38
......@@ -15,30 +15,26 @@
<form action="{{url('book')}}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<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">
<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 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">
</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">
</div>
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft" style="margin-top: 10px;">
<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" >
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<a href="" id="book" >
<input type="button" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</a>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div>
</form>
</div>
......@@ -119,14 +115,6 @@
<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;">
<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="Email" placeholder="Email" required="">
......@@ -144,49 +132,7 @@
<script>
$('#myModal').modal('');
</script>
<script>
document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
@endsection
</div>
</div>
<script>
document.querySelector(' ').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</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
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
@endsection
......@@ -36,18 +36,6 @@
@endif
</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")
<ul class="dropdown-menu">
<!-- The user image in the menu -->
......@@ -55,8 +43,7 @@
{{--<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 -->
......
......@@ -2,6 +2,7 @@
<!-- Default-JavaScript -->
<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 -->
<script type="text/javascript" src="{{asset('js/bootstrap.min.js')}}"></script>
<!-- Sweealert-JavaScript -->
......@@ -77,6 +78,7 @@
<!-- //Booking-Popup-Box-JavaScript -->
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
$('#datepicker2').datepicker({
dateFormat: "dd-M-yy"
......@@ -95,6 +97,6 @@
}
});
</script>
<!-- //new date picker -->
<!-- //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