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
4246ad2a
Commit
4246ad2a
authored
May 22, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.del.ac.id/juliper19/pa2d4ti06
parents
11aaa75f
b5ac6d0f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
108 additions
and
8 deletions
+108
-8
style.css
public/css/style.css
+8
-0
UpdateHomestay.blade.php
...ws/vendor/adminlte/layouts/owner/UpdateHomestay.blade.php
+86
-0
Homestay.blade.php
...es/views/vendor/adminlte/layouts/pages/Homestay.blade.php
+9
-8
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+1
-0
web.php
routes/web.php
+4
-0
No files found.
public/css/style.css
View file @
4246ad2a
...
...
@@ -1402,7 +1402,15 @@ figure.effect-zoe:hover ul.social-icons a:first-child {
/*-- Cuisines-Page-Styling --*/
/*.cuisines img{
width: 100%;
height: 200px;
}*/
#gambar
img
{
width
:
100%
;
height
:
200px
;
}
/*-- Cuisines --*/
...
...
resources/views/vendor/adminlte/layouts/owner/UpdateHomestay.blade.php
0 → 100644
View file @
4246ad2a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
box
box
-
primary
">
<div class="
box
-
header
with
-
border
">
<h3 class="
box
-
title
"> REQUEST 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>
@if(session()->has('message'))
<div class="
alert
alert
-
info
">
{
{session()->get('message')}
}
</div>
@endif
@endif
</div>
<div class="
box
-
body
">
<form action="
{{
url
(
'reqFasilitas'
)
}}
" method="
post
" enctype="
multipart
/
form
-
data
">
<input type="
hidden
" name="
_token
" value="
{{
csrf_token
()
}}
">
<div class="
form
-
group
">
<label> Nama Homestay </label>
<div class="
input
-
group
">
<div class="
input
-
group
-
addon
">
<i class="
fa
fa
-
bookmark
"></i>
</div>
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Request
Fasilitas
" name="
namaRequestFasilitas
"/>
</div>
</div>
<div class="
form
-
group
">
<label> Alamat Homestay </label>
<div class="
input
-
group
">
<div class="
input
-
group
-
addon
">
<i class="
fa
fa
-
building
"></i>
</div>
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Request
Fasilitas
" name="
namaRequestFasilitas
"/>
</div>
</div>
<div class="
form
-
group
">
<label> Harga Homestay </label>
<div class="
input
-
group
">
<div class="
input
-
group
-
addon
">
<i class="
fa
fa
-
dollar
"></i>
</div>
<input type="
text
" class="
form
-
control
" placeholder="
Nama
Request
Fasilitas
" name="
namaRequestFasilitas
"/>
</div>
</div>
<div class="
form
-
group
">
<label> fasilitas </label>
<div class="
input
-
group
">
<div class="
input
-
group
-
addon
">
<i class="
fa
fa
-
newspaper
-
o
"></i>
</div>
<textarea class="
form
-
control
" placeholder="
Deskripsi
" name="
deskripsi
" style="
height
:
200
px
;
"> </textarea>
</div>
</div>
<div class="
form
-
group
">
<label>Foto</label>
<div class="
input
-
group
">
<input type="
file
" name="
gambar
" id="
foto
" class="
form
-
corol
"><br>
</div>
</div>
<div class="
form
-
group
" align="
right
" style="
color
:
black
;
">
<button type="
submit
" class="
btn
btn
-
primary
">Update</button>
</div>
</form>
</div>
</div>
@endsection
resources/views/vendor/adminlte/layouts/pages/Homestay.blade.php
View file @
4246ad2a
...
...
@@ -4,6 +4,7 @@
<!--
Banner
-->
<
div
class
="
banner
agileits
w3layouts
">
<img src="
{{
asset
(
'img/banner.jpg'
)}}
" alt="
Agileits
W3layouts
">
<h1 class="
wow
agileits
w3layouts
fadeInDown
">
{
{$data->namaHomestay}
}
</h1>
</div>
<!-- //Banner -->
...
...
@@ -94,21 +95,21 @@
<img src="
{{
asset
(
'img/project-1.jpg'
)}}
" alt="
Agileits
W3layouts
">
</div>
<!-- <div class="
clearfix
"></div> -->
<div class="
co
ntainer
">
<div class="
details
-
grids
agileits
w3layouts
">
<div class="
co
l
-
md
-
12
col
-
sm
-
12
gallery
-
grids
agileits
w3layouts
gallery
-
grids1
wow
slideInLeft
animated
">
<!--Homestay pict -->
@foreach(
$dataKamar
as
$dk
)
<div class="
col
-
md
-
3
col
-
sm
-
4
details
-
grid
agileits
w3layouts
details
-
grid
-
1
wow
slideInUp
">
<div class="
details
-
grid1
agileits
w3layouts
">
<div class="
details
-
grid
-
image
agileits
w3layouts
">
<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
>
<
div
class
="
clearfix
"></div>
</div>
</div>
@endforeach
<div class="
clearfix
"></div>
</div>
<!--Homestay pict -->
</div>
</div>
...
...
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
4246ad2a
...
...
@@ -54,6 +54,7 @@
<ul
class=
"treeview-menu"
style=
"display : none;"
>
<li><a
href=
"{{url('daftarKamar')}}"
><i
class=
'fa fa-list'
></i>
<span>
Daftar Kamar
</span></a></li>
<li><a
href=
"{{url('pengajuanHomestay')}}"
><i
class=
'fa fa-external-link-square'
></i>
<span>
Pengajuan Homestay
</span></a></li>
<li><a
href=
"{{url('UpdateHomestay')}}"
><i
class=
'fa fa-list'
></i>
<span>
Update Homestay
</span></a></li>
</ul>
</li>
...
...
routes/web.php
View file @
4246ad2a
...
...
@@ -94,3 +94,7 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route
::
resource
(
'profile'
,
'ProfileController'
);
Route
::
get
(
'reqFasilitas'
,
'OwnerController@requestFasilitas'
);
Route
::
post
(
'reqFasilitas'
,
'OwnerController@storeRequest'
);
Route
::
get
(
'UpdateHomestay'
,
function
(){
return
view
(
'adminlte::layouts.owner.UpdateHomestay'
);
});
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