Commit 6f691c39 by Juliper

no message

parents 3ecba003 310f67c1
......@@ -43,7 +43,7 @@ class CustomerController extends Controller
//Pemberian/Pengiriman Feedback
public function sendFeedback(Request $request, $id){
if(Auth::guest()){
dd("maaf nggak bisa banf");
dd("maaf nggak bisa bang");
}
$dataPelanggan = DB::table('pelanggan')
......
......@@ -24,7 +24,39 @@ class OwnerController extends Controller
public function index()
{
return view('adminlte::layouts.owner.home');
//coba
$dataPemilik = DB::table('pemilikhomestay')
->select('pemilikhomestay.*')
->where('pemilikhomestay.id_akun','=',Auth::user()->id)
->get();
$data = DB::table('homestay')
->join('pemilikhomestay','homestay.id_pemilik','pemilikhomestay.id')
->join('kamar','homestay.id','=','kamar.id_homestay')
->select('kamar.*')
->where('pemilikhomestay.id','=',$dataPemilik[0]->id)
->get();
$dataHomestay = DB::table('homestay')
->join('pemilikhomestay','homestay.id_pemilik','pemilikhomestay.id')
->select('homestay.id')
->where('pemilikhomestay.id','=',$dataPemilik[0]->id)
->get();
$dataListOfBook = DB::table('daftar_book')
->select('daftar_book.*')
->where('daftar_book.homestay','=',$dataHomestay[0]->id)
->get();
$dataFeedback = DB::table('feedback')
->join('pelanggan','feedback.id_pelanggan','pelanggan.id')
->select('feedback.*','pelanggan.nama')
->where('feedback.id_pemilik_homestay','=',$dataPemilik[0]->id)
->get();
//coba
return view('adminlte::layouts.owner.home')->with('count',$data->count())->with('count1',$dataListOfBook->count())->with('count2',$dataFeedback->count());
}
......
......@@ -1113,6 +1113,7 @@ img {
}
.img-circle {
border-radius: 50%;
}
hr {
margin-top: 20px;
......
......@@ -4,92 +4,6 @@
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
#myImg:hover {opacity: 0.7;}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (Image) */
.modal-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}
/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)}
to {-webkit-transform:scale(1)}
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.modal-content {
width: 100%;
}
}
/*-- Reset-Code --*/
......@@ -843,13 +757,15 @@ ul.callbacks_tabs li {
-moz-background-size: cover;
-o-background-size: cover;
color: #FFF;
position: absolute;
width: 100%;
}
.footer2 {
/*--w3layouts--*/
/*--agileits--*/
padding: 50px 0 50px;
background: url("../img/3190_pantai-bul-bul.jpg");
background: url("../img/20170528_084214.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
......@@ -1924,6 +1840,7 @@ div#showLess:after {
background: #000;
text-align: center;
cursor: pointer;
margin: 10px 10px 20px 10px;
}
figure.effect-apollo {
......@@ -4852,3 +4769,114 @@ p.contact-p {
.w3-animate-zoom{
-webkit-animation:
}
.online_reservation{
z-index: 999;
}
.b_room{
display: inline-flex;
box-shadow: 0px 0px 4px rgb(97, 97, 97);
-webkit-box-shadow: 0px 0px 4px rgb(97, 97, 97);
-moz-box-shadow: 0px 0px 4px rgb(97, 97, 97);
-o-box-shadow: 0px 0px 4px rgb(97, 97, 97);
width: 70%;
position:absolute;
}
.booking_room {
width: 100%;
position:absolute;
top:-3em;
left:18%;
z-index:1;
}
.booking_room h4{
font-size: 1.5em;
color: #202020;
text-transform: capitalize;
font-weight: 600;
margin-bottom: 10px;
}
.booking_room p{
font-size: 0.8725em;
color: #6b6b6b;
line-height: 1.8em;
}
.reservation{
font-family: 'Open Sans', sans-serif;
padding:16px 10px;
float: left;
width:100%;
background: #2A2E33;
box-shadow: 2px 26px 37px -12px;
}
.reservation ul li{
float: left;
list-style:none;
}
.reservation ul li.left{
margin-left: 15px;
}
.reservation ul li.span1_of_1{
width: 24.33333%;
margin-left: 1em;
}
.reservation ul li.span1_of_2{
width: 9.33333%;
}
.reservation ul li.span1_of_3{
width: 18.33333%;
margin-left: 20px;
}
.reservation h5{
font-size: 15px;
color: #FFD700;
text-transform: capitalize;
margin-bottom: 6px;
}
select {
width: 100%;
color: #858585;
font-size: 0.8725em;
padding: 7px;
outline: none;
font-family: 'Open Sans', sans-serif;
background: #ffffff;
border: 1px solid #DFDFDF;
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-o-border-radius: 9px;
}
select option{
border: 1px solid #DFDFDF;
outline: none;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.book_date input[type="text"]{
width: 100% !important;
color: #858585;
font-size: 0.8725em;
padding: 8px 30px;
outline: none;
font-family: 'Open Sans', sans-serif;
border: 1px solid #DFDFDF;
box-shadow: inset 0 0 2px rgb(236, 236, 236);
-webkit-box-shadow: inset 0 0 2px rgb(236, 236, 236);
-moz-box-shadow: inset 0 0 2px rgb(236, 236, 236);
-o-box-shadow: inset 0 0 2px rgb(236, 236, 236);
-webkit-appearance: none;
border-radius: 9px;
-webkit-border-radius: 9px;
-moz-border-radius: 9px;
-o-border-radius: 9px;
}
.portfolio col-md-4{
padding: 10px;
background-color: none;
}
public/img/gallery-1.jpg

37.7 KB | W: | H:

public/img/gallery-1.jpg

169 KB | W: | H:

public/img/gallery-1.jpg
public/img/gallery-1.jpg
public/img/gallery-1.jpg
public/img/gallery-1.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -10,7 +10,7 @@
<div class="login-box" style="box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 20px 0px, rgba(0, 0, 0, 0.239216) 0px 5px 5px 0px; background-color: rgba(255, 255, 255, 0); ">
<!-- <div class="login-logo">
<a href="{{ url('/home') }}"><b>SIBH</b></a>
</div><!-- /.login-logo -->
</div><!-- /.login-logo -->
@if (count($errors) > 0)
<div class="alert alert-danger">
......@@ -26,7 +26,7 @@
<div class="login-box-body" >
<!-- <p class="login-box-msg"> {{ trans('adminlte_lang::message.siginsession') }} </p> -->
<div class="login-logo">
<a href="{{ url('/home') }}"><b>SIBH</b></a>
<a href="{{ url('/home') }}"><b>BOOKING BULBUL HOMESTAY</b></a>
</div><!-- /.login-logo -->
<form action="{{ url('/login') }}" method="post">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
......
......@@ -25,18 +25,7 @@
@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>
......
......@@ -20,18 +20,8 @@
@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-modal-window"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Pengajuan Fasilitas</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- <div class="col-md-4 col-sm-6 col-xs-12">
</div> -->
<br>
<table class="table table-striped">
<tr>
......
......@@ -20,19 +20,7 @@
@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-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>
<!-- /.info-box -->
<br>
</div>
<table class="table table-striped">
<tr>
<th>Pengaju</th>
......
......@@ -7,7 +7,7 @@
@section('main-content')
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title"> REQUEST FASILITAS </h3>
<h3 class="box-title"> UPDATE HOMESTAY </h3>
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
......
......@@ -9,48 +9,55 @@
<!-- Small boxes (Stat box) -->
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3>150</h3>
<h3>{{$count}}</h3>
<p>Pemesanan</p>
<p>Jumlah Kamar</p>
</div>
<div class="icon">
<i class="ion ion-bag"></i>
<i class="fa fa-bed"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
<a href="#" class="small-box-footer">Lihat <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
<h3>53<sup style="font-size: 20px">%</sup></h3>
<p>Bounce Rate</p>
<h3>{{$count1}}</h3>
<p>Pemesanan baru</p>
</div>
<div class="icon">
<i class="ion ion-stats-bars"></i>
<i class="fa fa-list"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
<a href="#" class="small-box-footer">Lihat <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-yellow">
<div class="inner">
<h3>44</h3>
<p>User Registrations</p>
<h3>{{$count1}}</h3>
<p>Feedback</p>
</div>
<div class="icon">
<i class="ion ion-person-add"></i>
<i class="fa fa-edit"></i>
</div>
<a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
</div>
</div>
<!-- ./col -->
<div class="col-lg-3 col-xs-6">
<!-- small box -->
......
......@@ -26,15 +26,7 @@
</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 Pesanan</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
......
......@@ -33,15 +33,13 @@
</div>
<div class="box-body">
<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-bed"></i></span>
<div class="info-box-content">
<span class="info-box-text">List Room</span>
<span class="info-box-number">{{$count}}</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div> -->
</div>
<br>
<table class="table table-striped">
......@@ -60,20 +58,23 @@
<td>@if($a->gambar == null)
<img alt="Belum ada foto">
@else
<a href="/img/{{$a->gambar}}" data-lightbox="roadtrip"><img src="/img/{{$a->gambar}}" style="max-height: 150px"></a>
@endif
</td>
<td>
<a href="{{url('editRoom/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i></a>
</td>
<td>
<form action="{{url('room/'.$a->id)}}" method="POST">
<a href="{{url('editRoom/'.$a->id)}}" class="btn btn-primary"><i class="glyphicon glyphicon-edit"></i> Edit Kamar</a>
<form action="{{url('room/'.$a->id)}}" method="POST">
{{csrf_field()}}
<input type="hidden" name="_method" value="DELETE">
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i></button>
<br>
<button type="submit" class="btn btn-danger"><i class="glyphicon glyphicon-trash"></i>Hapus Kamar</button>
</form>
</td>
<td>
</td>
</tr>
@endforeach
</table>
......
......@@ -27,15 +27,7 @@
</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>
......
......@@ -11,12 +11,12 @@
<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>
<h3 class="panel-heading">Profil Anda</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">
<img alt="User Pic" src="img/{{$data->foto}}" style="width: 200px; border-radius:10%;">
</div>
<div class="col-md-9 col-lg-8">
<table class="table table-user-information">
......@@ -51,11 +51,11 @@
</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>
<span class="glyphicon glyphicon-edit"></span> Edit Profil
</a>
</div>
</div>
@endsection
</div>
</div>
</div>
\ No newline at end of file
</div>
@extends('adminlte::layouts.app')
@section('htmlheader_title')
{{ 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
@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->no_telepon}}" id="noTelepon" class="form-control">
<label>Nomor Rekening</label>
<input type="text" name="noRekening" value="{{$data->no_rekening}}" 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>
</div>
</div>
@endsection
......@@ -145,9 +145,16 @@
<div class="services agileits w3layouts" style="padding-top: 10px">
<h1> Lokasi Kami</h1>
<div class="banner agileits w3layouts">
<img src="{{asset('img/lokasi bul-bul.JPG')}}" alt="Agileits W3layouts">
<h1 class=" agileits w3layouts ">Tobasamosir</h1>
<iframe
width="100%"
height="500"
frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=AIzaSyDgZqmVOxZDK2qWwAFdHz0ty4Rjz7jHrpA&q=Pantai+Lumban+Bulbul,+Kabupaten+Toba+Samosir,+Sumatera+Utara" allowfullscreen>
</iframe>
</div>
</div>
</div>
<!-- //Lokasi -->
......
......@@ -124,6 +124,11 @@
<td>:</td>
<td style="color: #1dc8d9;font-size:30px;">{{$avilable}}</td>
</tr>
<tr>
<td> Harga </td>
<td>:</td>
<td>Rp 150.000 / hari</td>
</tr>
</table>
</div>
<div class="col-md-6 col-sm-6 cuisines-grids agileits w3layouts cuisines-grids-2 ">
......@@ -136,7 +141,15 @@
@foreach($dataKamar as $dk)
<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;">
<a class="example-image-link agileits w3layouts" href="/img/{{$dk->gambar}}" data-lightbox="example-set" data-title="">
<div class="grid agileits w3layouts">
<figure class="effect-apollo agileits w3layouts">
<img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" id="data">
<figcaption></figcaption>
</figure>
</div>
</a>
<!-- <img src="" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;"> -->
</div>
<div class="clearfix"></div>
</div>
......
......@@ -59,45 +59,6 @@
<!-- //Tooltip-Content -->
<!-- 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>
......
......@@ -40,7 +40,7 @@
<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>
<li><a href="{{url('updateHomestay')}}"><i class='fa fa-edit'></i> <span>Update Homestay</span></a></li>
<li><a href="{{url('listPengajuan')}}"><i class='fa fa-list'></i> <span>List Pengajuan Homestay</span></a></li>
</ul>
</li>
......
......@@ -12,6 +12,7 @@
<!-- Custom-Stylesheet-Links -->
<!-- Bootstrap-CSS -->
<link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all">
<link rel="stylesheet" href="{{asset('css/lightbox.css')}}" type="text/css" media="all">
<link rel="stylesheet" href="{{asset('css/bootstrap.min.css')}}" type="text/css" media="all">
<!-- Index-Page-CSS -->
......
<!-- Footer -->
<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 ">
<p>
......@@ -28,13 +29,14 @@
<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>
<p><span class="glyphicon agileits w3layouts glyphicon-envelope" aria-hidden="true"></span> paltigcsinaga@gmail.com</p>
<p><span class="glyphicon agileits w3layouts glyphicon-phone" aria-hidden="true"></span> +6282174161231</p>
<li><p><span class="glyphicon agileits w3layouts glyphicon-map-marker" aria-hidden="true"></span> Pematang Siantar Balige No.2 Toba Samosir</p></li>
<li><p><span class="glyphicon agileits w3layouts glyphicon-envelope" aria-hidden="true"></span> paltigcsinaga@gmail.com</p></li>
<li><p><span class="glyphicon agileits w3layouts glyphicon-phone" aria-hidden="true"></span> +6282174161231</p></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
<!-- //Footer -->
......@@ -14,7 +14,7 @@
</div>
<div id="navbar" class="navbar-collapse agileits w3layouts navbar-right collapse">
<ul class="nav agileits w3layouts navbar-nav">
<li class="active"><a href="{{ url('/') }}">HOME</a></li>
<li class="active"><a href="{{ url('/') }}">BERANDA</a></li>
<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> -->
......@@ -76,7 +76,7 @@
@endif
</li>
@endif
</ul>
</ul>
</div>
......
......@@ -18,6 +18,18 @@ new WOW().init();
</script>
<!-- //Animate.CSS-JavaScript -->
<script type="text/javascript">
$(document).ready(function() {
$('.thumbnail').click(function(){
$('.modal-body').empty();
var title = $(this).parent('a').attr("title");
$('.modal-title').html(title);
$($(this).parents('div').html()).appendTo('.modal-body');
$('#myModal').modal({show:true});
});
});
</script>
<!-- Slider-JavaScript -->
<script src="{{asset('js/responsiveslides.min.js')}}"></script>
<script>
......@@ -34,18 +46,8 @@ $(function () {
<!-- //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 -->
<!-- Smooth-Scrolling-JavaScript -->
......
......@@ -119,6 +119,10 @@ Route::get('gallery', function(){
return view('gallery');
});
Route::get('gallerrry', function(){
return view('media_gallery');
});
......
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