Commit 056a0ee1 by Juliper

repair..

parent 208963fb
......@@ -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>
......
......@@ -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