Commit 4246ad2a by Juliper
parents 11aaa75f b5ac6d0f
...@@ -1402,7 +1402,15 @@ figure.effect-zoe:hover ul.social-icons a:first-child { ...@@ -1402,7 +1402,15 @@ figure.effect-zoe:hover ul.social-icons a:first-child {
/*-- Cuisines-Page-Styling --*/ /*-- Cuisines-Page-Styling --*/
/*.cuisines img{
width: 100%;
height: 200px;
}*/
#gambar img{
width: 100%;
height: 200px;
}
/*-- Cuisines --*/ /*-- Cuisines --*/
......
@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:200px;"> </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
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<!-- Banner --> <!-- Banner -->
<div class="banner agileits w3layouts"> <div class="banner agileits w3layouts">
<img src="{{asset('img/banner.jpg')}}" alt="Agileits W3layouts"> <img src="{{asset('img/banner.jpg')}}" alt="Agileits W3layouts">
<h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1> <h1 class="wow agileits w3layouts fadeInDown">{{$data->namaHomestay}}</h1>
</div> </div>
<!-- //Banner --> <!-- //Banner -->
...@@ -94,21 +95,21 @@ ...@@ -94,21 +95,21 @@
<img src="{{asset('img/project-1.jpg')}}" alt="Agileits W3layouts"> <img src="{{asset('img/project-1.jpg')}}" alt="Agileits W3layouts">
</div> </div>
<!-- <div class="clearfix"></div> --> <!-- <div class="clearfix"></div> -->
<div class="container"> <div class="col-md-12 col-sm-12 gallery-grids agileits w3layouts gallery-grids1 wow slideInLeft animated">
<div class="details-grids agileits w3layouts">
<!--Homestay pict --> <!--Homestay pict -->
@foreach($dataKamar as $dk) @foreach($dataKamar as $dk)
<div class="col-md-3 col-sm-4 details-grid agileits w3layouts details-grid-1 wow slideInUp"> <div class="col-md-3 col-sm-3 details-grid agileits w3layouts details-grid-1 wow slideInUp animated ">
<div class=" details-grid1 agileits w3layouts">
<div class="details-grid-image agileits w3layouts"> <div id="gambar">
<img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;"> <img src="/img/{{$dk->gambar}}" alt="Agileits W3layouts" data-toggle="modal" data-target="#myModal" style="cursor: pointer;">
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</div>
</div> </div>
@endforeach @endforeach
<div class="clearfix"></div> <div class="clearfix"></div>
</div>
<!--Homestay pict --> <!--Homestay pict -->
</div> </div>
</div> </div>
......
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
<ul class="treeview-menu" style="display : none;"> <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('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('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> </ul>
</li> </li>
......
...@@ -94,3 +94,7 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay'); ...@@ -94,3 +94,7 @@ Route::put('listPengajuanHomestay/{id}','AdminController@AccPengajuanHomestay');
Route::resource('profile','ProfileController'); Route::resource('profile','ProfileController');
Route::get('reqFasilitas','OwnerController@requestFasilitas'); Route::get('reqFasilitas','OwnerController@requestFasilitas');
Route::post('reqFasilitas','OwnerController@storeRequest'); Route::post('reqFasilitas','OwnerController@storeRequest');
Route::get('UpdateHomestay', function(){
return view('adminlte::layouts.owner.UpdateHomestay');
});
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