Commit 637d49cd by Palti Sinaga

abc

parent 65128518
......@@ -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 { left:10px; width: 20px;
height: 20px;
background: url(../images/cal1.png) no-repeat 0px 100%;
background: url(../img/cal1.png) no-repeat 0px 100%;
cursor:pointer;}
.ui-datepicker .ui-datepicker-next {
right: 10px;
width: 20px;
height: 20px;
background: url(../images/cal.png) no-repeat 0px 0px;
background: url(../img/cal.png) no-repeat 0px 0px;
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; }
......
......@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- 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
-- PHP Version: 7.0.9
......@@ -71,6 +71,16 @@ CREATE TABLE `feedback` (
`updated_at` timestamp NULL DEFAULT NULL
) 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` (
`jumlahKamar` int(11) NOT NULL,
`harga` double NOT NULL,
`fasilitas` text COLLATE utf8_unicode_ci,
`gambar` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
......@@ -95,9 +106,9 @@ CREATE TABLE `homestay` (
-- Dumping data untuk tabel `homestay`
--
INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `jumlahKamar`, `harga`, `fasilitas`, `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'),
(10, 7, 'Testing Katu', 'Test', '--', 3, 150000, NULL, '----', '2017-05-14 23:26:59', '2017-05-14 23:26:59');
INSERT INTO `homestay` (`id`, `idPemilik`, `namaHomestay`, `owner`, `alamat`, `jumlahKamar`, `harga`, `fasilitas`, `gambar`, `status`, `created_at`, `updated_at`) VALUES
(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, NULL, '----', '2017-05-14 23:26:59', '2017-05-14 23:26:59');
-- --------------------------------------------------------
......@@ -120,8 +131,8 @@ CREATE TABLE `kamar` (
--
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'),
(9, 9, 1, 2, 2, 'Ada Kipas Angin', 'big251436.jpg'),
(8, 9, 1, 1, 3, 'wkwkw enak deh guys', 'big251436.jpg'),
(9, 9, 1, 2, 2, 'adu adu adu', '20150901_172049.jpg'),
(10, 9, 1, 3, 1, 'Ada Speed Boat', 'bougenville4.JPG'),
(11, 9, NULL, 4, 2, 'Ada SpringBed', 'wisma-intan-kamar-tidur.jpg'),
(12, 10, NULL, 1, 2, NULL, NULL),
......@@ -340,10 +351,10 @@ CREATE TABLE `users` (
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'),
(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'),
(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');
--
......@@ -473,7 +484,7 @@ ALTER TABLE `dinaspariwisata`
-- AUTO_INCREMENT for 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`
--
......
......@@ -40,7 +40,7 @@
<td>
<form action="{{url('batalkanPemesanan/'.$a->id)}}" method="POST">
{{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>
</form>
</td>
......@@ -51,4 +51,11 @@
</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
......@@ -28,8 +28,11 @@
<div class="col-md-2 col-sm-2 agileits w3layouts contact-grid contact-grid-2 wow slideInLeft">
<input type="text" class="text wow agileits w3layouts slideInLeft" name="jumlah_kamar" placeholder="Jumlah Kamar" required="" style="background-color: white; color: black">
</div>
<div class="book">
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Book Now">
</div>
</form>
</div>
......@@ -40,6 +43,7 @@
<br><br>
<div class="details agilets w3layouts">
<h2 style="margin-bottom: 10px;"> Daftar Booking </h2>
<div class="container">
......@@ -129,7 +133,7 @@
<input type="submit" class="more_btn wow agileits w3layouts slideInLeft" value="Kirim Feedback">
</form>
</div>
</div>
</div>
</div>
</div>
</div>
......@@ -138,7 +142,7 @@
<!-- //Tooltip-Content -->
<!-- Kritik & Saran -->
<script>
$('#myModal').modal('');
$('#myModal').modal('');
</script>
......@@ -146,7 +150,7 @@
<script src="{{asset('js/jquery-ui.js')}}"></script>
<script>
document.getElementById('book').onclick = function(){
document.getElementById('book').onclick = function(){
swal("Good job!", "You clicked the button!", "success");};
</script>
......
......@@ -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.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 -->
......
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