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
d8d43c46
Commit
d8d43c46
authored
May 17, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view
parent
489733a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
132 additions
and
123 deletions
+132
-123
listOwner.blade.php
...s/views/vendor/adminlte/layouts/admin/listOwner.blade.php
+47
-54
listPengajuan.blade.php
...ews/vendor/adminlte/layouts/admin/listPengajuan.blade.php
+2
-2
listRequestFasilitas.blade.php
...dor/adminlte/layouts/admin/listRequestFasilitas.blade.php
+66
-67
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+17
-0
No files found.
resources/views/vendor/adminlte/layouts/admin/listOwner.blade.php
View file @
d8d43c46
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
{{
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 id="
app
">
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
info
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Owner</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Name</th>
<th>Username</th>
<th>Email</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->name}
}
</td>
<td>
{
{$a->username}
}
</td>
<td>
{
{$a->email}
}
</td>
</tr>
@endforeach
</table>
</div>
</div>
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PEMILIK HOMESTAY </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="
box
-
body
">
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Owner</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
</div>
@endsection
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Name</th>
<th>Username</th>
<th>Email</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->name}
}
</td>
<td>
{
{$a->username}
}
</td>
<td>
{
{$a->email}
}
</td>
</tr>
@endforeach
</table>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/admin/listPengajuan.blade.php
View file @
d8d43c46
...
...
@@ -7,7 +7,7 @@
@
section
(
'main-content'
)
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
">
Tambah Pemilik
Homestay </h3>
<h3 class="
box
-
title
">
Pengajuan
Homestay </h3>
</div>
<div class="
box
-
body
">
<div id="
app
">
...
...
@@ -24,7 +24,7 @@
<br>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan</span>
...
...
resources/views/vendor/adminlte/layouts/admin/listRequestFasilitas.blade.php
View file @
d8d43c46
...
...
@@ -6,81 +6,80 @@
@
section
(
'main-content'
)
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PENGAJUAN </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
@endif
<
div
class
="
box
box
-
warning
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> LIST PERMINTAAN FASILITAS </h3>
@if (count(
$errors
) > 0)
<div class="
alert
alert
-
danger
">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach (
$errors->all
() as
$error
)
<li>{{
$error
}}</li>
@endforeach
</ul>
</div>
<div class="
box
-
body
">
<br
>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
">
<div class="
info
-
box
bg
-
yellow
"
>
<span class="
info
-
box
-
icon
bg
-
yellow
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i></span
>
<div class="
info
-
box
-
content
">
<span class="
info
-
box
-
text
">List Pengajuan
</span>
<span class="
info
-
box
-
number
">
{
{$count}
}
</span
>
<
/div
>
<
!-- /.info-box-content --
>
@endif
</div
>
<div class="
box
-
body
">
<br
>
<div class="
col
-
md
-
4
col
-
sm
-
6
col
-
xs
-
12
"
>
<div class="
info
-
box
bg
-
yellow
">
<span class="
info
-
box
-
icon
"><i class="
ion
ion
-
ios
-
people
-
outline
"></i>
</span>
<div class="
info
-
box
-
content
"
>
<
span class="
info
-
box
-
text
">List Pengajuan</span
>
<
span class="
info
-
box
-
number
">
{
{$count}
}
</span
>
</div>
<!-- /.info-box -->
<!-- /.info-box
-content
-->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Nama Request Fasilitas</th>
<th>Deskripsi</th>
<th>Jumlah</th>
<th>Gambar</th>
<th colspan="
2
">Acction</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaRequestFasilitas}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->jumlah}
}
</td>
<td>@if(
$a->gambar
==null)
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
@else
<img alt="
User
Pic
" src="
img
/
{{
$data
->
gambar
}}
" class="
img
-
circle
img
-
responsive
">
@endif
</td>
@if(
$a->status
==1)
<td>Di Terima</td>
@elseif(
$a->status
==2)
<td>Ditolak</td>
@elseif(
$a->status
==0)
<!-- /.info-box -->
</div>
<br>
<table class="
table
table
-
striped
">
<tr>
<th>Pengaju</th>
<th>Nama Request Fasilitas</th>
<th>Deskripsi</th>
<th>Jumlah</th>
<th>Gambar</th>
<th colspan="
2
">Acction</th>
</tr>
@foreach(
$data
as
$a
)
<tr>
<td>
{
{$a->nama}
}
</td>
<td>
{
{$a->namaRequestFasilitas}
}
</td>
<td>
{
{$a->deskripsi}
}
</td>
<td>
{
{$a->jumlah}
}
</td>
<td>@if(
$a->gambar
==null)
<img alt="
Gambar
Tidak
Ada
" class="
img
-
circle
img
-
responsive
">
@else
<img alt="
User
Pic
" src="
img
/
{{
$data
->
gambar
}}
" class="
img
-
circle
img
-
responsive
">
@endif
</td>
@if(
$a->status
==1)
<td>Di Terima</td>
@elseif(
$a->status
==2)
<td>Ditolak</td>
@elseif(
$a->status
==0)
<td>
<form action="
{{
url
(
'requestFasilitas/'
.
$a
->
id
)}}
" method="
post
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
PUT
">
<button type="
submit
" class="
btn
btn
-
info
"><i class="
glyphicon
glyphicon
-
apple
"> Terima</i></button>
</form>
<td>
<form action="
{{
url
(
'requestFasilitas/'
.
$a
->
id
)}}
" method="
post
">
<form action="
{{
url
(
'requestFasilitas
s
/'
.
$a
->
id
)}}
" method="
post
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
PUT
">
<button type="
submit
" class="
btn
btn
-
info
"><i class="
glyphicon
glyphicon
-
apple
"> Terima
</i></button>
<button type="
submit
" class="
btn
btn
-
danger
"><i class="
glyphicon
glyphicon
-
trash
"> Tolak
</i></button>
</form>
<td>
<form action="
{{
url
(
'requestFasilitass/'
.
$a
->
id
)}}
" method="
post
">
{
{csrf_field()}
}
<input type="
hidden
" name="
_method
" value="
PUT
">
<button type="
submit
" class="
btn
btn
-
danger
"><i class="
glyphicon
glyphicon
-
trash
"> Tolak</i></button>
</form>
</td>
@endif
</tr>
@endforeach
</table>
</div>
</td>
@endif
</tr>
@endforeach
</table>
</div>
</div>
...
...
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
d8d43c46
...
...
@@ -26,11 +26,28 @@
<ul
class=
"sidebar-menu"
>
@if(Auth::user()->role =="DinasPariwisata")
<!-- Optionally, you can add icons to the links -->
<
<<<<<<
HEAD
<
li
><a
href=
"{{url('requestFasilitas')}}"
><i
class=
'fa fa-home'
></i>
<span>
Acc Request Fasilitas
</span></a></li>
<li><a
href=
"{{url('admin/create')}}"
><i
class=
'fa fa-plus'
></i>
<span>
Add Owner
</span></a></li>
<li><a
href=
"{{url('requestHomestay')}}"
><i
class=
'fa fa-list'
></i>
<span>
Acc Pengajuan Homestay
</span></a></li>
<li><a
href=
"{{url('listPemesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Data Pemesanan
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Daftar Owner
</span></a></li>
=======
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-list'
></i>
<span>
List Request
</span>
</a>
<ul
class=
"treeview-menu"
style=
"display: none;"
>
<li><a
href=
"{{url('requestFasilitas')}}"
><i
class=
'fa fa-television'
></i>
<span>
Acc Request Fasilitas
</span></a></li>
<li><a
href=
"{{url('requestHomestay')}}"
><i
class=
'fa fa-home'
></i>
<span>
Acc Pengajuan Homestay
</span></a></li>
</ul>
</li>
<li
class=
"treeview"
><a
href=
"#"
><i
class=
'fa fa-users'
></i>
<span>
Pemilik Homestay
</span></a>
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('admin/create')}}"
><i
class=
' fa-user-plus'
></i>
<span>
Tambah Pemilik Homestay
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pemilik Homestay
</span></a></li>
</ul>
</li>
<li><a
href=
"{{url('datapemesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Melihat Data Pemesanan
</span></a></li>
>>>>>>> view
@elseif(Auth::user()->role=="Owner")
<li><a
href=
"{{url('pesanan')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Pesanan
</span></a></li>
...
...
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