Commit 637d49cd by Palti Sinaga

abc

parent 65128518
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
.ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; } .ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; }
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
.ui-button-icons-only { width: 3.4em; } .ui-button-icons-only { width: 3.4em; }
button.ui-button-icons-only { width: 3.7em; } button.ui-button-icons-only { width: 3.7em; }
/*button text element */ /*button text element */
.ui-button .ui-button-text { display: block; line-height: 1.4; } .ui-button .ui-button-text { display: block; line-height: 1.4; }
...@@ -103,13 +103,13 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad ...@@ -103,13 +103,13 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
.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(../images/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(../images/cal.png) no-repeat 0px 0px; background: url(../img/cal.png) no-repeat 0px 0px;
cursor:pointer; cursor:pointer;
} }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
...@@ -120,7 +120,7 @@ font-size: 0.8em; ...@@ -120,7 +120,7 @@ font-size: 0.8em;
font-weight: normal; } font-weight: normal; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } .ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;} .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;} .ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .7em; border-collapse: collapse; margin:0 0 .4em;background: #403f45; } .ui-datepicker table {width: 100%; font-size: .7em; border-collapse: collapse; margin:0 0 .4em;background: #403f45; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
...@@ -136,9 +136,9 @@ font-weight: normal; } ...@@ -136,9 +136,9 @@ font-weight: normal; }
color: #EEE; color: #EEE;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
font-size: 1.2em; font-size: 1.2em;
} }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
...@@ -296,8 +296,8 @@ body .ui-tooltip { border-width: 2px; } ...@@ -296,8 +296,8 @@ body .ui-tooltip { border-width: 2px; }
/* Interaction Cues /* Interaction Cues
----------------------------------*/ ----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
border: 1px solid #ffffff;/*{borderColorHighlight}*/; border: 1px solid #ffffff;/*{borderColorHighlight}*/;
} }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; } .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636/*{fcHighlight}*/; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; } .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a/*{borderColorError}*/; background: #fef1ec/*{bgColorError}*/ url(ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; color: #cd0a0a/*{fcError}*/; }
...@@ -313,7 +313,7 @@ body .ui-tooltip { border-width: 2px; } ...@@ -313,7 +313,7 @@ body .ui-tooltip { border-width: 2px; }
/* states and images */ /* states and images */
.ui-icon.ui-icon-circle-triangle-w { .ui-icon.ui-icon-circle-triangle-w {
} }
/* positioning */ /* positioning */
...@@ -614,4 +614,4 @@ body .ui-tooltip { border-width: 2px; } ...@@ -614,4 +614,4 @@ body .ui-tooltip { border-width: 2px; }
.ui-datepicker { .ui-datepicker {
width: 85.7%; width: 85.7%;
} }
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: 127.0.0.1 -- Host: 127.0.0.1
-- Generation Time: 22 Mei 2017 pada 03.50 -- Generation Time: 23 Mei 2017 pada 03.12
-- Versi Server: 10.1.16-MariaDB -- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9 -- PHP Version: 7.0.9
...@@ -71,6 +71,16 @@ CREATE TABLE `feedback` ( ...@@ -71,6 +71,16 @@ CREATE TABLE `feedback` (
`updated_at` timestamp NULL DEFAULT NULL `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data untuk tabel `feedback`
--
INSERT INTO `feedback` (`id`, `id_pemilikHomestay`, `idPelanggan`, `feedback`, `created_at`, `updated_at`) VALUES
(1, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:38:55', '2017-05-21 19:38:55'),
(2, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:39:11', '2017-05-21 19:39:11'),
(3, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:40:17', '2017-05-21 19:40:17'),
(4, 6, 2, 'Sesuatu banget ya homestay nya suka deh....', '2017-05-21 19:41:41', '2017-05-21 19:41:41');
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
...@@ -86,6 +96,7 @@ CREATE TABLE `homestay` ( ...@@ -86,6 +96,7 @@ CREATE TABLE `homestay` (
`jumlahKamar` int(11) NOT NULL, `jumlahKamar` int(11) NOT NULL,
`harga` double NOT NULL, `harga` double NOT NULL,
`fasilitas` text COLLATE utf8_unicode_ci, `fasilitas` text COLLATE utf8_unicode_ci,
`gambar` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL `updated_at` timestamp NULL DEFAULT NULL
...@@ -95,9 +106,9 @@ CREATE TABLE `homestay` ( ...@@ -95,9 +106,9 @@ CREATE TABLE `homestay` (
-- Dumping data untuk tabel `homestay` -- Dumping data untuk tabel `homestay`
-- --
INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `jumlahKamar`, `harga`, `fasilitas`, `status`, `created_at`, `updated_at`) VALUES INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `jumlahKamar`, `harga`, `fasilitas`, `gambar`, `status`, `created_at`, `updated_at`) VALUES
(9, 6, 'Test2', 'Palti Sinaga', 'Balige', 4, 150000, 'Kamar Mandi, Tempat Panggang, Dekat Pantai, Tempat karaoke, dan juga Tempat Dispenser\r\njadi ayo ke homestay kami guys!! :)', '----', '2017-05-08 02:51:28', '2017-05-08 02:51:28'), (9, 6, 'Palti Owner', 'Palti Sinaga', 'Balige', 4, 150000, ' ', 'download.jpg', '----', '2017-05-08 02:51:28', '2017-05-22 02:39:18'),
(10, 7, 'Testing Katu', 'Test', '--', 3, 150000, NULL, '----', '2017-05-14 23:26:59', '2017-05-14 23:26:59'); (10, 7, 'Testing Katu', 'Test', '--', 3, 150000, NULL, NULL, '----', '2017-05-14 23:26:59', '2017-05-14 23:26:59');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -120,8 +131,8 @@ CREATE TABLE `kamar` ( ...@@ -120,8 +131,8 @@ CREATE TABLE `kamar` (
-- --
INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES INSERT INTO `kamar` (`id`, `idHomestay`, `id_transaksi`, `nomor_kamar`, `jumlah_bed`, `fasilitas`, `gambar`) VALUES
(8, 9, 1, 1, 3, 'Bisi ini itu deh mbak and mas nya\r\nbisa rental tukang pijat\r\nbisa rental jutBus', '20150901_172049.jpg'), (8, 9, 1, 1, 3, 'wkwkw enak deh guys', 'big251436.jpg'),
(9, 9, 1, 2, 2, 'Ada Kipas Angin', 'big251436.jpg'), (9, 9, 1, 2, 2, 'adu adu adu', '20150901_172049.jpg'),
(10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'), (10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'),
(11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'), (11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'),
(12, 10, NULL, 1, 2, NULL, NULL), (12, 10, NULL, 1, 2, NULL, NULL),
...@@ -340,10 +351,10 @@ CREATE TABLE `users` ( ...@@ -340,10 +351,10 @@ CREATE TABLE `users` (
INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `foto`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `foto`, `role`, `remember_token`, `created_at`, `updated_at`) VALUES
(2, 'Juliper', 'admin', 'admin@del.ac.id', '$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe', 'gravatar.png', 'DinasPariwisata', '9BM2CvTAuR2myvSSUQtBRX8WGv3IA7jhWoct58IzU6Ql3LFz5n0UHxJ12EQl', '2017-04-22 02:30:14', '2017-05-20 02:06:31'), (2, 'Juliper', 'admin', 'admin@del.ac.id', '$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe', 'gravatar.png', 'DinasPariwisata', '9BM2CvTAuR2myvSSUQtBRX8WGv3IA7jhWoct58IzU6Ql3LFz5n0UHxJ12EQl', '2017-04-22 02:30:14', '2017-05-20 02:06:31'),
(5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', 'zO4PMlEptg34NQtoAFLTFsP4z5o23wUPP9UFgjCMaAfGJFtRcZ8uV1VxkZ44', '2017-04-29 08:07:38', '2017-05-21 07:22:03'), (5, 'Palti Sinaga', 'palti', 'palti1@gmail.com', '$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..', 'gravatar.png', 'Owner', 'NPhFExMYjdhcrgU74lg55v0862KlvCwYVLlXKdSZPVSmrAwWspyPgJuIGy2F', '2017-04-29 08:07:38', '2017-05-22 06:35:26'),
(6, 'Test', 'test', 'test@gmail.com', '$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW', 'gravatar.png', 'Owner', 'AJIJRslmncu87OVMkJydqFkT41QjzjsSPpaMgDdPbZuRINHhkQ7WU7xf1hM8', '2017-05-03 01:52:34', '2017-05-15 01:55:41'), (6, 'Test', 'test', 'test@gmail.com', '$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW', 'gravatar.png', 'Owner', 'AJIJRslmncu87OVMkJydqFkT41QjzjsSPpaMgDdPbZuRINHhkQ7WU7xf1hM8', '2017-05-03 01:52:34', '2017-05-15 01:55:41'),
(8, 'Testing', 'testing', 'testing@gmail.com', '$2y$10$tDOBcuve8EGi.k8.v9at5eYZRMRdOyXmqaahfwG2pwyMrbWd3B1Ra', 'gravatar.png', 'Owner', NULL, '2017-05-08 19:36:39', '2017-05-08 19:36:39'), (8, 'Testing', 'testing', 'testing@gmail.com', '$2y$10$tDOBcuve8EGi.k8.v9at5eYZRMRdOyXmqaahfwG2pwyMrbWd3B1Ra', 'gravatar.png', 'Owner', NULL, '2017-05-08 19:36:39', '2017-05-08 19:36:39'),
(14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'anonymous1.jpg', 'Customer', 's7ZenNwBJI5oEWJs9QCzIghmm8sX6dLpJeZvRoSwjC1vtFF7aULC93OwtALk', '2017-05-09 02:41:21', '2017-05-20 03:17:42'), (14, 'Lesa Lesuu ', 'lesa', 'lesa@gmail.com', '$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW', 'anonymous1.jpg', 'Customer', 'X86xStCPGExwPLzqmHcJ8VnnjzpskshUuAcklYJDGAhQVEandsce6e57MCjw', '2017-05-09 02:41:21', '2017-05-21 19:42:23'),
(15, 'Parhuta', 'hutahuta', 'huta@gmail.com', '$2y$10$S/thLiTQUbpZ6/utPKPwDe7JGoScFnebDK6Vt6sm0I.7CIoQ9HrWe', 'gravatar.png', 'Customer', NULL, '2017-05-09 03:12:55', '2017-05-09 03:12:55'); (15, 'Parhuta', 'hutahuta', 'huta@gmail.com', '$2y$10$S/thLiTQUbpZ6/utPKPwDe7JGoScFnebDK6Vt6sm0I.7CIoQ9HrWe', 'gravatar.png', 'Customer', NULL, '2017-05-09 03:12:55', '2017-05-09 03:12:55');
-- --
...@@ -473,7 +484,7 @@ ALTER TABLE `dinaspariwisata` ...@@ -473,7 +484,7 @@ ALTER TABLE `dinaspariwisata`
-- AUTO_INCREMENT for table `feedback` -- AUTO_INCREMENT for table `feedback`
-- --
ALTER TABLE `feedback` ALTER TABLE `feedback`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
-- --
-- AUTO_INCREMENT for table `homestay` -- AUTO_INCREMENT for table `homestay`
-- --
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<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" 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>
...@@ -51,4 +51,11 @@ ...@@ -51,4 +51,11 @@
</div> </div>
</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 @endsection
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!-- Banner --> <!-- Banner -->
<div class="banner agileits w3layouts"> <div class="banner agileits w3layouts">
<img src="{{asset('img/banner.jpg')}}" alt="Agileits W3layouts"> <img src="{{asset('img/banner.jpg')}}" alt="Agileits W3layouts">
<h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1> <h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1>
</div> </div>
<!-- //Banner --> <!-- //Banner -->
...@@ -22,14 +22,17 @@ ...@@ -22,14 +22,17 @@
<div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft"> <div class="col-md-3 col-sm-3 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required=""> <input class="date agileits w3layouts" id="datepicker1" name="tanggal" type="text" value=" Tanggal Check in" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required="">
</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 wow slideInLeft">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_hari" placeholder="Lama Menginap" required="" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_hari" placeholder="Lama Menginap" required="" style="background-color: white; color: black">
</div> </div>
<div class="col-md-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 wow slideInLeft">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" required="" style="background-color: white; color: black"> <input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" required="" style="background-color: white; color: black">
</div> </div>
<div class="book">
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div>
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</form> </form>
</div> </div>
...@@ -40,6 +43,7 @@ ...@@ -40,6 +43,7 @@
<br><br> <br><br>
<div class="details agilets w3layouts"> <div class="details agilets w3layouts">
<h2 style="margin-bottom: 10px;"> Daftar Booking </h2> <h2 style="margin-bottom: 10px;"> Daftar Booking </h2>
<div class="container"> <div class="container">
...@@ -47,22 +51,22 @@ ...@@ -47,22 +51,22 @@
<div class="container"> <div class="container">
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th> Nama Pemesan </th> <th> Nama Pemesan </th>
<th> Tanggal Mulai </th> <th> Tanggal Mulai </th>
<th> Tanggal Berakhir </th> <th> Tanggal Berakhir </th>
<th> Jumlah Kamar</th> <th> Jumlah Kamar</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@foreach($daftarBook as $a) @foreach($daftarBook as $a)
<tr> <tr>
<td>{{$a->nama_pemesan}}</td> <td>{{$a->nama_pemesan}}</td>
<td>{{$a->tanggal_mulai}}</td> <td>{{$a->tanggal_mulai}}</td>
<td>{{$a->tanggal_berakhir}}</td> <td>{{$a->tanggal_berakhir}}</td>
<td>{{$a->jumlah_kamar}}</td> <td>{{$a->jumlah_kamar}}</td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div> </div>
...@@ -89,7 +93,7 @@ ...@@ -89,7 +93,7 @@
<li> Alamat : {{$data->alamat}}</li> <li> Alamat : {{$data->alamat}}</li>
<li> Pekerjaan : {{$data->pekerjaan}}</li> <li> Pekerjaan : {{$data->pekerjaan}}</li>
<li> No Rekening : {{$data->noRekening}}</li> <li> No Rekening : {{$data->noRekening}}</li>
<li> Avilable Room : {{$avilable}}</li> <li> Avilable Room : {{$avilable}}</li>
</ul> </ul>
</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 wow slideInRight">
...@@ -98,19 +102,19 @@ ...@@ -98,19 +102,19 @@
<!-- <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 wow slideInLeft animated">
<!--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 wow slideInUp animated ">
<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> <div id="gambar">
@endforeach <img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;">
</div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div>
@endforeach
<div class="clearfix"></div>
<!--Homestay pict --> <!--Homestay pict -->
</div> </div>
</div> </div>
...@@ -123,22 +127,22 @@ ...@@ -123,22 +127,22 @@
<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 wow slideInLeft">
<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 slideInLeft" name="Name" placeholder="Name" required="">
<textarea name="feedback" class="wow agileits w3layouts slideInLeft" placeholder="Message" required=""></textarea> <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="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Kirim Feedback">
</form> </form>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- //Tooltip-Content --> <!-- //Tooltip-Content -->
<!-- Kritik & Saran --> <!-- Kritik & Saran -->
<script> <script>
$('#myModal').modal(''); $('#myModal').modal('');
</script> </script>
...@@ -146,38 +150,38 @@ ...@@ -146,38 +150,38 @@
<script src="{{asset('js/jquery-ui.js')}}"></script> <script src="{{asset('js/jquery-ui.js')}}"></script>
<script> <script>
document.getElementById('book').onclick = function(){ document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");}; swal("Good job!", "You clicked the button!", "success");};
</script> </script>
<script> <script>
document.querySelector(' ').onclick = function(){ document.querySelector(' ').onclick = function(){
swal("Good job!", "You clicked the button!", "success");}; swal("Good job!", "You clicked the button!", "success");};
</script> </script>
<script> <script>
document.querySelector('').onclick = function(){ document.querySelector('').onclick = function(){
swal({ swal({
title:"Are you sure?", title:"Are you sure?",
text: "You will not be able to recover this imaginary file!", text: "You will not be able to recover this imaginary file!",
type: "warning", type: "warning",
showCancelButton: true, showCancelButton: true,
confirmButtonColor: '#DD6B55', confirmButtonColor: '#DD6B55',
confirmButtonText: 'Yes, delete it!', confirmButtonText: 'Yes, delete it!',
cancelButtonText: "No, cancel plx!", cancelButtonText: "No, cancel plx!",
closeOnConfirm: false, closeOnConfirm: false,
closeOnCancel: false closeOnCancel: false
}, },
function(isConfirm){ function(isConfirm){
if (isConfirm){ if (isConfirm){
swal("Deleted!", "Your imaginary file has been deleted!", "success"); swal("Deleted!", "Your imaginary file has been deleted!", "success");
} else { } else {
swal("Cancelled", "Your imaginary file is safe :)", "error"); swal("Cancelled", "Your imaginary file is safe :)", "error");
} }
}); });
}; };
</script> </script>
......
...@@ -26,7 +26,20 @@ ...@@ -26,7 +26,20 @@
<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">
.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 -->
......
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