Commit 42efb72e by Palti Sinaga
parents c2de8842 b5f4ddf5
......@@ -83,6 +83,7 @@ class AdminController extends Controller
$user->email = $data['email'];
$user->password = bcrypt($data['password']);
$user->role = 'Owner';
$user->foto = 'gravatar.png';
$user->save();
$dataPemilik = DB::table('users')
......
......@@ -45,7 +45,7 @@
</tr>
@foreach($data as $a)
<tr>
<td>{{$a->namaHomestay}}</td>
<td>{{$a->nama_homestay}}</td>
<td>{{$a->owner}}</td>
<td>{{$a->nama_pemesan}}</td>
<td>{{$a->tanggal_mulai}}</td>
......
......@@ -3,7 +3,7 @@
@section('main-content')
<!-- Banner -->
<div class="banner agileits w3layouts">
<img src="/img/danautoba.jpg" alt="Agileits W3layouts" style="max-height:500px; width:">
<img src="/img/danautoba.jpg" alt="Agileits W3layouts" style="max-height:500px;">
<h1 class="wow agileits w3layouts fadeInDown">Langkah memesan Homestay Lumban Bulbul
</h1>
......@@ -13,14 +13,14 @@
<!-- Booking -->
<div class="details agileits w3layouts" style="padding:10px; " >
<div class="container" style="margin-top:10px; background-color:white; width:950px; margin-left:auto; margin-right:auto; margin-top:20px; padding-top: 30px;padding-bottom:10px; box-shadow:2px 2px 5px 0px #bfbebe">
<img style="" src="/img/howto/how1.PNG" alt="Agileits W3layouts">
<img style="" src="/img/howto/how1.png" alt="Agileits W3layouts">
<ol class="list-group agileits w3layouts" style="margin-left:20px;">
<li class="list-group-item1 agileits w3layouts">Pertama, kamu harus login terlebih dahulu</li>
<li class="list-group-item1 agileits w3layouts">Kemudian Klik Menu Daftar Homestay</li>
</ol>
</div>
<div class="container" style="margin-top:10px; background-color:white; width:950px; margin-left:auto; margin-right:auto; margin-top:20px; padding-top: 30px;padding-bottom:10px;box-shadow:2px 2px 5px 0px #bfbebe">
<img style="" src="/img/howto/how2.PNG" alt="Agileits W3layouts">
<img style="" src="/img/howto/how2.png" alt="Agileits W3layouts">
<ol class="list-group agileits w3layouts" style="margin-left:20px;">
<li class="list-group-item1 agileits w3layouts">Pilih homestay yang anda inginkan</li>
<li class="list-group-item1 agileits w3layouts">Klik Lihat </li
......
......@@ -60,14 +60,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"/>
<!-- 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="/img/{{Auth::user()->foto}}" class="img-circle" alt="User Image" />
<p>
{{ Auth::user()->name }}
<small>{{ trans('adminlte_lang::message.login') }} </small>
......
......@@ -5,18 +5,7 @@
<section class="sidebar">
<!-- Sidebar user panel (optional) -->
@if (! Auth::guest())
<div class="user-panel">
<div class="pull-left image">
<img src="{{ Gravatar::get($user->email) }}" class="img-circle" alt="User Image" />
</div>
<div class="pull-left info">
<p>{{ Auth::user()->name }}</p>
<!-- Status -->
<a href="#"><i class="fa fa-circle text-success"></i> {{ trans('adminlte_lang::message.online') }}</a>
</div>
</div>
@endif
<!-- Sidebar Menu -->
<ul class="sidebar-menu">
......
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