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
3ebac740
Commit
3ebac740
authored
7 years ago
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pelanggan onggoing
parent
d23344dd
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
131 additions
and
118 deletions
+131
-118
AdminController.php
app/Http/Controllers/AdminController.php
+1
-1
LoginController.php
app/Http/Controllers/Auth/LoginController.php
+4
-0
RegisterController.php
app/Http/Controllers/Auth/RegisterController.php
+1
-1
User.php
app/User.php
+1
-1
all.css
public/css/all.css
+0
-111
style.css
public/css/style.css
+115
-0
register.blade.php
resources/views/vendor/adminlte/auth/register.blade.php
+4
-0
master.blade.php
resources/views/vendor/adminlte/layouts/master.blade.php
+1
-1
htmlheader.blade.php
...s/vendor/adminlte/layouts/partialweb/htmlheader.blade.php
+1
-0
mainheader.blade.php
...s/vendor/adminlte/layouts/partialweb/mainheader.blade.php
+2
-2
web.php
routes/web.php
+1
-1
No files found.
app/Http/Controllers/AdminController.php
View file @
3ebac740
...
...
@@ -119,7 +119,7 @@ class AdminController extends Controller
->
join
(
'requestfasilitas'
,
'pemilikhomestay.id'
,
'='
,
'requestfasilitas.id_pemilik_homestay'
)
->
select
(
'pemilikhomestay.nama'
,
'requestfasilitas.*'
)
->
get
();
//dd('masuk agan');
$count
=
$data
->
count
();
return
view
(
'adminlte::layouts.admin.listRequestFasilitas'
)
->
with
(
'data'
,
$data
)
->
with
(
'count'
,
$count
);
...
...
This diff is collapsed.
Click to expand it.
app/Http/Controllers/Auth/LoginController.php
View file @
3ebac740
...
...
@@ -60,6 +60,10 @@ class LoginController extends Controller
else
if
(
Auth
::
user
()
->
role
==
'Owner'
){
return
redirect
()
->
intended
(
'/owner'
);
}
else
if
(
Auth
::
user
()
->
role
==
'Customer'
){
//dd("masuk gan");
return
redirect
(
'/'
);
}
else
{
$validator
->
errors
()
->
add
(
'password'
,
'Password tidak benar'
);
return
redirect
(
'/login'
)
...
...
This diff is collapsed.
Click to expand it.
app/Http/Controllers/Auth/RegisterController.php
View file @
3ebac740
...
...
@@ -82,7 +82,7 @@ class RegisterController extends Controller
'username'
=>
$data
[
'username'
],
'email'
=>
$data
[
'email'
],
'password'
=>
bcrypt
(
$data
[
'password'
]),
'role'
=>
$data
[
'role'
]
,
'role'
=>
'Customer'
,
]);
}
}
This diff is collapsed.
Click to expand it.
app/User.php
View file @
3ebac740
...
...
@@ -17,7 +17,7 @@ class User extends Authenticatable
*/
protected
$fillable
=
[
'name'
,
'email'
,
'password'
,
'name'
,
'email'
,
'password'
,
'username'
,
'role'
];
/**
...
...
This diff is collapsed.
Click to expand it.
public/css/all.css
View file @
3ebac740
...
...
@@ -3128,117 +3128,6 @@ tbody.collapse.in {
.dropdown-toggle
:focus
{
outline
:
0
;
}
.dropdown-menu
{
position
:
absolute
;
top
:
100%
;
left
:
0
;
z-index
:
1000
;
display
:
none
;
float
:
left
;
min-width
:
160px
;
padding
:
5px
0
;
margin
:
2px
0
0
;
list-style
:
none
;
font-size
:
14px
;
text-align
:
left
;
background-color
:
#fff
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
border-radius
:
4px
;
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
background-clip
:
padding-box
;
}
.dropdown-menu.pull-right
{
right
:
0
;
left
:
auto
;
}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
10px
0
;
overflow
:
hidden
;
background-color
:
#e5e5e5
;
}
.dropdown-menu
>
li
>
a
{
display
:
block
;
padding
:
3px
20px
;
clear
:
both
;
font-weight
:
normal
;
line-height
:
1.6
;
color
:
#333333
;
white-space
:
nowrap
;
}
.dropdown-menu
>
li
>
a
:hover
,
.dropdown-menu
>
li
>
a
:focus
{
text-decoration
:
none
;
color
:
#262626
;
background-color
:
#f5f5f5
;
}
.dropdown-menu
>
.active
>
a
,
.dropdown-menu
>
.active
>
a
:hover
,
.dropdown-menu
>
.active
>
a
:focus
{
color
:
#fff
;
text-decoration
:
none
;
outline
:
0
;
background-color
:
#3097D1
;
}
.dropdown-menu
>
.disabled
>
a
,
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:focus
{
color
:
#777777
;
}
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:focus
{
text-decoration
:
none
;
background-color
:
transparent
;
background-image
:
none
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
enabled
=
false
);
cursor
:
not-allowed
;
}
.open
>
.dropdown-menu
{
display
:
block
;
}
.open
>
a
{
outline
:
0
;
}
.dropdown-menu-right
{
left
:
auto
;
right
:
0
;
}
.dropdown-menu-left
{
left
:
0
;
right
:
auto
;
}
.dropdown-header
{
display
:
block
;
padding
:
3px
20px
;
font-size
:
12px
;
line-height
:
1.6
;
color
:
#777777
;
white-space
:
nowrap
;
}
.dropdown-backdrop
{
position
:
fixed
;
left
:
0
;
right
:
0
;
bottom
:
0
;
top
:
0
;
z-index
:
990
;
}
.pull-right
>
.dropdown-menu
{
right
:
0
;
left
:
auto
;
}
.dropup
.caret
,
.navbar-fixed-bottom
.dropdown
.caret
{
border-top
:
0
;
border-bottom
:
4px
dashed
;
border-bottom
:
4px
solid
\
9
;
content
:
""
;
}
.dropup
.dropdown-menu
,
.navbar-fixed-bottom
.dropdown
.dropdown-menu
{
top
:
auto
;
bottom
:
100%
;
margin-bottom
:
2px
;
}
@media
(
min-width
:
768px
)
{
.navbar-right
.dropdown-menu
{
right
:
0
;
left
:
auto
;
}
.navbar-right
.dropdown-menu-left
{
left
:
0
;
right
:
auto
;
}
}
.btn-group
,
.btn-group-vertical
{
...
...
This diff is collapsed.
Click to expand it.
public/css/style.css
View file @
3ebac740
...
...
@@ -387,6 +387,119 @@ ul.callbacks_tabs li {
/*-- //Services --*/
.dropdown-menu
{
position
:
absolute
;
top
:
100%
;
left
:
0
;
z-index
:
1000
;
display
:
none
;
float
:
left
;
min-width
:
160px
;
padding
:
5px
0
;
margin
:
2px
0
0
;
list-style
:
none
;
font-size
:
14px
;
text-align
:
left
;
background-color
:
#23c8d9
;
border
:
1px
solid
#ccc
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.15
);
border-radius
:
4px
;
box-shadow
:
0
6px
12px
rgba
(
0
,
0
,
0
,
0.175
);
background-clip
:
padding-box
;
}
.dropdown-menu.pull-right
{
right
:
0
;
left
:
auto
;
}
.dropdown-menu
.divider
{
height
:
1px
;
margin
:
10px
0
;
overflow
:
hidden
;
background-color
:
#e5e5e5
;
}
.dropdown-menu
>
li
>
a
{
display
:
block
;
padding
:
3px
20px
;
clear
:
both
;
font-weight
:
normal
;
line-height
:
1.6
;
color
:
#333333
;
white-space
:
nowrap
;
}
.dropdown-menu
>
li
>
a
:hover
,
.dropdown-menu
>
li
>
a
:focus
{
text-decoration
:
none
;
color
:
#262626
;
background-color
:
#f5f5f5
;
}
.dropdown-menu
>
.active
>
a
,
.dropdown-menu
>
.active
>
a
:hover
,
.dropdown-menu
>
.active
>
a
:focus
{
color
:
#fff
;
text-decoration
:
none
;
outline
:
0
;
background-color
:
#3097D1
;
}
.dropdown-menu
>
.disabled
>
a
,
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:focus
{
color
:
#777777
;
}
.dropdown-menu
>
.disabled
>
a
:hover
,
.dropdown-menu
>
.disabled
>
a
:focus
{
text-decoration
:
none
;
background-color
:
transparent
;
background-image
:
none
;
filter
:
progid
:
DXImageTransform
.
Microsoft
.
gradient
(
enabled
=
false
);
cursor
:
not-allowed
;
}
.open
>
.dropdown-menu
{
display
:
block
;
}
.open
>
a
{
outline
:
0
;
}
.dropdown-menu-right
{
left
:
auto
;
right
:
0
;
}
.dropdown-menu-left
{
left
:
0
;
right
:
auto
;
}
.dropdown-header
{
display
:
block
;
padding
:
3px
20px
;
font-size
:
12px
;
line-height
:
1.6
;
color
:
#777777
;
white-space
:
nowrap
;
}
.dropdown-backdrop
{
position
:
fixed
;
left
:
0
;
right
:
0
;
bottom
:
0
;
top
:
0
;
z-index
:
990
;
}
.pull-right
>
.dropdown-menu
{
right
:
0
;
left
:
auto
;
}
.dropup
.caret
,
.navbar-fixed-bottom
.dropdown
.caret
{
border-top
:
0
;
border-bottom
:
4px
dashed
;
border-bottom
:
4px
solid
\
9
;
content
:
""
;
}
.dropup
.dropdown-menu
,
.navbar-fixed-bottom
.dropdown
.dropdown-menu
{
top
:
auto
;
bottom
:
100%
;
margin-bottom
:
2px
;
}
@media
(
min-width
:
768px
)
{
.navbar-right
.dropdown-menu
{
right
:
0
;
left
:
auto
;
}
.navbar-right
.dropdown-menu-left
{
left
:
0
;
right
:
auto
;
}
}
/*-- Awards --*/
...
...
@@ -4581,4 +4694,5 @@ p.contact-p {
/*-- //Responsive Code --*/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/auth/register.blade.php
View file @
3ebac740
...
...
@@ -33,6 +33,10 @@
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
</div>
<div class="
form
-
group
has
-
feedback
">
<input type="
text
" class="
form
-
control
" placeholder="
username
" name="
username
" value="
{{
old
(
'username'
)
}}
"/>
<span class="
glyphicon
glyphicon
-
user
form
-
control
-
feedback
"></span>
</div>
<div class="
form
-
group
has
-
feedback
">
<input type="
email
" class="
form
-
control
" placeholder="
{{
trans
(
'adminlte_lang::message.email'
)
}}
" name="
email
" value="
{{
old
(
'email'
)
}}
"/>
<span class="
glyphicon
glyphicon
-
envelope
form
-
control
-
feedback
"></span>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/master.blade.php
View file @
3ebac740
...
...
@@ -11,7 +11,7 @@ scratch. This page gets rid of all links and provides the needed markup only.
<body>
@include('adminlte::layouts.partialweb.
.
mainheader')
@include('adminlte::layouts.partialweb.mainheader')
@yield('main-content')
...
...
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/partialweb/htmlheader.blade.php
View file @
3ebac740
...
...
@@ -15,6 +15,7 @@
<!-- Index-Page-CSS -->
<link
rel=
"stylesheet"
href=
"css/style.css"
type=
"text/css"
media=
"all"
>
<!-- Animate.CSS -->
<link
rel=
"stylesheet"
href=
"css/animate.css"
type=
"text/css"
media=
"all"
>
<!-- Tanggal -->
<link
rel=
"stylesheet"
href=
"css/jquery-ui.css"
type=
"text/css"
media=
"all"
>
<!-- All css -->
<link
href=
"{{ asset('/css/all.css') }}"
rel=
"stylesheet"
type=
"text/css"
/>
<!-- //Custom-Stylesheet-Links -->
<!-- Fonts -->
...
...
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/partialweb/mainheader.blade.php
View file @
3ebac740
...
...
@@ -27,14 +27,14 @@
<!-- 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"
/>
{{--
<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. -->
<span
class=
"hidden-xs"
>
{{ Auth::user()->name }}
</span>
</a>
<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"
/>
{{--
<img
src=
"{{ Gravatar::get($user->email) }}"
class=
"img-circle"
alt=
"User Image"
/>
--}}
<p>
{{ Auth::user()->name }}
<small>
{{ trans('adminlte_lang::message.login') }}
</small>
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
3ebac740
...
...
@@ -56,7 +56,7 @@ Route::get('requestFasilitas','AdminController@RequestFasilitas');
Route
::
get
(
'pengajuanHomestay'
,
'OwnerController@pengajuan'
);
Route
::
post
(
'pengajuanHomestay'
,
'OwnerController@storePengajuan'
);
Route
::
get
(
'listPengajuan'
,
'OwnerController@listPengajuan'
);
Route
::
get
(
'listPengajuan
Homestay
'
,
'OwnerController@listPengajuanFasilitas'
);
Route
::
get
(
'listPengajuan
Fasilitas
'
,
'OwnerController@listPengajuanFasilitas'
);
Route
::
put
(
'requestFasilitas/{id}'
,
'AdminController@UpdateRequestFasilitas'
);
Route
::
put
(
'requestFasilitass/{id}'
,
'AdminController@UpdateRequestFasilitass'
);
Route
::
put
(
'listPengajuanHomestay/{id}'
,
'AdminController@AccPengajuanHomestay'
);
...
...
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