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
95e4ce4a
Commit
95e4ce4a
authored
May 08, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
header
parent
ac5fe80d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
5 deletions
+51
-5
mainheader.blade.php
...s/vendor/adminlte/layouts/partialweb/mainheader.blade.php
+50
-4
web.php
routes/web.php
+1
-1
No files found.
resources/views/vendor/adminlte/layouts/partialweb/mainheader.blade.php
View file @
95e4ce4a
<!-- Header -->
<div
class=
"header agileits w3layouts"
id=
"home"
>
<!-- Navbar -->
<nav
class=
"navbar navbar-default w3l aits wow bounceInUp agileits w3layouts"
>
...
...
@@ -17,7 +17,53 @@
<li
class=
"active"
><a
href=
"index.html"
>
HOME
</a></li>
<li><a
href=
"#2"
>
DAFTAR HOMESTAY
</a></li>
<li><a
href=
"#3"
>
LOKASI
</a></li>
<li><a
href=
"gallery.html"
>
PROFILE
</a></li>
<!-- <li><a href="gallery.html">PROFILE</a></li> -->
@if (Auth::guest())
<li><a
href=
"{{ url('/login') }}"
>
LOGIN
</a></li>
@else
<!-- User Account Menu -->
<li
class=
"dropdown user user-menu"
>
<!-- 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"
/>
<p>
{{ Auth::user()->name }}
<small>
{{ trans('adminlte_lang::message.login') }}
</small>
</p>
</li>
<!-- Menu Body -->
<!-- Menu Footer-->
<li
class=
"user-footer"
>
<div
class=
"pull-left"
>
<a
href=
"{{ url('profile') }}"
class=
"btn btn-default btn-flat"
>
{{ trans('adminlte_lang::message.profile') }}
</a>
</div>
<div
class=
"pull-right"
>
<a
href=
"{{ url('/logout') }}"
class=
"btn btn-default btn-flat"
onclick=
"event.preventDefault();
document.getElementById('logout-form').submit();"
>
{{ trans('adminlte_lang::message.signout') }}
</a>
<form
id=
"logout-form"
action=
"{{ url('/logout') }}"
method=
"POST"
style=
"display: none;"
>
{{ csrf_field() }}
<input
type=
"submit"
value=
"logout"
style=
"display: none;"
>
</form>
</div>
</li>
</ul>
</li>
@endif
<!-- <li><a href="codes.html">CODES</a></li> -->
<!-- <li><a href="booking.html">BOOKING</a></li> -->
</ul>
...
...
@@ -29,4 +75,4 @@
<div
class=
"clearfix"
style=
"margin-bottom: 15px;"
></div>
</div>
<!-- //Header -->
\ No newline at end of file
<!-- //Header
\ No newline at end of file
routes/web.php
View file @
95e4ce4a
...
...
@@ -12,7 +12,7 @@
*/
Route
::
get
(
'/'
,
function
()
{
return
view
(
'
homestay
'
);
return
view
(
'
index
'
);
});
Route
::
get
(
'test'
,
function
(){
...
...
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