Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
pa2d4ti06
Commits
6d9bdef2
Commit
6d9bdef2
authored
May 10, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3e7254b7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
15 deletions
+19
-15
p2d4ti06_test.sql
p2d4ti06_test.sql
+15
-15
style.css
public/css/style.css
+4
-0
Homestay.blade.php
...es/views/vendor/adminlte/layouts/pages/Homestay.blade.php
+0
-0
No files found.
p2d4ti06_test.sql
View file @
6d9bdef2
...
...
@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time:
09 Mei 2017 pada 14.35
-- Generation Time:
10 Mei 2017 pada 06.20
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
...
...
@@ -65,11 +65,12 @@ CREATE TABLE `feedback` (
CREATE
TABLE
`homestay`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`idPemilik`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`nama
Homestay
`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`owner`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`alamat`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`jumlahKamar`
int
(
11
)
NOT
NULL
,
`harga`
double
NOT
NULL
,
`fasilitas`
text
COLLATE
utf8_unicode_ci
NOT
NULL
,
`status`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
...
...
@@ -79,8 +80,8 @@ CREATE TABLE `homestay` (
-- Dumping data untuk tabel `homestay`
--
INSERT
INTO
`homestay`
(
`id`
,
`idPemilik`
,
`nama
`
,
`owner`
,
`alamat`
,
`jumlahKamar`
,
`harga
`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
9
,
6
,
'Test2'
,
'Palti Sinaga'
,
'Balige'
,
4
,
150000
,
'----'
,
'2017-05-08 02:51:28'
,
'2017-05-08 02:51:28'
);
INSERT
INTO
`homestay`
(
`id`
,
`idPemilik`
,
`nama
Homestay`
,
`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\n
jadi ayo ke homestay kami guys!! :)'
,
'
----'
,
'2017-05-08 02:51:28'
,
'2017-05-08 02:51:28'
);
-- --------------------------------------------------------
...
...
@@ -173,7 +174,7 @@ CREATE TABLE `password_resets` (
--
CREATE
TABLE
`pelanggan`
(
`id
_Pelanggan
`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_Akun`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`alamat`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
...
...
@@ -188,9 +189,8 @@ CREATE TABLE `pelanggan` (
-- Dumping data untuk tabel `pelanggan`
--
INSERT
INTO
`pelanggan`
(
`id_Pelanggan`
,
`id_Akun`
,
`nama`
,
`alamat`
,
`noTelepon`
,
`pekerjaan`
,
`foto`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
12
,
'LesaTap'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 02:32:54'
,
'2017-05-09 02:32:54'
),
(
3
,
14
,
'LesaTap'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 02:41:21'
,
'2017-05-09 02:41:21'
),
INSERT
INTO
`pelanggan`
(
`id`
,
`id_Akun`
,
`nama`
,
`alamat`
,
`noTelepon`
,
`pekerjaan`
,
`foto`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
14
,
'LesaTap'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 02:32:54'
,
'2017-05-09 02:32:54'
),
(
4
,
15
,
'Parhuta'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 03:12:56'
,
'2017-05-09 03:12:56'
);
-- --------------------------------------------------------
...
...
@@ -329,7 +329,7 @@ INSERT INTO `users` (`id`, `name`, `username`, `email`, `password`, `foto`, `rol
(
5
,
'Palti Sinaga'
,
'palti'
,
'palti1@gmail.com'
,
'$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..'
,
'gravatar.png'
,
'Owner'
,
'lLUKpdXPxtKUfytdETV1FqFLiePBg3OmILtEnX0RzSKrnvGk93EMeR728h3t'
,
'2017-04-29 08:07:38'
,
'2017-05-03 01:50:37'
),
(
6
,
'Test'
,
'test'
,
'test@gmail.com'
,
'$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW'
,
'gravatar.png'
,
'Owner'
,
'nRQV1WwDDMD9s6Le9v12vhYqN5iXLIr9hNRRU0d1Ta5Z5pCvhGV3wUXwXrhp'
,
'2017-05-03 01:52:34'
,
'2017-05-08 19:26:52'
),
(
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
,
'LesaTap'
,
'lesa'
,
'lesa@gmail.com'
,
'$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW'
,
'gravatar.png'
,
'Customer'
,
'
EOtk4JrlBUKgZwUD5hJyUTHZxsUE81TXtnfTCr02GboC0ZhgFP9SIZ1aldyc'
,
'2017-05-09 02:41:21'
,
'2017-05-09 03:12:00
'
),
(
14
,
'LesaTap'
,
'lesa'
,
'lesa@gmail.com'
,
'$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW'
,
'gravatar.png'
,
'Customer'
,
'
z4fxJbpU46WsDyE6S9L3Rn38e2E0U3iYl9NRLiAKFf3ZJiXhcZDQvwxA3izx'
,
'2017-05-09 02:41:21'
,
'2017-05-09 06:30:02
'
),
(
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'
);
--
...
...
@@ -355,11 +355,11 @@ ALTER TABLE `feedback`
--
ALTER
TABLE
`homestay`
ADD
PRIMARY
KEY
(
`id`
),
ADD
UNIQUE
KEY
`nama`
(
`nama`
),
ADD
UNIQUE
KEY
`nama`
(
`nama
Homestay
`
),
ADD
UNIQUE
KEY
`id_owner`
(
`owner`
),
ADD
KEY
`id_owner_2`
(
`owner`
),
ADD
KEY
`idPemilik`
(
`idPemilik`
),
ADD
KEY
`nama_2`
(
`nama`
);
ADD
KEY
`nama_2`
(
`nama
Homestay
`
);
--
-- Indexes for table `kamar`
...
...
@@ -392,7 +392,7 @@ ALTER TABLE `password_resets`
-- Indexes for table `pelanggan`
--
ALTER
TABLE
`pelanggan`
ADD
PRIMARY
KEY
(
`id
_Pelanggan
`
);
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `pembayaran`
...
...
@@ -479,7 +479,7 @@ ALTER TABLE `migrations`
-- AUTO_INCREMENT for table `pelanggan`
--
ALTER
TABLE
`pelanggan`
MODIFY
`id
_Pelanggan
`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
--
-- AUTO_INCREMENT for table `pemesanan`
--
...
...
@@ -513,7 +513,7 @@ ALTER TABLE `users`
-- Ketidakleluasaan untuk tabel `feedback`
--
ALTER
TABLE
`feedback`
ADD
CONSTRAINT
`feedback_ibfk_1`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id
_Pelanggan
`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`feedback_ibfk_1`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`feedback_ibfk_2`
FOREIGN
KEY
(
`id_pemilikHomestay`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
...
...
@@ -540,7 +540,7 @@ ALTER TABLE `pembayaran`
-- Ketidakleluasaan untuk tabel `pemesanan`
--
ALTER
TABLE
`pemesanan`
ADD
CONSTRAINT
`pemesanan_ibfk_2`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id
_Pelanggan
`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
ADD
CONSTRAINT
`pemesanan_ibfk_2`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `pemilikhomestay`
...
...
public/css/style.css
View file @
6d9bdef2
...
...
@@ -414,6 +414,10 @@ ul.callbacks_tabs li {
background-color
:
#1cc7d8
;
}
.dropdown-menu
>
li
.user-header
img
{
height
:
60px
;
width
:
60px
;
}
.dropdown-menu
>
.user-footer
{
background-color
:
#f9f9f9
;
...
...
resources/views/vendor/adminlte/layouts/pages/Homestay.blade.php
View file @
6d9bdef2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment