Commit 9dd0465c by Palti Sinaga

line

parent 42e4f27b
img/pantaiBulubul2.jpg

218 KB | W: | H:

img/pantaiBulubul2.jpg

125 KB | W: | H:

img/pantaiBulubul2.jpg
img/pantaiBulubul2.jpg
img/pantaiBulubul2.jpg
img/pantaiBulubul2.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/pantaiBulubul2.jpg

218 KB | W: | H:

public/img/pantaiBulubul2.jpg

125 KB | W: | H:

public/img/pantaiBulubul2.jpg
public/img/pantaiBulubul2.jpg
public/img/pantaiBulubul2.jpg
public/img/pantaiBulubul2.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -17,45 +17,41 @@ ...@@ -17,45 +17,41 @@
</thead> </thead>
<tbody> <tbody>
@foreach($data as $a) @foreach($data as $a)
<tr class="success"> <tr class="success">
<td>{{$a->noRekening}}</td> <td>{{$a->noRekening}}</td>
<td>{{$a->nama}}</td> <td>{{$a->nama}}</td>
<td>{{$a->total_pembayaran}}</td> <td>{{$a->total_pembayaran}}</td>
<td> <td>
@if($a->bukti_pembayaran==null) @if($a->bukti_pembayaran==null)
<img alt="Buku Transfer Tidak Ada" class="img-circle img-responsive"> <img alt="Buku Transfer Tidak Ada" class="img-circle img-responsive">
@else @else
<img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" > <img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" >
@endif @endif
</td> </td>
<td> <td>
@if($a->status==0) Belum Dikonfirmasi @if($a->status==0) Belum Dikonfirmasi
@elseif($a->status==1) Di Terima @elseif($a->status==1) Di Terima
@elseif($a->status==2) Di Tolak @elseif($a->status==2) Di Tolak
@endif @endif
</td> </td>
<td> <td>
<a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a> <a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a>
</td> </td>
<td> <td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST"> <form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{csrf_field()}} {{csrf_field()}}
<input type="hidden" name="_method" id="hapus" value="DELETE"> <input type="hidden" name="_method" id="hapus" value="DELETE">
<button type="submit" class="btn btn-danger">Hapus</button> <button type="submit" class="btn btn-danger">Hapus</button>
</form> </form>
</td> </td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
<script src="{{asset('js/jquery-ui.js')}}"></script> <script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
document.getElementById('hapus').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
@endsection @endsection
@extends('adminlte::layouts.master') @extends('adminlte::layouts.master')
@section('main-content') @section('main-content')
<div class="cuisines agileits w3layouts" style="padding-top: 50px; margin-top: 80px; margin-bottom: 100px;"> <div class="cuisines agileits w3layouts" style="padding-top: 50px; margin-top: 80px; margin-bottom: 100px;">
<div class="container"> <div class="container">
<form class="form-horizontal" action="{{url('upload/'.$data->id)}}" method="post" enctype="multipart/form-data"> <form class="form-horizontal" action="{{url('upload/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT"> <input type="hidden" name="_method" value="PUT">
{{csrf_field()}} {{csrf_field()}}
<label>Tanggal Mulai</label> <label>Tanggal Mulai</label>
<input type="text" name="tanggal_mulai" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control"> <input type="text" name="tanggal_mulai" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control">
<label>Tanggal Berakhir</label> <label>Tanggal Berakhir</label>
<input type="text" name="tanggal_berakhir" value="{{$data->tanggal_berakhir}}" class="form-control"> <input type="text" name="tanggal_berakhir" value="{{$data->tanggal_berakhir}}" class="form-control">
<label>Jumlah Kamar</label> <label>Jumlah Kamar</label>
<input type="text" name="jumlah_kamar" value="{{$data->jumlah_kamar}}" class="form-control"> <input type="text" name="jumlah_kamar" value="{{$data->jumlah_kamar}}" class="form-control">
<label>Bukti Pembayaran</label> <label>Bukti Pembayaran</label>
<input type="file" name="bukti_pembayaran" id="foto" class="form-corol">nt<br> <input type="file" name="bukti_pembayaran" id="foto" class="form-corol">nt<br>
<div class="form-group" align="right"> <div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan"> <input type="submit" class="btn btn-primary" value="simpan">
</div> </div>
</form> </form>
</div> </div>
</div> </div>
@endsection @endsection
\ No newline at end of file
...@@ -35,18 +35,15 @@ ...@@ -35,18 +35,15 @@
<label class="col-sm-2 control-label"> Foto </label> <label class="col-sm-2 control-label"> Foto </label>
<div class="col-sm-10"> <div class="col-sm-10">
<input type="file" value="Browse" name="foto" id="picture" > <input type="file" value="Browse" name="foto" id="picture" >
</div>
</div> <div class="form-group" align="right">
<div class="form-group" align="right"> <div class="col-sm-12">
<div class="col-sm-12"> <input type="submit" class="btn btn-primary">
<input type="submit" class="btn btn-primary"> </div>
</div> </div>
</div> </div>
</div> </form>
</form> </div>
</div> </div>
</div>
</div> </div>
@endsection @endsection
\ No newline at end of file
...@@ -30,20 +30,14 @@ ...@@ -30,20 +30,14 @@
<td>:</td> <td>:</td>
<td>{{$data->pekerjaan}}</td> <td>{{$data->pekerjaan}}</td>
</tr> </tr>
</table> </table>
<br><br> <br><br>
<div class="services agileits w3layouts" style="background-color: #fff; padding: 1px 1px 1px 0px; margin-top: 30px;"> <div class="services agileits w3layouts" style="background-color: #fff; padding: 1px 1px 1px 0px; margin-top: 30px;">
<a class="agileits w3layoutswow slideInLeft" href="{{url('editProfileCustomer/'.$data->id)}}" >Edit Profile <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a> <a class="agileits w3layoutswow slideInLeft" href="{{url('editProfileCustomer/'.$data->id)}}" >Edit Profile <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
<a class="agileits w3layoutswow slideInLeft" href="{{url('customerHistory')}}">History <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a> <a class="agileits w3layoutswow slideInLeft" href="{{url('customerHistory')}}">History <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
</div> </div>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
@endsection @endsection
\ No newline at end of file
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
<input type="text" name="nama" value="" id="nama" class="form-control"> <input type="text" name="nama" value="" id="nama" class="form-control">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label> Jumlah Kamar </label> <label> Jumlah Kamar </label>
<div class="input-group"> <div class="input-group">
...@@ -41,8 +40,6 @@ ...@@ -41,8 +40,6 @@
<input type="text" name="jumlah_kamar" value="" id="kamar" class="form-control"> <input type="text" name="jumlah_kamar" value="" id="kamar" class="form-control">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">
<label> Tanggal Check In </label> <label> Tanggal Check In </label>
<div class="input-group date"> <div class="input-group date">
...@@ -53,7 +50,6 @@ ...@@ -53,7 +50,6 @@
</div> </div>
<!-- /.input group --> <!-- /.input group -->
</div> </div>
<div class="form-group"> <div class="form-group">
<label> Lama Menginap </label> <label> Lama Menginap </label>
<div class="input-group"> <div class="input-group">
...@@ -63,15 +59,12 @@ ...@@ -63,15 +59,12 @@
<input type="text" name="lama_menginap" value="" id="nama" class="form-control"> <input type="text" name="lama_menginap" value="" id="nama" class="form-control">
</div> </div>
</div> </div>
<div class="form-group" align="right"> <div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan"> <input type="submit" class="btn btn-primary" value="simpan">
</div> </div>
</form> </form>
</div> </div>
</div> </div>
<script src="{{ asset('/js/bootstrap-datepicker.js') }}"></script> <script src="{{ asset('/js/bootstrap-datepicker.js') }}"></script>
<script type="text/javascript"> <script type="text/javascript">
$('#datepicker').datepicker({ $('#datepicker').datepicker({
......
...@@ -40,9 +40,7 @@ ...@@ -40,9 +40,7 @@
</form> </form>
</div> </div>
<div class="box-footer"> <div class="box-footer">
</div> </div>
</div> </div>
......
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }} {{ trans('adminlte_lang::message.home') }}
@endsection @endsection
@section('main-content') @section('main-content')
<div class="box box-warning"> <div class="box box-warning">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title"> Daftar Booked </h3> <h3 class="box-title"> Daftar Booked </h3>
@if(Session::has('alert-success')) @if(Session::has('alert-success'))
<div class="alert alert-success"> <div class="alert alert-success">
{{ Session::get('alert-success') }} {{ Session::get('alert-success') }}
</div> </div>
@endif @endif
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="alert alert-danger"> <div class="alert alert-danger">
<ul> <ul>
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<li>{{ $error }}</li> <li>{{ $error }}</li>
@endforeach @endforeach
</ul> </ul>
</div> </div>
@endif @endif
</div> </div>
<div class="box-body"> <div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12"> <div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow"> <div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span> <span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">Daftar Booked</span> <span class="info-box-text">Daftar Booked</span>
<span class="info-box-number">{{$count}}</span> <span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="table table-striped">
<tr>
<th>Nama Pelanggan</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Jumlah Kamar</th>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama_pemesan}}</td>
<td>{{$a->tanggal_mulai}}</td>
<td>{{$a->tanggal_berakhir}}</td>
<td>{{$a->jumlah_kamar}}</td>
</tr>
@endforeach
</table>
</div> </div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div> </div>
<br>
<table class="table table-striped">
<tr>
<th>Nama Pelanggan</th>
<th>Tanggal Mulai</th>
<th>Tanggal Berakhir</th>
<th>Jumlah Kamar</th>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama_pemesan}}</td>
<td>{{$a->tanggal_mulai}}</td>
<td>{{$a->tanggal_berakhir}}</td>
<td>{{$a->jumlah_kamar}}</td>
</tr>
@endforeach
</table>
</div>
</div>
@endsection @endsection
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
<!-- /.info-box --> <!-- /.info-box -->
</div> </div>
<br> <br>
<table class="table table-striped"> <table class="table table-striped">
<tr> <tr>
<th>Pengaju</th> <th>Pengaju</th>
...@@ -62,12 +61,9 @@ ...@@ -62,12 +61,9 @@
@endif @endif
</td> </td>
</tr> </tr>
@endforeach @endforeach
</table> </table>
</div> </div>
</div> </div>
@endsection @endsection
...@@ -21,43 +21,37 @@ ...@@ -21,43 +21,37 @@
</div> </div>
<div class="box-body"> <div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12"> <div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow"> <div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-home"></i></span> <span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-home"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">List Pengajuan Homestay</span> <span class="info-box-text">List Pengajuan Homestay</span>
<span class="info-box-number">{{$count}}</span> <span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div> </div>
<!-- /.info-box --> <!-- /.info-box-content -->
<br>
</div> </div>
<table class="table table-striped"> <!-- /.info-box -->
<tr> <br>
<th>Pengaju</th> </div>
<th>Nama Homestay</th> <table class="table table-striped">
<td>Jumlah Kamar</td> <tr>
<td>Status</td> <th>Pengaju</th>
</tr> <th>Nama Homestay</th>
@foreach($data as $a) <td>Jumlah Kamar</td>
<tr> <td>Status</td>
<td>{{$a->nama}}</td> </tr>
<td>{{$a->namaHomestay}}</td> @foreach($data as $a)
<td>{{$a->jumlahKamar}}</td> <tr>
<td>@if($a->status==0) Sedang Menunggu <td>{{$a->nama}}</td>
@elseif($a->status==1) Diterima <td>{{$a->namaHomestay}}</td>
@elseif($a->status==2) Ditolak <td>{{$a->jumlahKamar}}</td>
@endif <td>@if($a->status==0) Sedang Menunggu
</td> @elseif($a->status==1) Diterima
</tr> @elseif($a->status==2) Ditolak
@endif
</td>
@endforeach </tr>
</table> @endforeach
</table>
</div> </div>
</div> </div>
</div>
@endsection @endsection
...@@ -19,12 +19,10 @@ ...@@ -19,12 +19,10 @@
</div> </div>
@endif @endif
@if(session()->has('message')) @if(session()->has('message'))
<div class="alert alert-info"> <div class="alert alert-info">
{{session()->get('message')}} {{session()->get('message')}}
</div> </div>
@endif @endif
</div> </div>
<div class="box-body"> <div class="box-body">
<form action="{{ url('reqFasilitas') }}" method="post" enctype="multipart/form-data" name="myForm" onsubmit="return(validate())"> <form action="{{ url('reqFasilitas') }}" method="post" enctype="multipart/form-data" name="myForm" onsubmit="return(validate())">
...@@ -83,26 +81,11 @@ ...@@ -83,26 +81,11 @@
</div> </div>
</div> </div>
<div class="form-group" align="right" style="color: black;"> <div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Ajukan</button> <button type="submit" class="btn btn-primary ">Ajukan</button>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
<script type="text/javascript">
function validate()
{
if(document.myForm.namaRequestFasilitas.value == "")
{
document.getElementById('errfn').innerHTML="Harap Isi Judul";
document.myForm.namaRequestFasilitas.focus();
return false;
}
return (true);
}
</script>
@endsection @endsection
...@@ -19,14 +19,13 @@ ...@@ -19,14 +19,13 @@
</div> </div>
@if(session()->has('message')) @if(session()->has('message'))
<div class="alert alert-info"> <div class="alert alert-info">
{{session()->get('message')}} {{session()->get('message')}}
</div> </div>
@endif @endif
@endif @endif
</div> </div>
<div class="box-body"> <div class="box-body">
<form action="{{ url('updateHomestay/'.$data->id) }}" method="post" enctype="multipart/form-data"> <form action="{{ url('updateHomestay/'.$data->id) }}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT"> <input type="hidden" name="_method" value="PUT">
...@@ -78,10 +77,10 @@ ...@@ -78,10 +77,10 @@
</div> </div>
</div> </div>
<div class="form-group" align="right" style="color: black;"> <div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Update</button> <button type="submit" class="btn btn-primary ">Update</button>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
@endsection @endsection
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
<div class="small-box bg-green"> <div class="small-box bg-green">
<div class="inner"> <div class="inner">
<h3>53<sup style="font-size: 20px">%</sup></h3> <h3>53<sup style="font-size: 20px">%</sup></h3>
<p>Bounce Rate</p> <p>Bounce Rate</p>
</div> </div>
<div class="icon"> <div class="icon">
......
...@@ -69,23 +69,21 @@ ...@@ -69,23 +69,21 @@
<input type="hidden" name="konfirmasi" value="1"> <input type="hidden" name="konfirmasi" value="1">
<button type="submit" class="btn btn-info"><i class="glyphicon glyphicon-apple"> Terima</i></button> <button type="submit" class="btn btn-info"><i class="glyphicon glyphicon-apple"> Terima</i></button>
</form> </form>
<td> <td>
<form action="{{url('konfirmasiPemesanan/'.$a->id)}}" method="post"> <form action="{{url('konfirmasiPemesanan/'.$a->id)}}" method="post">
{{csrf_field()}} {{csrf_field()}}
<input type="hidden" name="_method" value="PUT"> <input type="hidden" name="_method" value="PUT">
<input type="hidden" name="konfirmasi" value="2"> <input type="hidden" name="konfirmasi" value="2">
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"> Tolak</i></button> <button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"> Tolak</i></button>
</form> </form>
</td>
@elseif($a->status==1) Diterima
@elseif($a->status==2) Ditolak
@endif
</td> </td>
@elseif($a->status==1) Diterima </tr>
@elseif($a->status==2) Ditolak @endforeach
@endif </table>
</td> </div>
</tr>
@endforeach
</table>
</div> </div>
</div> @endsection
@endsection
...@@ -20,16 +20,16 @@ ...@@ -20,16 +20,16 @@
@endif @endif
@if(session()->has('message')) @if(session()->has('message'))
<div class="alert alert-info"> <div class="alert alert-info">
{{session()->get('message')}} {{session()->get('message')}}
</div> </div>
@endif @endif
@if(!empty($success)) @if(!empty($success))
<div class="alert alert-success"> <div class="alert alert-success">
{{$succes}} {{$succes}}
</div> </div>
@endif @endif
</div> </div>
<div class="box-body"> <div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12"> <div class="col-md-4 col-sm-6 col-xs-12">
...@@ -78,6 +78,4 @@ ...@@ -78,6 +78,4 @@
</table> </table>
</div> </div>
</div> </div>
@endsection @endsection
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }} {{ trans('adminlte_lang::message.home') }}
@endsection @endsection
@section('main-content') @section('main-content')
<div class="box box-warning"> <div class="box box-warning">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title"> Daftar Feedback </h3> <h3 class="box-title"> Daftar Feedback </h3>
@if(Session::has('alert-success')) @if(Session::has('alert-success'))
<div class="alert alert-success"> <div class="alert alert-success">
{{ Session::get('alert-success') }} {{ Session::get('alert-success') }}
</div> </div>
@endif @endif
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="alert alert-danger"> <div class="alert alert-danger">
<ul> <ul>
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<li>{{ $error }}</li> <li>{{ $error }}</li>
@endforeach @endforeach
</ul> </ul>
</div> </div>
@endif @endif
</div> </div>
<div class="box-body"> <div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12"> <div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow"> <div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span> <span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content"> <div class="info-box-content">
<span class="info-box-text">Daftar Feedback</span> <span class="info-box-text">Daftar Feedback</span>
<span class="info-box-number"></span> <span class="info-box-number"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="table table-striped">
<tr>
<th>Nama Pelanggan</th>
<th>Feedback</th>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama}}</td>
<td>{{$a->feedback}}</td>
</tr>
@endforeach
</table>
</div> </div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div> </div>
<br>
<table class="table table-striped">
<tr>
<th>Nama Pelanggan</th>
<th>Feedback</th>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama}}</td>
<td>{{$a->feedback}}</td>
</tr>
@endforeach
</table>
</div>
</div>
@endsection @endsection
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }} {{ trans('adminlte_lang::message.home') }}
@endsection @endsection
@section('main-content') @section('main-content')
<div class="container-fluid spark-screen"> <div class="container-fluid spark-screen">
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1"> <div class="col-md-10 col-md-offset-1">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-heading">Your Profil</h3> <h3 class="panel-heading">Your Profil</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="row"> <div class="row">
<div class="col-md-3 col-lg-3" align="center"> <div class="col-md-3 col-lg-3" align="center">
<img alt="User Pic" src="img/{{$data->foto}}" class="img-circle img-responsive"> <img alt="User Pic" src="img/{{$data->foto}}" class="img-circle img-responsive">
</div> </div>
<div class="col-md-9 col-lg-8"> <div class="col-md-9 col-lg-8">
<table class="table table-user-information"> <table class="table table-user-information">
<tr> <tr>
<th>Nama </th> <th>Nama </th>
<td>: </td> <td>: </td>
<td>{{$data->nama}}</td> <td>{{$data->nama}}</td>
</tr> </tr>
<tr> <tr>
<th>Alamat </th> <th>Alamat </th>
<td>: </td> <td>: </td>
<td>{{$data->alamat}}</td> <td>{{$data->alamat}}</td>
</tr> </tr>
<tr> <tr>
<th>Perkerjaan</th> <th>Perkerjaan</th>
<td>: </td> <td>: </td>
<td>{{$data->pekerjaan}}</td> <td>{{$data->pekerjaan}}</td>
</tr> </tr>
<tr> <tr>
<th>No Telepon</th> <th>No Telepon</th>
<td>: </td> <td>: </td>
<td>{{$data->noTelepon}}</td> <td>{{$data->noTelepon}}</td>
</tr> </tr>
<tr> <tr>
<th>No Rekening </th> <th>No Rekening </th>
<td>: </td> <td>: </td>
<td>{{$data->noRekening}}</td> <td>{{$data->noRekening}}</td>
</tr> </tr>
</table> </table>
</div>
</div>
</div>
<div class="panel-footer">
<a href="{{url('profiledit/'.$data->id)}}" data-original-title="Edit this user" data-toggle="tooltio" type="button" class="btn btn-sm btn-warning">
<i class="glyphicon glyphicon-edit"></i>
</a>
</div>
</div>
</div> </div>
</div>
</div> </div>
<div class="panel-footer">
<a href="{{url('profiledit/'.$data->id)}}" data-original-title="Edit this user" data-toggle="tooltio" type="button" class="btn btn-sm btn-warning">
<i class="glyphicon glyphicon-edit"></i>
</a>
</div>
</div>
</div> </div>
@endsection </div>
\ No newline at end of file </div>
@endsection
@extends('adminlte::layouts.app') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }} {{ trans('adminlte_lang::message.home') }}
@endsection @endsection
@section('main-content') @section('main-content')
<div class="container-fluid spark-screen"> <div class="container-fluid spark-screen">
<div class="row"> <div class="row">
<div class="col-md-10 col-md-offset-1"> <div class="col-md-10 col-md-offset-1">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-body"> <div class="panel-body">
@if(Session::has('alert-success')) @if(Session::has('alert-success'))
<div class="alert alert-success"> <div class="alert alert-success">
{{ Session::get('alert-success') }} {{ Session::get('alert-success') }}
</div> </div>
@endif @endif
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="alert alert-danger"> <div class="alert alert-danger">
<ul> <ul>
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<li>{{ $error }}</li> <li>{{ $error }}</li>
@endforeach @endforeach
</ul> </ul>
</div> </div>
@endif @endif
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data"> <form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT"> <input type="hidden" name="_method" value="PUT">
{{csrf_field()}} {{csrf_field()}}
<label>Nama</label> <label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control"> <input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label> <label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control"> <input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label> <label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control"> <input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label> <label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control"> <input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label> <label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control"> <input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<label>Foto</label> <label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br> <input type="file" name="picture" id="picture" class="form-control"><br>
<div class="form-group" align="right"> <div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan"> <input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
</div> </div>
</form>
</div> </div>
</div>
</div> </div>
</div>
</div>
@endsection @endsection
\ No newline at end of file
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
@endsection @endsection
...@@ -6,31 +6,31 @@ ...@@ -6,31 +6,31 @@
<div class="container"> <div class="container">
<div class="service-info-grids agileits w3layouts" style="margin-top:0px;"> <div class="service-info-grids agileits w3layouts" style="margin-top:0px;">
<div class="greet"> <div class="greet">
<h1 class="wow fadeInDown" style="margin-bottom: 50px; font-family: 'Great Vibes'; font-size: 50px;">Welcome <br> <p style="font-size: 15px; font-family: ''">FEEL LIKE HOME<p></h1> <h1 class=" " style="margin-bottom: 50px; font-family: 'Great Vibes'; font-size: 50px;">Welcome <br> <p style="font-size: 15px; font-family: ''">FEEL LIKE HOME<p></h1>
<!-- <h3> FEEL LIKE HOME </h3> --> <!-- <h3> FEEL LIKE HOME </h3> -->
<div class="col-md-3 col-sm-3 service-info agileits w3layouts service-info1 wow fadeInUp"> <div class="col-md-3 col-sm-3 service-info agileits w3layouts service-info1 ">
<img src="{{asset('img/award-4.png')}}" alt="Agileits W3layouts"> <img src="{{asset('img/award-4.png')}}" alt="Agileits W3layouts">
<h4>Makanan Tradisional Batak</h4> <h4>Makanan Tradisional Batak</h4>
<div class="h4-underline wow agileits w3layouts slideInLeft"></div> <div class="h4-underline agileits w3layouts "></div>
<p>Nikmati hidangan kuliner Batak yang dimasak oleh penduduk lokal dengan rasa yang khas</p> <p>Nikmati hidangan kuliner Batak yang dimasak oleh penduduk lokal dengan rasa yang khas</p>
</div> </div>
<div class="col-md-3 col-sm-3 agileits w3layouts service-info service-info2 wow fadeInUp"> <div class="col-md-3 col-sm-3 agileits w3layouts service-info service-info2 ">
<img src="{{asset('img/service-icon-2.png')}}" alt="Agileits W3layouts"> <img src="{{asset('img/service-icon-2.png')}}" alt="Agileits W3layouts">
<h4>Jauh dari keramaian kota</h4> <h4>Jauh dari keramaian kota</h4>
<div class="h4-underline wow agileits w3layouts slideInLeft"></div> <div class="h4-underline agileits w3layouts "></div>
<p>Lokasi homestay yang jauh dari keramaian kota, membuat anda menikmati liburan anda dengan tenang</p> <p>Lokasi homestay yang jauh dari keramaian kota, membuat anda menikmati liburan anda dengan tenang</p>
</div> </div>
<div class="col-md-3 col-sm-3 service-info service-info3 agileits w3layouts wow fadeInUp"> <div class="col-md-3 col-sm-3 service-info service-info3 agileits w3layouts ">
<img src="{{asset('img/service-icon-3.png')}}" alt="Agileits W3layouts"> <img src="{{asset('img/service-icon-3.png')}}" alt="Agileits W3layouts">
<h4>Dekat dengan Pantai</h4> <h4>Dekat dengan Pantai</h4>
<div class="h4-underline wow slideInLeft agileits w3layouts"></div> <div class="h4-underline agileits w3layouts"></div>
<p>Lokasi homestay hanya berjarak sekitar 50 meter dari pinggir pantai Tanau Toba atau pantai LumbanBulbul</p> <p>Lokasi homestay hanya berjarak sekitar 50 meter dari pinggir pantai Tanau Toba atau pantai LumbanBulbul</p>
</div> </div>
</div> </div>
<div class="col-md-3 col-sm-3 service-info service-info3 agileits w3layouts wow fadeInUp"> <div class="col-md-3 col-sm-3 service-info service-info3 agileits w3layouts ">
<img src="{{asset('img/service-icon-3.png')}}" alt="Agileits W3layouts"> <img src="{{asset('img/service-icon-3.png')}}" alt="Agileits W3layouts">
<h4>Jauh dari keramaian kota</h4> <h4>Jauh dari keramaian kota</h4>
<div class="h4-underline wow slideInLeft agileits w3layouts"></div> <div class="h4-underline agileits w3layouts"></div>
<p>Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota </p> <p>Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota Jauh dari keramaian kota </p>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -43,12 +43,12 @@ ...@@ -43,12 +43,12 @@
<div class="clearfix" style="margin-top: 15px;"></div> <div class="clearfix" style="margin-top: 15px;"></div>
<div class="cuisines agileits w3layouts" style=""> <div class="cuisines agileits w3layouts" style="">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 wow slideInLeft"> <div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 ">
<h2>Menginap serasa di rumah sendiri</h2> <h2>Menginap serasa di rumah sendiri</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div> </div>
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 wow slideInRight"> <div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 ">
<img src="{{asset('img/pantai-bulbul.jpg')}}" alt="Agileits W3layouts"> <img src="{{asset('img/pantai-bulbul.jpg')}}" alt="Agileits W3layouts">
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<h3>Daftar Homestay</h3> <h3>Daftar Homestay</h3>
<div class="details-grids agileits w3layouts"> <div class="details-grids agileits w3layouts">
@foreach($data as $a) @foreach($data as $a)
<div class="col-md-4 col-sm-4 details-grid details-grid-2 wow agileits w3layouts slideInUp"> <div class="col-md-4 col-sm-4 details-grid details-grid-2 agileits w3layouts ">
<div class="details-grid2 agileits w3layouts"> <div class="details-grid2 agileits w3layouts">
<div class="details-grid-image agileits w3layouts" > <div class="details-grid-image agileits w3layouts" >
<img src="{{asset('img/project-6.jpg')}}" alt="Agileits W3layouts" > <img src="{{asset('img/project-6.jpg')}}" alt="Agileits W3layouts" >
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<h3>{{$a->nama}}</h3> <h3>{{$a->nama}}</h3>
<p>Mari Menginap di Homestay kami</p> <p>Mari Menginap di Homestay kami</p>
</div> </div>
<a href ="{{url('detailhomestay/'.$a->id)}}" ><button class="btn btn-primary wow agileits w3layouts fadeInLeft" data-toggle="modal" > EXPLORE<span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></button> </a> <a href ="{{url('detailhomestay/'.$a->id)}}" ><button class="btn btn-primary agileits w3layouts " data-toggle="modal" > LIHAT <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></button> </a>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</div> </div>
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
<h1> Lokasi Kami</h1> <h1> Lokasi Kami</h1>
<div class="banner agileits w3layouts"> <div class="banner agileits w3layouts">
<img src="{{asset('img/lokasi bul-bul.JPG')}}" alt="Agileits W3layouts"> <img src="{{asset('img/lokasi bul-bul.JPG')}}" alt="Agileits W3layouts">
<h1 class="wow agileits w3layouts fadeInDown">Tobasamosir</h1> <h1 class=" agileits w3layouts ">Tobasamosir</h1>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -4,18 +4,14 @@ ...@@ -4,18 +4,14 @@
<!-- Banner --> <!-- Banner -->
<div class="banner agileits w3layouts"> <div class="banner agileits w3layouts">
<img src="{{asset('/img/'.$data->gambar)}}" alt="Agileits W3layouts" style="max-height:500px; width:"> <img src="{{asset('/img/'.$data->gambar)}}" alt="Agileits W3layouts" style="max-height:500px; width:">
<h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1> <h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1>
</div> </div>
<!-- //Banner --> <!-- //Banner -->
<!-- Booking --> <!-- Booking -->
<div class="details agileits w3layouts" style="margin-top: 30px; padding:0px">
<div class="details agileits w3layouts" style="margin-top: 10px; padding:0px"> <div class="details agileits w3layouts" style="margin-top: 10px; padding:0px">
<br> <br>
<div class="container"> <div class="container">
@if (count($errors) > 0) @if (count($errors) > 0)
<div class="alert alert-danger"> <div class="alert alert-danger">
...@@ -29,36 +25,31 @@ ...@@ -29,36 +25,31 @@
@endif @endif
</div> </div>
<br><br> <br><br>
<div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2">
<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-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"></div> <div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 "></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 ">
<input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}"> <input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}">
</div> </div>
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 ">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_hari" placeholder="Lama Menginap" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts " name="jumlah_hari" placeholder="Lama Menginap" 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-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 ">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts " name="jumlah_kamar" placeholder="Jumlah Kamar" style="background-color: white; color: black">
</div> </div>
<div class="book"> <div class="book">
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now"> <input type="submit" class="more_btn wow agileits w3layouts " value="Book Now">
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div>
<!-- Booking --> <!-- Booking -->
<div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;"> <div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;">
<h2 > Daftar Booking di {{$data->namaHomestay}}</h2> <h2 > Daftar Booking di {{$data->namaHomestay}}</h2>
<div class="container"> <div class="container">
<table class="table table-hover" style="background-color: white; margin-top:20px;"> <table class="table table-hover" style="background-color: white; margin-top:20px;">
<thead> <thead>
<tr> <tr>
...@@ -79,7 +70,6 @@ ...@@ -79,7 +70,6 @@
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
...@@ -87,44 +77,64 @@ ...@@ -87,44 +77,64 @@
<!-- Informations --> <!-- Informations -->
<div class="cuisines agileits w3layouts"> <div class="cuisines agileits w3layouts">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 ">
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-1 wow slideInLeft">
<h2 style="margin-bottom: 10px;"> Fasilitas </h2> <h2 style="margin-bottom: 10px;"> Fasilitas </h2>
<ul style="list-style-type: none;"> <ul style="list-style-type: none;">
<p>{{$data->fasilitas}}</p> <p>{{$data->fasilitas}}</p>
</ul> </ul>
<!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> -->
<img style="width: 450px; margin-top: 10px;" src="{{asset('img/line1.png')}}"> <img style="width: 450px; margin-top: 10px;" src="{{asset('img/line1.png')}}">
<h2 style="margin-bottom: 10px;"> Info Pemilik </h2> <h2 style="margin-bottom: 10px;"> Info Pemilik </h2>
<ul style="list-style-type: none;"> <table class="table-condensed" style="font-size: 16px; margin-left: -3px; color: #777;">
<li> Pemilik : {{$data->nama}}</li> <tr>
<li> No Telp : {{$data->noTelepon}} </li> <td>Pemilik</td>
<li> Alamat : {{$data->alamat}}</li> <td>:</td>
<li> Pekerjaan : {{$data->pekerjaan}}</li> <td>{{$data->nama}}</td>
<li> No Rekening : {{$data->noRekening}}</li> </tr>
<li> Avilable Room : {{$avilable}}</li> <tr>
</ul> <td> No Telp</td>
<td>:</td>
<td>{{$data->noTelepon}}</td>
</tr>
<tr>
<td> Alamat </td>
<td>:</td>
<td>{{$data->alamat}}</td>
</tr>
<tr>
<td> Pekerjaan </td>
<td>:</td>
<td>{{$data->pekerjaan}}</td>
</tr>
<tr>
<td> No Rekening </td>
<td>:</td>
<td>{{$data->noRekening}}</td>
</tr>
<tr>
<td> Avilable Room </td>
<td>:</td>
<td style="color: #1dc8d9;font-size:30px;">{{$avilable}}</td>
</tr>
</table>
</div> </div>
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 wow slideInRight"> <div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 ">
<img src="/img/{{$data->gambar}}" alt="Agileits W3layouts"> <img src="/img/{{$data->gambar}}" alt="Agileits W3layouts">
</div> </div>
<!-- <div class="clearfix"></div> --> <!-- <div class="clearfix"></div> -->
<div class="col-md-12 col-sm-12 gallery-grids agileits w3layouts gallery-grids1 wow slideInLeft animated"> <div class="col-md-12 col-sm-12 gallery-grids agileits w3layouts gallery-grids1">
<!--Homestay pict --> <!--Homestay pict -->
@foreach($dataKamar as $dk) @foreach($dataKamar as $dk)
<div class="col-md-3 col-sm-3 details-grid agileits w3layouts details-grid-1 wow slideInUp animated "> <div class="col-md-3 col-sm-3 details-grid agileits w3layouts details-grid-1">
<div id="gambar"> <div id="gambar">
<img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;"> <img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;">
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
@endforeach @endforeach
<div class="clearfix"></div> <div class="clearfix"></div>
<!--Homestay pict --> <!--Homestay pict -->
</div> </div>
</div> </div>
</div> </div>
...@@ -133,66 +143,23 @@ ...@@ -133,66 +143,23 @@
<!-- Kritik & Saran --> <!-- Kritik & Saran -->
<div class="details agileits w3layouts"> <div class="details agileits w3layouts">
<div class="container"> <div class="container">
<div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-6 col-sm-6 agileits w3layouts contact-grid contact-grid-2 ">
<h2 style="margin-bottom: 10px;">Feedback</h2> <h2 style="margin-bottom: 10px;">Feedback</h2>
<form action="{{url('feedback/'.$data->id)}}" method="post" style="margin-bottom: 25px;"> <form action="{{url('feedback/'.$data->id)}}" method="post" style="margin-bottom: 25px;">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required=""> <input type="text" class="text wow agileits w3layouts " name="Name" placeholder="Name" required="">
<textarea name="feedback" class="wow agileits w3layouts slideInLeft" placeholder="Message" required=""></textarea> <textarea name="feedback" class="wow agileits w3layouts " placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Kirim Feedback"> <input type="submit" class="more_btn wow agileits w3layouts " value="Kirim Feedback">
</form> </form>
</div> </div>
</div> </div>
</div> </div>
</div>
</div>
<!-- //Tooltip-Content --> <!-- //Kritik & Saran -->
<!-- Scripts -->
<!-- Date-Picker-JavaScript --> <!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script> <script src="{{asset('js/jquery-ui.js')}}"></script>
<!-- Scripts -->
<script>
document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
<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>
</div>
</div>
</div>
@endsection @endsection
...@@ -40,11 +40,8 @@ ...@@ -40,11 +40,8 @@
<input type="submit" class="btn btn-primary"> <input type="submit" class="btn btn-primary">
</div> </div>
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
@endsection @endsection
\ No newline at end of file
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
<!-- //Banner --> <!-- //Banner -->
<!-- Booking --> <!-- Booking -->
<div class="details agileits w3layouts" style=" padding:0px"> <div class="details agileits w3layouts" style=" padding:0px">
<div class="container" style="width:950px; margin-left:auto; margin-right:auto;"> <div class="container" style="width:950px; margin-left:auto; margin-right:auto;">
<img src="/img/Layer1.png" alt="Agileits W3layouts"> <img src="/img/Layer1.png" alt="Agileits W3layouts">
...@@ -25,7 +22,6 @@ ...@@ -25,7 +22,6 @@
<br><br> <br><br>
<div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<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=""> <input type="hidden" name="id" value="">
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"></div> <div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"></div>
...@@ -41,20 +37,17 @@ ...@@ -41,20 +37,17 @@
<div class="book"> <div class="book">
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now"> <input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div> </div>
</form> </form>
</div> </div>
</div> </div>
</div> </div>
<!-- Booking --> <!-- Booking -->
<!-- Daftar Booking -->
<div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;"> <div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;">
<h2 > Daftar Booking di </h2> <h2 > Daftar Booking di </h2>
<div class="container"> <div class="container">
</div> </div>
</div> </div>
......
<!-- Left side column. contains the logo and sidebar --> <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar"> <aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less --> <!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar"> <section class="sidebar">
<!-- Sidebar user panel (optional) --> <!-- Sidebar user panel (optional) -->
@if (! Auth::guest()) @if (! Auth::guest())
<div class="user-panel"> <div class="user-panel">
<div class="pull-left image"> <div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" /> <img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div> </div>
<div class="pull-left info"> <div class="pull-left info">
<p>{{ Auth::user()->name }}</p> <p>{{ Auth::user()->name }}</p>
<!-- Status --> <!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a> <a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div> </div>
</div> </div>
@endif @endif
<!-- search form (Optional) --> <!-- Sidebar Menu -->
<ul class="sidebar-menu">
<!-- /.search form --> @if(Auth::user()->role =="DinasPariwisata")
<!-- Optionally, you can add icons to the links -->
<!-- Sidebar Menu -->
<ul class="sidebar-menu"> <li class="treeview"><a href="#"><i class='fa fa-list'></i> <span> List Request </span> </a>
@if(Auth::user()->role =="DinasPariwisata") <ul class="treeview-menu" style="display: none;">
<!-- Optionally, you can add icons to the links --> <li><a href="{{url('requestFasilitas')}}"><i class='fa fa-television'></i> <span>Acc Request Fasilitas</span></a></li>
<li><a href="{{url('requestHomestay')}}"><i class='fa fa-home'></i> <span>Acc Pengajuan Homestay</span></a></li>
<li class="treeview"><a href="#"><i class='fa fa-list'></i> <span> List Request </span> </a> </ul>
<ul class="treeview-menu" style="display: none;"> </li>
<li><a href="{{url('requestFasilitas')}}"><i class='fa fa-television'></i> <span>Acc Request Fasilitas</span></a></li> <li class="treeview"><a href="#"><i class='fa fa-users'></i> <span> Pemilik Homestay </span></a>
<li><a href="{{url('requestHomestay')}}"><i class='fa fa-home'></i> <span>Acc Pengajuan Homestay</span></a></li> <ul class="treeview-menu" style="display : none;">
</ul> <li><a href="{{url('admin/create')}}"><i class=' fa-user-plus'></i> <span>Tambah Pemilik Homestay</span></a></li>
</li> <li><a href="{{url('listowner')}}"><i class='fa fa-list'></i> <span>Daftar Pemilik Homestay</span></a></li>
<li class="treeview"><a href="#"><i class='fa fa-users'></i> <span> Pemilik Homestay </span></a> </ul>
<ul class="treeview-menu" style="display : none;"> </li>
<li><a href="{{url('admin/create')}}"><i class=' fa-user-plus'></i> <span>Tambah Pemilik Homestay</span></a></li>
<li><a href="{{url('listowner')}}"><i class='fa fa-list'></i> <span>Daftar Pemilik Homestay</span></a></li> <li><a href="{{url('listPemesanan')}}"><i class='fa fa-list'></i> <span> Data Pemesanan</span></a></li>
</ul>
</li> @elseif(Auth::user()->role=="Owner")
<li class="treeview"><a href="#"><i class='fa fa-television'></i> <span> FASILITAS </span></a>
<li><a href="{{url('listPemesanan')}}"><i class='fa fa-list'></i> <span> Data Pemesanan</span></a></li> <ul class="treeview-menu" style="display : none;">
<li><a href="{{url('reqFasilitas')}}"><i class='fa fa-external-link-square'></i> <span>Request Fasilitas</span></a></li>
@elseif(Auth::user()->role=="Owner") <li><a href="{{url('listPengajuanFasilitas')}}"><i class='fa fa-list'></i> <span>Daftar Pengajuan Fasilitas</span></a></li>
<li class="treeview"><a href="#"><i class='fa fa-television'></i> <span> FASILITAS </span></a> </ul>
<ul class="treeview-menu" style="display : none;"> </li>
<li><a href="{{url('reqFasilitas')}}"><i class='fa fa-external-link-square'></i> <span>Request Fasilitas</span></a></li>
<li><a href="{{url('listPengajuanFasilitas')}}"><i class='fa fa-list'></i> <span>Daftar Pengajuan Fasilitas</span></a></li> <li class="treeview"><a href="#"><i class='fa fa-bed'></i> <span> Homestay </span></a>
</ul> <ul class="treeview-menu" style="display : none;">
</li> <li><a href="{{url('daftarKamar')}}"><i class='fa fa-list'></i> <span>Daftar Kamar</span></a></li>
<li><a href="{{url('pengajuanHomestay')}}"><i class='fa fa-external-link-square'></i> <span> Pengajuan Homestay </span></a></li>
<li class="treeview"><a href="#"><i class='fa fa-bed'></i> <span> Homestay </span></a> <li><a href="{{url('listFeedback')}}"><i class='fa fa-list'></i> <span> Feedback </span></a></li>
<ul class="treeview-menu" style="display : none;"> <li><a href="{{url('updateHomestay')}}"><i class='fa fa-list'></i> <span>Update Homestay</span></a></li>
<li><a href="{{url('daftarKamar')}}"><i class='fa fa-list'></i> <span>Daftar Kamar</span></a></li> </ul>
<li><a href="{{url('pengajuanHomestay')}}"><i class='fa fa-external-link-square'></i> <span> Pengajuan Homestay </span></a></li> </li>
<li><a href="{{url('listFeedback')}}"><i class='fa fa-list'></i> <span> Feedback </span></a></li>
<li><a href="{{url('updateHomestay')}}"><i class='fa fa-list'></i> <span>Update Homestay</span></a></li> <li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a>
</ul> <ul class="treeview-menu" style="display : none;">
</li> <li><a href="{{url('pesanan')}}"><i class='fa fa-list'></i> <span>Daftar Pesanan</span></a></li>
<li><a href="{{url('daftarBooking')}}"><i class='fa fa-list'></i> <span>Daftar Booked</span></a></li>
<li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a> <li><a href="{{url('AddBook')}}"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li>
<ul class="treeview-menu" style="display : none;"> </ul>
<li><a href="{{url('pesanan')}}"><i class='fa fa-list'></i> <span>Daftar Pesanan</span></a></li> </li>
<li><a href="{{url('daftarBooking')}}"><i class='fa fa-list'></i> <span>Daftar Booked</span></a></li> @endif
<li><a href="{{url('AddBook')}}"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li> </ul><!-- /.sidebar-menu -->
</ul> </section>
</li> <!-- /.sidebar -->
@endif
</ul><!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside> </aside>
<!-- Left side column. contains the logo and sidebar --> <!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar"> <aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less --> <!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar"> <section class="sidebar">
<!-- Sidebar user panel (optional) --> <!-- Sidebar user panel (optional) -->
@if (! Auth::guest()) @if (! Auth::guest())
<div class="user-panel"> <div class="user-panel">
<div class="pull-left image"> <div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" /> <img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div> </div>
<div class="pull-left info"> <div class="pull-left info">
<p>{{ Auth::user()->name }}</p> <p>{{ Auth::user()->name }}</p>
<!-- Status --> <!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a> <a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div> </div>
</div> </div>
@endif @endif
<!-- search form (Optional) --> <!-- search form (Optional) -->
<form action="#" method="get" class="sidebar-form"> <form action="#" method="get" class="sidebar-form">
<div class="input-group"> <div class="input-group">
<input type="text" name="q" class="form-control" placeholder="{{ trans('adminlte_lang::message.search') }}..."/> <input type="text" name="q" class="form-control" placeholder="{{ trans('adminlte_lang::message.search') }}..."/>
<span class="input-group-btn"> <span class="input-group-btn">
<button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button> <button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
</span> </span>
</div> </div>
</form> </form>
<!-- /.search form --> <!-- /.search form -->
<!-- Sidebar Menu --> <!-- Sidebar Menu -->
{{ Menu::sidebar() }} {{ Menu::sidebar() }}
<!-- /.sidebar-menu --> <!-- /.sidebar-menu -->
</section> </section>
<!-- /.sidebar --> <!-- /.sidebar -->
</aside> </aside>
...@@ -11,43 +11,43 @@ ...@@ -11,43 +11,43 @@
<!-- //Meta-Tags --> <!-- //Meta-Tags -->
<!-- Custom-Stylesheet-Links --> <!-- Custom-Stylesheet-Links -->
<!-- Bootstrap-CSS --> <!-- Bootstrap-CSS -->
<link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all">
<!-- Index-Page-CSS --> <!-- Index-Page-CSS -->
<link rel="stylesheet" href="{{asset('css/style.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('css/style.css')}}" type="text/css" media="all">
<!-- Animate.CSS --> <!-- Animate.CSS -->
<link rel="stylesheet" href="{{asset('css/animate.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('css/animate.css')}}" type="text/css" media="all">
<!-- Tanggal --> <!-- Tanggal -->
<link rel="stylesheet" href="{{asset('css/jquery-ui.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('css/jquery-ui.css')}}" type="text/css" media="all">
<!-- Popup --> <!-- Popup -->
<link rel="stylesheet" href="{{asset('css/sweet-alert.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('css/sweet-alert.css')}}" type="text/css" media="all">
<link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.css')}}" type="text/css" media="all">
<link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.buttons.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.buttons.css')}}" type="text/css" media="all">
<link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.nonblock.css')}}" type="text/css" media="all"> <link rel="stylesheet" href="{{asset('plugins/pnotify/dist/pnotify.nonblock.css')}}" type="text/css" media="all">
<style media="screen"> <style media="screen">
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 10px; width: 1.8em; height: 1.8em; } .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 10px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev { left:10px; width: 20px; .ui-datepicker .ui-datepicker-prev { left:10px; width: 20px;
height: 20px; height: 20px;
background: url(../img/cal1.png) no-repeat 0px 100%; background: url(../img/cal1.png) no-repeat 0px 100%;
cursor:pointer;} cursor:pointer;}
.ui-datepicker .ui-datepicker-next { .ui-datepicker .ui-datepicker-next {
right: 10px; right: 10px;
width: 20px; width: 20px;
height: 20px; height: 20px;
background: url(../img/cal.png) no-repeat 0px 0px; background: url(../img/cal.png) no-repeat 0px 0px;
cursor:pointer; cursor:pointer;
} }
</style> </style>
<!-- //Custom-Stylesheet-Links --> <!-- //Custom-Stylesheet-Links -->
<!-- Fonts --> <!-- Fonts -->
<!-- Body-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800" type="text/css"> <!-- Body-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800" type="text/css">
<!-- Logo-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Cinzel+Decorative:400,900,700" type="text/css"> <!-- Logo-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Cinzel+Decorative:400,900,700" type="text/css">
<!-- Navbar-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat:400,700" type="text/css"> <!-- Navbar-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat:400,700" type="text/css">
<!-- //Fonts --> <!-- //Fonts -->
</head> </head>
<!-- //Head --> <!-- //Head -->
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="footer agileits w3layouts"> <div class="footer agileits w3layouts">
<div class="container"> <div class="container">
<div class="col-md-4 agileits w3layouts footer-grids"> <div class="col-md-4 agileits w3layouts footer-grids">
<div class="col-md-10 footer-grid agileits w3layouts footer-grid-1 wow fadeInUp"> <div class="col-md-10 footer-grid agileits w3layouts footer-grid-1 ">
<p> <p>
<img src="{{asset('img\bulbulhomestay.png')}}" style="margin-top: 5px;"> <img src="{{asset('img\bulbulhomestay.png')}}" style="margin-top: 5px;">
Homestay Lumbanbulbul merupakan homestay yang berada di lokasi wisata pantai lumban bulbul Homestay Lumbanbulbul merupakan homestay yang berada di lokasi wisata pantai lumban bulbul
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</div> </div>
<div class="col-md-2 agileits w3layouts footer-grids" style="margin-right: 20px;"> <div class="col-md-2 agileits w3layouts footer-grids" style="margin-right: 20px;">
<div class="col-md-12 footer-grid agileits w3layouts footer-grid-2 wow fadeInUp"> <div class="col-md-12 footer-grid agileits w3layouts footer-grid-2 ">
<ul class="agileits w3layouts"> <ul class="agileits w3layouts">
<p style="font-size: 20px; color: white; margin-bottom: 10px"> Other Link </p> <p style="font-size: 20px; color: white; margin-bottom: 10px"> Other Link </p>
<li><a href=""> Tobasamosir </a></li> <li><a href=""> Tobasamosir </a></li>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
<div class="col-md-4 agileits w3layouts footer-grids"> <div class="col-md-4 agileits w3layouts footer-grids">
<div class="col-md-12 footer-grid agileits w3layouts footer-grid-3 wow fadeInUp"> <div class="col-md-12 footer-grid agileits w3layouts footer-grid-3 ">
<ul class="agileits w3layouts"> <ul class="agileits w3layouts">
<p style="font-size: 20px; color: white;margin-bottom: 10px"> Contact Us </p> <p style="font-size: 20px; color: white;margin-bottom: 10px"> Contact Us </p>
<p><span class="glyphicon agileits w3layouts glyphicon-map-marker" aria-hidden="true"></span> Pematang Siantar Balige No.2 Toba Samosir</p> <p><span class="glyphicon agileits w3layouts glyphicon-map-marker" aria-hidden="true"></span> Pematang Siantar Balige No.2 Toba Samosir</p>
...@@ -33,31 +33,6 @@ ...@@ -33,31 +33,6 @@
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<!-- <div class="col-md-6 col-sm-6 footer-grids agileits w3layouts newsletter wow fadeInUp">
<h4>Stay Connected</h4>
<p>Subscribe to our newsletter and get informed of our newest projects.</p>
<form action="#" method="post">
<input type="text" placeholder="Email" name="Email" required="">
<input type="submit" value="SUBSCRIBE">
</form>
</div> -->
<!-- <div class="col-md-6 col-sm-6 footer-grids agileits w3layouts social wow fadeInUp">
<ul class="social-icons">
<li class="agileits w3layouts"><a href="#" class="facebook agileits w3layouts" title="Go to Our Facebook Page"></a></li>
<li class="agileits w3layouts"><a href="#" class="twitter agileits w3layouts" title="Go to Our Twitter Account"></a></li>
<li class="agileits w3layouts"><a href="#" class="googleplus agileits w3layouts" title="Go to Our Google Plus Account"></a></li>
<li class="agileits w3layouts"><a href="#" class="instagram agileits w3layouts" title="Go to Our Instagram Account"></a></li>
<li class="agileits w3layouts"><a href="#" class="youtube agileits w3layouts" title="Go to Our Youtube Channel"></a></li>
</ul>
</div> -->
<!-- <div class="col-md-6 col-sm-6 footer-grids agileits w3layouts copyright wow fadeInUp">
<p>&copy; 2017 Tropical Resorts. All Rights Reserved | Design by <a href="http://w3layouts.com/" target="_blank"> W3layouts </a></p>
</div>
<div class="clearfix"></div> -->
</div> </div>
</div> </div>
<!-- //Footer --> <!-- //Footer -->
...@@ -18,71 +18,70 @@ ...@@ -18,71 +18,70 @@
<li><a href="{{ url('/#2') }}">DAFTAR HOMESTAY</a></li> <li><a href="{{ url('/#2') }}">DAFTAR HOMESTAY</a></li>
<li><a href="{{ url('/#3') }}">LOKASI</a></li> <li><a href="{{ url('/#3') }}">LOKASI</a></li>
<!-- <li><a href="gallery.html">PROFILE</a></li> --> <!-- <li><a href="gallery.html">PROFILE</a></li> -->
@if (Auth::guest()) @if (Auth::guest())
<li><a href="{{ url('/login') }}"> LOGIN </a></li> <li><a href="{{ url('/login') }}"> LOGIN </a></li>
@else @else
<!-- User Account Menu --> <!-- User Account Menu -->
<li class="dropdown user user-menu"> <li class="dropdown user user-menu">
<!-- Menu Toggle Button --> <!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar--> <!-- The user image in the navbar-->
{{--<img src="{{ Gravatar::get($user->email) }}" class="user-image" alt="User Image"/>--}} {{--<img src="{{ Gravatar::get($user->email) }}" class="user-image" alt="User Image"/>--}}
<!-- hidden-xs hides the username on small devices so only the image appears. --> <!-- hidden-xs hides the username on small devices so only the image appears. -->
@if(Auth::user()->role=="Customer") @if(Auth::user()->role=="Customer")
<span class="hidden-xs">{{ Auth::user()->name }}</span> <span class="hidden-xs">{{ Auth::user()->name }}</span>
@else @else
<li><a href="{{url('home')}}">{{Auth::user()->name}}</a></li> <li><a href="{{url('home')}}">{{Auth::user()->name}}</a></li>
@endif @endif
</a> </a>
@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 -->
<li class="user-header"> <li class="user-header">
{{--<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" />
</p> </p>
</li> </li>
<!-- Menu Body --> <!-- Menu Body -->
<!-- Menu Footer--> <!-- Menu Footer-->
<li class="user-footer"> <li class="user-footer">
<div class="pull-left"> <div class="pull-left">
<a href="{{ url('customerProfile') }}" class="btn btn-default btn-flat">{{ trans('adminlte_lang::message.profile') }}</a> <a href="{{ url('customerProfile') }}" class="btn btn-default btn-flat">{{ trans('adminlte_lang::message.profile') }}</a>
</div> </div>
<div class="pull-left" style="margin-left: 20px"> <div class="pull-left" style="margin-left: 20px">
<a href="{{ url('customerHistory') }}" class="btn btn-default btn-flat">History</a> <a href="{{ url('customerHistory') }}" class="btn btn-default btn-flat">History</a>
</div> </div>
<div class="pull-right"> <div class="pull-right">
<a href="{{ url('/logout') }}" class="btn btn-default btn-flat" <a href="{{ url('/logout') }}" class="btn btn-default btn-flat"
onclick="event.preventDefault(); onclick="event.preventDefault();
document.getElementById('logout-form').submit();"> document.getElementById('logout-form').submit();">
{{ trans('adminlte_lang::message.signout') }} {{ trans('adminlte_lang::message.signout') }}
</a> </a>
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;"> <form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
{{ csrf_field() }} {{ csrf_field() }}
<input type="submit" value="logout" style="display: none;"> <input type="submit" value="logout" style="display: none;">
</form> </form>
</div> </div>
</li> </li>
</ul> </ul>
@endif @endif
</li> </li>
@endif @endif
<!-- <li><a href="codes.html">CODES</a></li> -->
<!-- <li><a href="booking.html">BOOKING</a></li> --> </ul>
</ul> </ul>
</ul> </div>
</div> </div>
</div> </nav>
</nav> <!-- //Navbar -->
<!-- //Navbar --> <div class="clearfix" style="margin-bottom: 15px;"></div>
<div class="clearfix" style="margin-bottom: 15px;"></div>
</div> </div>
<!-- Custom-JavaScript-File-Links --> <!-- Custom-JavaScript-File-Links -->
<!-- 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> <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 -->
<script type="text/javascript" src="{{asset('js/sweet-alert.min.js')}}"></script> <script type="text/javascript" src="{{asset('js/sweet-alert.min.js')}}"></script>
<script type="text/javascript" src="{{asset('js/sweet-alert.js')}}"></script> <script type="text/javascript" src="{{asset('js/sweet-alert.js')}}"></script>
<!-- Animate.CSS-JavaScript --> <!-- Animate.CSS-JavaScript -->
<script src="{{asset('js/wow.min.js')}}"></script> <script src="{{asset('js/wow.min.js')}}"></script>
<script> <script>
new WOW().init(); new WOW().init();
</script> </script>
<!-- //Animate.CSS-JavaScript --> <!-- //Animate.CSS-JavaScript -->
<!-- Slider-JavaScript --> <!-- Slider-JavaScript -->
<script src="{{asset('js/responsiveslides.min.js')}}"></script> <script src="{{asset('js/responsiveslides.min.js')}}"></script>
<script> <script>
$(function () { $(function () {
$("#slider1, #slider2, #slider3, #slider4").responsiveSlides({ $("#slider1, #slider2, #slider3, #slider4").responsiveSlides({
auto: true, auto: true,
nav: true, nav: true,
speed: 1500, speed: 1500,
namespace: "callbacks", namespace: "callbacks",
pager: true, pager: true,
}); });
}); });
</script> </script>
<!-- //Slider-JavaScript --> <!-- //Slider-JavaScript -->
<!-- Slide-To-Top JavaScript (No-Need-To-Change) --> <!-- Slide-To-Top JavaScript (No-Need-To-Change) -->
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
var defaults = { var defaults = {
containerID: 'toTop', // fading element id containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 100, scrollSpeed: 100,
easingType: 'linear' easingType: 'linear'
}; };
$().UItoTop({ easingType: 'easeOutQuart' }); $().UItoTop({ easingType: 'easeOutQuart' });
}); });
</script> </script>
<a href="#" id="toTop" class="agileits w3layouts" style="display: block;"> <span id="toTopHover" style="opacity: 0;"> </span></a> <a href="#" id="toTop" class="agileits w3layouts" style="display: block;"> <span id="toTopHover" style="opacity: 0;"> </span></a>
<!-- //Slide-To-Top JavaScript --> <!-- //Slide-To-Top JavaScript -->
<!-- Smooth-Scrolling-JavaScript --> <!-- Smooth-Scrolling-JavaScript -->
<script type="text/javascript" src="{{asset('js/move-top.js')}}"></script> <script type="text/javascript" src="{{asset('js/move-top.js')}}"></script>
<script type="text/javascript" src="{{asset('js/easing.js')}}"></script> <script type="text/javascript" src="{{asset('js/easing.js')}}"></script>
<script type="text/javascript"> <script type="text/javascript">
jQuery(document).ready(function($) { jQuery(document).ready(function($) {
$(".scroll, .navbar li a, .footer li a").click(function(event){ $(".scroll, .navbar li a, .footer li a").click(function(event){
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000); $('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
}); });
}); });
</script> </script>
<!-- //Smooth-Scrolling-JavaScript --> <!-- //Smooth-Scrolling-JavaScript -->
<!-- Booking-Popup-Box-JavaScript --> <!-- Booking-Popup-Box-JavaScript -->
<script src="{{asset('js/jquery.magnific-popup.js')}}" type="text/javascript"></script> <script src="{{asset('js/jquery.magnific-popup.js')}}" type="text/javascript"></script>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$('.popup-with-zoom-anim').magnificPopup({ $('.popup-with-zoom-anim').magnificPopup({
type: 'inline', type: 'inline',
fixedContentPos: false, fixedContentPos: false,
fixedBgPos: true, fixedBgPos: true,
overflowY: 'auto', overflowY: 'auto',
closeBtnInside: true, closeBtnInside: true,
preloader: false, preloader: false,
midClick: true, midClick: true,
removalDelay: 300, removalDelay: 300,
mainClass: 'my-mfp-zoom-in' mainClass: 'my-mfp-zoom-in'
}); });
}); });
</script> </script>
<!-- //Booking-Popup-Box-JavaScript --> <!-- //Booking-Popup-Box-JavaScript -->
<!-- Date-Picker-JavaScript --> <!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script> <script src="{{asset('js/jquery-ui.js')}}"></script>
<script> <script>
$('#datepicker2').datepicker({ $('#datepicker2').datepicker({
dateFormat: "yy-mm-dd" dateFormat: "yy-mm-dd"
}); });
$("#datepicker1").datepicker({ $("#datepicker1").datepicker({
dateFormat: "yy-mm-dd", dateFormat: "yy-mm-dd",
minDate: 0, minDate: 0,
onSelect: function(date){ onSelect: function(date){
var date1 = $('#datepicker1').datepicker('getDate'); var date1 = $('#datepicker1').datepicker('getDate');
var date = new Date( Date.parse( date1 ) ); var date = new Date( Date.parse( date1 ) );
date.setDate( date.getDate() + 1 ); date.setDate( date.getDate() + 1 );
var newDate = date.toDateString(); var newDate = date.toDateString();
newDate = new Date( Date.parse( newDate ) ); newDate = new Date( Date.parse( newDate ) );
$('#datepicker2').datepicker("option","minDate",newDate); $('#datepicker2').datepicker("option","minDate",newDate);
} }
}); });
</script> </script>
<!-- //Custom-JavaScript-File-Links --> <!-- //Custom-JavaScript-File-Links -->
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
<h3> STAY <span> AT OUR HOMESTAY</span></h3> <h3> STAY <span> AT OUR HOMESTAY</span></h3>
</div> </div>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
......
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