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 @@
</thead>
<tbody>
@foreach($data as $a)
<tr class="success">
<td>{{$a->noRekening}}</td>
<td>{{$a->nama}}</td>
<td>{{$a->total_pembayaran}}</td>
<td>
@if($a->bukti_pembayaran==null)
<img alt="Buku Transfer Tidak Ada" class="img-circle img-responsive">
@else
<img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" >
@endif
</td>
<td>
@if($a->status==0) Belum Dikonfirmasi
@elseif($a->status==1) Di Terima
@elseif($a->status==2) Di Tolak
@endif
</td>
<td>
<a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a>
</td>
<td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" id="hapus" value="DELETE">
<button type="submit" class="btn btn-danger">Hapus</button>
</form>
</td>
</tr>
<tr class="success">
<td>{{$a->noRekening}}</td>
<td>{{$a->nama}}</td>
<td>{{$a->total_pembayaran}}</td>
<td>
@if($a->bukti_pembayaran==null)
<img alt="Buku Transfer Tidak Ada" class="img-circle img-responsive">
@else
<img alt="User Pic" src="{{ url('/img/'.$a ->bukti_pembayaran) }}" class="img-responsive" >
@endif
</td>
<td>
@if($a->status==0) Belum Dikonfirmasi
@elseif($a->status==1) Di Terima
@elseif($a->status==2) Di Tolak
@endif
</td>
<td>
<a href="{{url('buktipembayaran/'.$a->id)}}">Upload Bukti</a>
</td>
<td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" id="hapus" value="DELETE">
<button type="submit" class="btn btn-danger">Hapus</button>
</form>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
document.getElementById('hapus').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
@endsection
@extends('adminlte::layouts.master')
@section('main-content')
<div class="cuisines agileits w3layouts" style="padding-top: 50px; margin-top: 80px; margin-bottom: 100px;">
<div class="container">
<form class="form-horizontal" action="{{url('upload/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Tanggal Mulai</label>
<input type="text" name="tanggal_mulai" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control">
<label>Tanggal Berakhir</label>
<input type="text" name="tanggal_berakhir" value="{{$data->tanggal_berakhir}}" class="form-control">
<label>Jumlah Kamar</label>
<input type="text" name="jumlah_kamar" value="{{$data->jumlah_kamar}}" class="form-control">
<label>Bukti Pembayaran</label>
<input type="file" name="bukti_pembayaran" id="foto" class="form-corol">nt<br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
@endsection
\ No newline at end of file
<div class="cuisines agileits w3layouts" style="padding-top: 50px; margin-top: 80px; margin-bottom: 100px;">
<div class="container">
<form class="form-horizontal" action="{{url('upload/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Tanggal Mulai</label>
<input type="text" name="tanggal_mulai" value="{{$data->tanggal_mulai}}" id="noTelepon" class="form-control">
<label>Tanggal Berakhir</label>
<input type="text" name="tanggal_berakhir" value="{{$data->tanggal_berakhir}}" class="form-control">
<label>Jumlah Kamar</label>
<input type="text" name="jumlah_kamar" value="{{$data->jumlah_kamar}}" class="form-control">
<label>Bukti Pembayaran</label>
<input type="file" name="bukti_pembayaran" id="foto" class="form-corol">nt<br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
@endsection
......@@ -35,18 +35,15 @@
<label class="col-sm-2 control-label"> Foto </label>
<div class="col-sm-10">
<input type="file" value="Browse" name="foto" id="picture" >
</div>
<div class="form-group" align="right">
<div class="col-sm-12">
<input type="submit" class="btn btn-primary">
</div>
<div class="form-group" align="right">
<div class="col-sm-12">
<input type="submit" class="btn btn-primary">
</div>
</div>
</div>
</div>
</form>
</form>
</div>
</div>
</div>
</div>
@endsection
\ No newline at end of file
@endsection
......@@ -30,20 +30,14 @@
<td>:</td>
<td>{{$data->pekerjaan}}</td>
</tr>
</table>
</table>
<br><br>
<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('customerHistory')}}">History <span class="glyphicon agileits w3layouts glyphicon-arrow-right" aria-hidden="true"></span></a>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
@endsection
\ No newline at end of file
@endsection
......@@ -31,7 +31,6 @@
<input type="text" name="nama" value="" id="nama" class="form-control">
</div>
</div>
<div class="form-group">
<label> Jumlah Kamar </label>
<div class="input-group">
......@@ -41,8 +40,6 @@
<input type="text" name="jumlah_kamar" value="" id="kamar" class="form-control">
</div>
</div>
<div class="form-group">
<label> Tanggal Check In </label>
<div class="input-group date">
......@@ -53,7 +50,6 @@
</div>
<!-- /.input group -->
</div>
<div class="form-group">
<label> Lama Menginap </label>
<div class="input-group">
......@@ -63,15 +59,12 @@
<input type="text" name="lama_menginap" value="" id="nama" class="form-control">
</div>
</div>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
<script src="{{ asset('/js/bootstrap-datepicker.js') }}"></script>
<script type="text/javascript">
$('#datepicker').datepicker({
......
......@@ -40,9 +40,7 @@
</form>
</div>
<div class="box-footer">
</div>
</div>
......
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"> Daftar Booked </h3>
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"> Daftar Booked </h3>
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Booked</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 class="info-box-content">
<span class="info-box-text">Daftar Booked</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>
@endsection
......@@ -33,7 +33,6 @@
<!-- /.info-box -->
</div>
<br>
<table class="table table-striped">
<tr>
<th>Pengaju</th>
......@@ -62,12 +61,9 @@
@endif
</td>
</tr>
@endforeach
</table>
</div>
</div>
@endsection
......@@ -21,43 +21,37 @@
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-home"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Pengajuan Homestay</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-home"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Pengajuan Homestay</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box -->
<br>
<!-- /.info-box-content -->
</div>
<table class="table table-striped">
<tr>
<th>Pengaju</th>
<th>Nama Homestay</th>
<td>Jumlah Kamar</td>
<td>Status</td>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama}}</td>
<td>{{$a->namaHomestay}}</td>
<td>{{$a->jumlahKamar}}</td>
<td>@if($a->status==0) Sedang Menunggu
@elseif($a->status==1) Diterima
@elseif($a->status==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
<!-- /.info-box -->
<br>
</div>
<table class="table table-striped">
<tr>
<th>Pengaju</th>
<th>Nama Homestay</th>
<td>Jumlah Kamar</td>
<td>Status</td>
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->nama}}</td>
<td>{{$a->namaHomestay}}</td>
<td>{{$a->jumlahKamar}}</td>
<td>@if($a->status==0) Sedang Menunggu
@elseif($a->status==1) Diterima
@elseif($a->status==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
</div>
</div>
</div>
@endsection
......@@ -19,12 +19,10 @@
</div>
@endif
@if(session()->has('message'))
<div class="alert alert-info">
{{session()->get('message')}}
</div>
<div class="alert alert-info">
{{session()->get('message')}}
</div>
@endif
</div>
<div class="box-body">
<form action="{{ url('reqFasilitas') }}" method="post" enctype="multipart/form-data" name="myForm" onsubmit="return(validate())">
......@@ -83,26 +81,11 @@
</div>
</div>
<div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Ajukan</button>
</div>
</form>
</div>
<div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Ajukan</button>
</div>
</form>
</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
......@@ -19,14 +19,13 @@
</div>
@if(session()->has('message'))
<div class="alert alert-info">
{{session()->get('message')}}
</div>
<div class="alert alert-info">
{{session()->get('message')}}
</div>
@endif
@endif
</div>
<div class="box-body">
<form action="{{ url('updateHomestay/'.$data->id) }}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
......@@ -78,10 +77,10 @@
</div>
</div>
<div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Update</button>
</div>
</form>
</div>
<div class="form-group" align="right" style="color: black;">
<button type="submit" class="btn btn-primary ">Update</button>
</div>
</form>
</div>
</div>
@endsection
......@@ -28,7 +28,6 @@
<div class="small-box bg-green">
<div class="inner">
<h3>53<sup style="font-size: 20px">%</sup></h3>
<p>Bounce Rate</p>
</div>
<div class="icon">
......
......@@ -69,23 +69,21 @@
<input type="hidden" name="konfirmasi" value="1">
<button type="submit" class="btn btn-info"><i class="glyphicon glyphicon-apple"> Terima</i></button>
</form>
<td>
<form action="{{url('konfirmasiPemesanan/'.$a->id)}}" method="post">
{{csrf_field()}}
<input type="hidden" name="_method" value="PUT">
<input type="hidden" name="konfirmasi" value="2">
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"> Tolak</i></button>
</form>
<td>
<form action="{{url('konfirmasiPemesanan/'.$a->id)}}" method="post">
{{csrf_field()}}
<input type="hidden" name="_method" value="PUT">
<input type="hidden" name="konfirmasi" value="2">
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"> Tolak</i></button>
</form>
</td>
@elseif($a->status==1) Diterima
@elseif($a->status==2) Ditolak
@endif
</td>
@elseif($a->status==1) Diterima
@elseif($a->status==2) Ditolak
@endif
</td>
</tr>
@endforeach
</table>
</tr>
@endforeach
</table>
</div>
</div>
</div>
@endsection
@endsection
......@@ -20,16 +20,16 @@
@endif
@if(session()->has('message'))
<div class="alert alert-info">
{{session()->get('message')}}
</div>
<div class="alert alert-info">
{{session()->get('message')}}
</div>
@endif
@if(!empty($success))
<div class="alert alert-success">
{{$succes}}
</div>
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
......@@ -78,6 +78,4 @@
</table>
</div>
</div>
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"> Daftar Feedback </h3>
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Feedback</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 class="box box-warning">
<div class="box-header with-border">
<h3 class="box-title"> Daftar Feedback </h3>
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="box-body">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box bg-yellow">
<span class="info-box-icon "><i class="glyphicon glyphicon glyphicon-list-alt"></i></span>
<div class="info-box-content">
<span class="info-box-text">Daftar Feedback</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>
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-heading">Your Profil</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-3 col-lg-3" align="center">
<img alt="User Pic" src="img/{{$data->foto}}" class="img-circle img-responsive">
</div>
<div class="col-md-9 col-lg-8">
<table class="table table-user-information">
<tr>
<th>Nama </th>
<td>: </td>
<td>{{$data->nama}}</td>
</tr>
<tr>
<th>Alamat </th>
<td>: </td>
<td>{{$data->alamat}}</td>
</tr>
<tr>
<th>Perkerjaan</th>
<td>: </td>
<td>{{$data->pekerjaan}}</td>
</tr>
<tr>
<th>No Telepon</th>
<td>: </td>
<td>{{$data->noTelepon}}</td>
</tr>
<tr>
<th>No Rekening </th>
<td>: </td>
<td>{{$data->noRekening}}</td>
</tr>
</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 class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-heading">Your Profil</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-3 col-lg-3" align="center">
<img alt="User Pic" src="img/{{$data->foto}}" class="img-circle img-responsive">
</div>
<div class="col-md-9 col-lg-8">
<table class="table table-user-information">
<tr>
<th>Nama </th>
<td>: </td>
<td>{{$data->nama}}</td>
</tr>
<tr>
<th>Alamat </th>
<td>: </td>
<td>{{$data->alamat}}</td>
</tr>
<tr>
<th>Perkerjaan</th>
<td>: </td>
<td>{{$data->pekerjaan}}</td>
</tr>
<tr>
<th>No Telepon</th>
<td>: </td>
<td>{{$data->noTelepon}}</td>
</tr>
<tr>
<th>No Rekening </th>
<td>: </td>
<td>{{$data->noRekening}}</td>
</tr>
</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>
@endsection
\ No newline at end of file
</div>
</div>
@endsection
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ trans('adminlte_lang::message.home') }}
{{ trans('adminlte_lang::message.home') }}
@endsection
@section('main-content')
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
<div class="container-fluid spark-screen">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-body">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
<form action="{{url('profileupdate/'.$data->id)}}" method="post" enctype="multipart/form-data">
<input type="hidden" name="_method" value="PUT">
{{csrf_field()}}
<label>Nama</label>
<input type="text" name="nama" value="{{$data->nama}}" id="nama" class="form-control">
<label>Alamat</label>
<input type="text" name="alamat" value="{{$data->alamat}}" id="alamat" class="form-control">
<label>Pekerjaan</label>
<input type="text" name="pekerjaan" value="{{$data->pekerjaan}}" id="pekerjaan" class="form-control">
<label>Nomor Telepon</label>
<input type="text" name="noTelepon" value="{{$data->noTelepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->noRekening}}" id="noRekening" class="form-control">
<label>Foto</label>
<input type="file" name="picture" id="picture" class="form-control"><br>
<div class="form-group" align="right">
<input type="submit" class="btn btn-primary" value="simpan">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection
\ No newline at end of file
@endsection
......@@ -27,7 +27,6 @@
</tr>
</tbody>
</table>
</div>
</div>
@endsection
......@@ -6,31 +6,31 @@
<div class="container">
<div class="service-info-grids agileits w3layouts" style="margin-top:0px;">
<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> -->
<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">
<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>
</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">
<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>
</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">
<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>
</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">
<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>
</div>
<div class="clearfix"></div>
......@@ -43,12 +43,12 @@
<div class="clearfix" style="margin-top: 15px;"></div>
<div class="cuisines agileits w3layouts" style="">
<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>
<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 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">
</div>
<div class="clearfix"></div>
......@@ -65,7 +65,7 @@
<h3>Daftar Homestay</h3>
<div class="details-grids agileits w3layouts">
@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-grid-image agileits w3layouts" >
<img src="{{asset('img/project-6.jpg')}}" alt="Agileits W3layouts" >
......@@ -74,7 +74,7 @@
<h3>{{$a->nama}}</h3>
<p>Mari Menginap di Homestay kami</p>
</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>
</div>
......@@ -146,7 +146,7 @@
<h1> Lokasi Kami</h1>
<div class="banner 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>
......
......@@ -4,18 +4,14 @@
<!-- Banner -->
<div class="banner agileits w3layouts">
<img src="{{asset('/img/'.$data->gambar)}}" alt="Agileits W3layouts" style="max-height:500px; width:">
<h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1>
</div>
<!-- //Banner -->
<!-- Booking -->
<div class="details agileits w3layouts" style="margin-top: 30px; padding:0px">
<div class="details agileits w3layouts" style="margin-top: 10px; padding:0px">
<br>
<div class="container">
@if (count($errors) > 0)
<div class="alert alert-danger">
......@@ -29,36 +25,31 @@
@endif
</div>
<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">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<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-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 "></div>
<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 = '';}">
</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" style="background-color: white; color: black">
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 ">
<input type="text" class="text wow agileits w3layouts " name="jumlah_hari" placeholder="Lama Menginap" style="background-color: white; color: black">
</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_kamar" placeholder="Jumlah Kamar" style="background-color: white; color: black">
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 ">
<input type="text" class="text wow agileits w3layouts " name="jumlah_kamar" placeholder="Jumlah Kamar" style="background-color: white; color: black">
</div>
<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>
</form>
</div>
</div>
</div>
<!-- Booking -->
<div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;">
<h2 > Daftar Booking di {{$data->namaHomestay}}</h2>
<div class="container">
<table class="table table-hover" style="background-color: white; margin-top:20px;">
<thead>
<tr>
......@@ -79,7 +70,6 @@
@endforeach
</tbody>
</table>
</div>
</div>
......@@ -87,44 +77,64 @@
<!-- Informations -->
<div class="cuisines agileits w3layouts">
<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 style="margin-bottom: 10px;"> Fasilitas </h2>
<ul style="list-style-type: none;">
<p>{{$data->fasilitas}}</p>
</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')}}">
<h2 style="margin-bottom: 10px;"> Info Pemilik </h2>
<ul style="list-style-type: none;">
<li> Pemilik : {{$data->nama}}</li>
<li> No Telp : {{$data->noTelepon}} </li>
<li> Alamat : {{$data->alamat}}</li>
<li> Pekerjaan : {{$data->pekerjaan}}</li>
<li> No Rekening : {{$data->noRekening}}</li>
<li> Avilable Room : {{$avilable}}</li>
</ul>
<table class="table-condensed" style="font-size: 16px; margin-left: -3px; color: #777;">
<tr>
<td>Pemilik</td>
<td>:</td>
<td>{{$data->nama}}</td>
</tr>
<tr>
<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 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">
</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 -->
@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">
<img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;">
</div>
<div class="clearfix"></div>
</div>
@endforeach
<div class="clearfix"></div>
<!--Homestay pict -->
</div>
</div>
</div>
......@@ -133,66 +143,23 @@
<!-- Kritik & Saran -->
<div class="details agileits w3layouts">
<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>
<form action="{{url('feedback/'.$data->id)}}" method="post" style="margin-bottom: 25px;">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="Name" placeholder="Name" required="">
<textarea name="feedback" class="wow agileits w3layouts slideInLeft" placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Kirim Feedback">
<input type="text" class="text wow agileits w3layouts " name="Name" placeholder="Name" required="">
<textarea name="feedback" class="wow agileits w3layouts " placeholder="Message" required=""></textarea>
<input type="submit" class="more_btn wow agileits w3layouts " value="Kirim Feedback">
</form>
</div>
</div>
</div>
</div>
</div>
<!-- //Tooltip-Content -->
<!-- //Kritik & Saran -->
<!-- Scripts -->
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
<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>
<!-- Scripts -->
@endsection
......@@ -40,11 +40,8 @@
<input type="submit" class="btn btn-primary">
</div>
</div>
</form>
</div>
</div>
</div>
@endsection
\ No newline at end of file
@endsection
......@@ -10,9 +10,6 @@
<!-- //Banner -->
<!-- Booking -->
<div class="details agileits w3layouts" style=" padding:0px">
<div class="container" style="width:950px; margin-left:auto; margin-right:auto;">
<img src="/img/Layer1.png" alt="Agileits W3layouts">
......@@ -25,7 +22,6 @@
<br><br>
<div class="col-md-12 col-sm-12 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<form action="{{url('book')}}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="id" value="">
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"></div>
......@@ -41,20 +37,17 @@
<div class="book">
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div>
</form>
</div>
</div>
</div>
<!-- Booking -->
<!-- Daftar Booking -->
<div class="details agilets w3layouts" style="margin-bottom:0px; margin-top:0px;">
<h2 > Daftar Booking di </h2>
<div class="container">
</div>
</div>
......
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div>
</div>
@endif
<!-- search form (Optional) -->
<!-- /.search form -->
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
@if(Auth::user()->role =="DinasPariwisata")
<!-- Optionally, you can add icons to the links -->
<li class="treeview"><a href="#"><i class='fa fa-list'></i> <span> List Request </span> </a>
<ul class="treeview-menu" style="display: none;">
<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>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-users'></i> <span> Pemilik Homestay </span></a>
<ul class="treeview-menu" style="display : none;">
<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>
</ul>
</li>
<li><a href="{{url('listPemesanan')}}"><i class='fa fa-list'></i> <span> Data Pemesanan</span></a></li>
@elseif(Auth::user()->role=="Owner")
<li class="treeview"><a href="#"><i class='fa fa-television'></i> <span> FASILITAS </span></a>
<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>
<li><a href="{{url('listPengajuanFasilitas')}}"><i class='fa fa-list'></i> <span>Daftar Pengajuan Fasilitas</span></a></li>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-bed'></i> <span> Homestay </span></a>
<ul class="treeview-menu" style="display : none;">
<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><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>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a>
<ul class="treeview-menu" style="display : none;">
<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><a href="{{url('AddBook')}}"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li>
</ul>
</li>
@endif
</ul><!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div>
</div>
@endif
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
@if(Auth::user()->role =="DinasPariwisata")
<!-- Optionally, you can add icons to the links -->
<li class="treeview"><a href="#"><i class='fa fa-list'></i> <span> List Request </span> </a>
<ul class="treeview-menu" style="display: none;">
<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>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-users'></i> <span> Pemilik Homestay </span></a>
<ul class="treeview-menu" style="display : none;">
<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>
</ul>
</li>
<li><a href="{{url('listPemesanan')}}"><i class='fa fa-list'></i> <span> Data Pemesanan</span></a></li>
@elseif(Auth::user()->role=="Owner")
<li class="treeview"><a href="#"><i class='fa fa-television'></i> <span> FASILITAS </span></a>
<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>
<li><a href="{{url('listPengajuanFasilitas')}}"><i class='fa fa-list'></i> <span>Daftar Pengajuan Fasilitas</span></a></li>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-bed'></i> <span> Homestay </span></a>
<ul class="treeview-menu" style="display : none;">
<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><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>
</ul>
</li>
<li class="treeview"><a href="#"><i class='fa fa-inbox'></i> <span> PESANAN </span></a>
<ul class="treeview-menu" style="display : none;">
<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><a href="{{url('AddBook')}}"><i class='fa fa-plus'></i> <span>Tambah Pesanan Manual</span></a></li>
</ul>
</li>
@endif
</ul><!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div>
</div>
@endif
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div>
</div>
@endif
<!-- search form (Optional) -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="{{ trans('adminlte_lang::message.search') }}..."/>
<span class="input-group-btn">
<button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- search form (Optional) -->
<form action="#" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="{{ trans('adminlte_lang::message.search') }}..."/>
<span class="input-group-btn">
<button type='submit' name='search' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
</span>
</div>
</form>
<!-- /.search form -->
<!-- Sidebar Menu -->
{{ Menu::sidebar() }}
<!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
<!-- Sidebar Menu -->
{{ Menu::sidebar() }}
<!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside>
......@@ -11,43 +11,43 @@
<!-- //Meta-Tags -->
<!-- Custom-Stylesheet-Links -->
<!-- Bootstrap-CSS -->
<link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all">
<!-- Index-Page-CSS -->
<link rel="stylesheet" href="{{asset('css/style.css')}}" type="text/css" media="all">
<!-- Animate.CSS -->
<link rel="stylesheet" href="{{asset('css/animate.css')}}" type="text/css" media="all">
<!-- Tanggal -->
<link rel="stylesheet" href="{{asset('css/jquery-ui.css')}}" type="text/css" media="all">
<!-- Popup -->
<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.buttons.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">
.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;
height: 20px;
background: url(../img/cal1.png) no-repeat 0px 100%;
cursor:pointer;}
<!-- Bootstrap-CSS -->
<link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all">
<!-- Index-Page-CSS -->
<link rel="stylesheet" href="{{asset('css/style.css')}}" type="text/css" media="all">
<!-- Animate.CSS -->
<link rel="stylesheet" href="{{asset('css/animate.css')}}" type="text/css" media="all">
<!-- Tanggal -->
<link rel="stylesheet" href="{{asset('css/jquery-ui.css')}}" type="text/css" media="all">
<!-- Popup -->
<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.buttons.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">
.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;
height: 20px;
background: url(../img/cal1.png) no-repeat 0px 100%;
cursor:pointer;}
.ui-datepicker .ui-datepicker-next {
right: 10px;
width: 20px;
height: 20px;
background: url(../img/cal.png) no-repeat 0px 0px;
cursor:pointer;
}
}
</style>
<!-- //Custom-Stylesheet-Links -->
<!-- //Custom-Stylesheet-Links -->
<!-- Fonts -->
<!-- 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">
<!-- Navbar-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat:400,700" type="text/css">
<!-- //Fonts -->
<!-- Fonts -->
<!-- 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">
<!-- Navbar-Font --> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Montserrat:400,700" type="text/css">
<!-- //Fonts -->
</head>
<!-- //Head -->
</head>
<!-- //Head -->
......@@ -2,7 +2,7 @@
<div class="footer agileits w3layouts">
<div class="container">
<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>
<img src="{{asset('img\bulbulhomestay.png')}}" style="margin-top: 5px;">
Homestay Lumbanbulbul merupakan homestay yang berada di lokasi wisata pantai lumban bulbul
......@@ -12,7 +12,7 @@
</div>
<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">
<p style="font-size: 20px; color: white; margin-bottom: 10px"> Other Link </p>
<li><a href=""> Tobasamosir </a></li>
......@@ -23,7 +23,7 @@
</div>
<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">
<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>
......@@ -33,31 +33,6 @@
</div>
<div class="clearfix"></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>
<!-- //Footer -->
......@@ -18,71 +18,70 @@
<li><a href="{{ url('/#2') }}">DAFTAR HOMESTAY</a></li>
<li><a href="{{ url('/#3') }}">LOKASI</a></li>
<!-- <li><a href="gallery.html">PROFILE</a></li> -->
@if (Auth::guest())
@if (Auth::guest())
<li><a href="{{ url('/login') }}"> LOGIN </a></li>
@else
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
{{--<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. -->
@if(Auth::user()->role=="Customer")
<span class="hidden-xs">{{ Auth::user()->name }}</span>
@else
<li><a href="{{url('home')}}">{{Auth::user()->name}}</a></li>
@endif
</a>
<li><a href="{{ url('/login') }}"> LOGIN </a></li>
@else
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<!-- Menu Toggle Button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<!-- The user image in the navbar-->
{{--<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. -->
@if(Auth::user()->role=="Customer")
<span class="hidden-xs">{{ Auth::user()->name }}</span>
@else
<li><a href="{{url('home')}}">{{Auth::user()->name}}</a></li>
@endif
</a>
@if(Auth::user()->role=="Customer")
<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" />
</p>
</li>
<!-- Menu Body -->
@if(Auth::user()->role=="Customer")
<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" />
</p>
</li>
<!-- Menu Body -->
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="{{ url('customerProfile') }}" class="btn btn-default btn-flat">{{ trans('adminlte_lang::message.profile') }}</a>
</div>
<!-- Menu Footer-->
<li class="user-footer">
<div class="pull-left">
<a href="{{ url('customerProfile') }}" class="btn btn-default btn-flat">{{ trans('adminlte_lang::message.profile') }}</a>
</div>
<div class="pull-left" style="margin-left: 20px">
<a href="{{ url('customerHistory') }}" class="btn btn-default btn-flat">History</a>
</div>
<div class="pull-left" style="margin-left: 20px">
<a href="{{ url('customerHistory') }}" class="btn btn-default btn-flat">History</a>
</div>
<div class="pull-right">
<a href="{{ url('/logout') }}" class="btn btn-default btn-flat"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
{{ trans('adminlte_lang::message.signout') }}
</a>
<div class="pull-right">
<a href="{{ url('/logout') }}" class="btn btn-default btn-flat"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
{{ trans('adminlte_lang::message.signout') }}
</a>
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
<input type="submit" value="logout" style="display: none;">
</form>
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
<input type="submit" value="logout" style="display: none;">
</form>
</div>
</li>
</ul>
@endif
</li>
@endif
<!-- <li><a href="codes.html">CODES</a></li> -->
<!-- <li><a href="booking.html">BOOKING</a></li> -->
</ul>
</ul>
</div>
</div>
</nav>
<!-- //Navbar -->
<div class="clearfix" style="margin-bottom: 15px;"></div>
</div>
</li>
</ul>
@endif
</li>
@endif
</ul>
</ul>
</div>
</div>
</nav>
<!-- //Navbar -->
<div class="clearfix" style="margin-bottom: 15px;"></div>
</div>
<!-- Custom-JavaScript-File-Links -->
<!-- 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 -->
<script type="text/javascript" src="{{asset('js/sweet-alert.min.js')}}"></script>
<script type="text/javascript" src="{{asset('js/sweet-alert.js')}}"></script>
<!-- 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 -->
<script type="text/javascript" src="{{asset('js/sweet-alert.min.js')}}"></script>
<script type="text/javascript" src="{{asset('js/sweet-alert.js')}}"></script>
<!-- Animate.CSS-JavaScript -->
<script src="{{asset('js/wow.min.js')}}"></script>
<script>
new WOW().init();
</script>
<!-- //Animate.CSS-JavaScript -->
<!-- Animate.CSS-JavaScript -->
<script src="{{asset('js/wow.min.js')}}"></script>
<script>
new WOW().init();
</script>
<!-- //Animate.CSS-JavaScript -->
<!-- Slider-JavaScript -->
<script src="{{asset('js/responsiveslides.min.js')}}"></script>
<script>
$(function () {
$("#slider1, #slider2, #slider3, #slider4").responsiveSlides({
auto: true,
nav: true,
speed: 1500,
namespace: "callbacks",
pager: true,
});
});
</script>
<!-- //Slider-JavaScript -->
<!-- Slider-JavaScript -->
<script src="{{asset('js/responsiveslides.min.js')}}"></script>
<script>
$(function () {
$("#slider1, #slider2, #slider3, #slider4").responsiveSlides({
auto: true,
nav: true,
speed: 1500,
namespace: "callbacks",
pager: true,
});
});
</script>
<!-- //Slider-JavaScript -->
<!-- Slide-To-Top JavaScript (No-Need-To-Change) -->
<script type="text/javascript">
$(document).ready(function() {
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 100,
easingType: 'linear'
};
$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<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 (No-Need-To-Change) -->
<script type="text/javascript">
$(document).ready(function() {
var defaults = {
containerID: 'toTop', // fading element id
containerHoverID: 'toTopHover', // fading element hover id
scrollSpeed: 100,
easingType: 'linear'
};
$().UItoTop({ easingType: 'easeOutQuart' });
});
</script>
<a href="#" id="toTop" class="agileits w3layouts" style="display: block;"> <span id="toTopHover" style="opacity: 0;"> </span></a>
<!-- //Slide-To-Top JavaScript -->
<!-- Smooth-Scrolling-JavaScript -->
<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">
jQuery(document).ready(function($) {
$(".scroll, .navbar li a, .footer li a").click(function(event){
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
<!-- //Smooth-Scrolling-JavaScript -->
<!-- Smooth-Scrolling-JavaScript -->
<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">
jQuery(document).ready(function($) {
$(".scroll, .navbar li a, .footer li a").click(function(event){
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
<!-- //Smooth-Scrolling-JavaScript -->
<!-- Booking-Popup-Box-JavaScript -->
<script src="{{asset('js/jquery.magnific-popup.js')}}" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('.popup-with-zoom-anim').magnificPopup({
type: 'inline',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-zoom-in'
});
});
</script>
<!-- //Booking-Popup-Box-JavaScript -->
<!-- Booking-Popup-Box-JavaScript -->
<script src="{{asset('js/jquery.magnific-popup.js')}}" type="text/javascript"></script>
<script>
$(document).ready(function() {
$('.popup-with-zoom-anim').magnificPopup({
type: 'inline',
fixedContentPos: false,
fixedBgPos: true,
overflowY: 'auto',
closeBtnInside: true,
preloader: false,
midClick: true,
removalDelay: 300,
mainClass: 'my-mfp-zoom-in'
});
});
</script>
<!-- //Booking-Popup-Box-JavaScript -->
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
$('#datepicker2').datepicker({
dateFormat: "yy-mm-dd"
});
<!-- Date-Picker-JavaScript -->
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
$('#datepicker2').datepicker({
dateFormat: "yy-mm-dd"
});
$("#datepicker1").datepicker({
dateFormat: "yy-mm-dd",
minDate: 0,
onSelect: function(date){
var date1 = $('#datepicker1').datepicker('getDate');
var date = new Date( Date.parse( date1 ) );
date.setDate( date.getDate() + 1 );
var newDate = date.toDateString();
newDate = new Date( Date.parse( newDate ) );
$('#datepicker2').datepicker("option","minDate",newDate);
}
});
</script>
$("#datepicker1").datepicker({
dateFormat: "yy-mm-dd",
minDate: 0,
onSelect: function(date){
var date1 = $('#datepicker1').datepicker('getDate');
var date = new Date( Date.parse( date1 ) );
date.setDate( date.getDate() + 1 );
var newDate = date.toDateString();
newDate = new Date( Date.parse( newDate ) );
$('#datepicker2').datepicker("option","minDate",newDate);
}
});
</script>
<!-- //Custom-JavaScript-File-Links -->
<!-- //Custom-JavaScript-File-Links -->
......@@ -16,7 +16,6 @@
<h3> STAY <span> AT OUR HOMESTAY</span></h3>
</div>
</li>
</ul>
</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