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
3d90ab1a
Commit
3d90ab1a
authored
Apr 27, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update profil dan route
parent
9211fb20
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
1 deletion
+44
-1
OwnerController.php
app/Http/Controllers/OwnerController.php
+3
-0
gravatar.png
public/img/gravatar.png
+0
-0
profil.blade.php
...rces/views/vendor/adminlte/layouts/owner/profil.blade.php
+37
-0
sidebar.blade.php
.../views/vendor/adminlte/layouts/partials/sidebar.blade.php
+2
-1
web.php
routes/web.php
+1
-0
message.php
.../admin-lte-template-laravel/resources/lang/en/message.php
+1
-0
No files found.
app/Http/Controllers/OwnerController.php
View file @
3d90ab1a
...
@@ -16,6 +16,9 @@ class OwnerController extends Controller
...
@@ -16,6 +16,9 @@ class OwnerController extends Controller
return
view
(
'adminlte::layouts.owner.home'
);
return
view
(
'adminlte::layouts.owner.home'
);
}
}
public
function
profile
(){
return
view
(
'adminlte::layouts.owner.profil'
);
}
/**
/**
* Show the form for creating a new resource.
* Show the form for creating a new resource.
*
*
...
...
public/img/gravatar.png
0 → 100644
View file @
3d90ab1a
3.18 KB
resources/views/vendor/adminlte/layouts/owner/profil.blade.php
0 → 100644
View file @
3d90ab1a
@
extends
(
'adminlte::layouts.app'
)
@
section
(
'htmlheader_title'
)
{{
trans
(
'adminlte_lang::message.home'
)
}}
@
endsection
@
section
(
'main-content'
)
<
div
class
="
container
-
fluid
spark
-
screen
">
<div class="
row
">
<div class="
col
-
md
-
10
col
-
md
-
offset
-
1
">
<div class="
panel
panel
-
default
">
<div class="
panel
-
heading
">
<h3 class="
panel
-
heading
">Your Profil</h3>
</div>
<div class="
panel
-
body
">
<div class="
row
">
<div class="
col
-
md
-
3
col
-
lg
-
3
" align="
center
">
<img alt="
User
Pic
" src="
img
/
gravatar
.
png
" class="
img
-
circle
img
-
responsive
">
</div>
<div class="
col
-
md
-
9
col
-
lg
-
9
">
<table class="
table
table
-
user
-
information
">
</table>
</div>
</div>
</div>
<div class="
panel
-
footer
">
<a href="" data-original-title="
Edit
this
user
" data-toggle="
tooltio
" type="
button
" class="
btn
btn
-
sm
btn
-
warning
">
<i class="
glyphicon
glyphicon
-
edit
"></i>
</a>
</div>
</div>
</div>
</div>
</div>
@endsection
\ No newline at end of file
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
3d90ab1a
...
@@ -39,7 +39,8 @@
...
@@ -39,7 +39,8 @@
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
{{ trans('adminlte_lang::message.listOwner') }}
</span></a></li>
<li><a
href=
"{{url('listowner')}}"
><i
class=
'fa fa-list'
></i>
<span>
{{ trans('adminlte_lang::message.listOwner') }}
</span></a></li>
@elseif(Auth::user()->role=="Owner")
@elseif(Auth::user()->role=="Owner")
<li
class=
"header"
>
{{ trans('adminlte_lang::message.header') }}
</li>
<li><a
href=
"{{ url('profile') }}"
><i
class=
'glyphicon glyphicon-user'
></i>
<span>
{{ trans('adminlte_lang::message.profile') }}
</span></a></li>
@endif
@endif
...
...
routes/web.php
View file @
3d90ab1a
...
@@ -32,4 +32,5 @@ Route::group(['middleware' => 'auth'], function () {
...
@@ -32,4 +32,5 @@ Route::group(['middleware' => 'auth'], function () {
Route
::
resource
(
'admin'
,
'AdminController'
);
Route
::
resource
(
'admin'
,
'AdminController'
);
Route
::
get
(
'listowner'
,
'AdminController@listOwner'
);
Route
::
get
(
'listowner'
,
'AdminController@listOwner'
);
Route
::
resource
(
'owner'
,
'OwnerController'
);
Route
::
resource
(
'owner'
,
'OwnerController'
);
route
::
get
(
'profile'
,
'OwnerController@profile'
);
vendor/acacha/admin-lte-template-laravel/resources/lang/en/message.php
View file @
3d90ab1a
...
@@ -133,6 +133,7 @@ return [
...
@@ -133,6 +133,7 @@ return [
'role'
=>
'Role'
,
'role'
=>
'Role'
,
'username'
=>
'Username'
,
'username'
=>
'Username'
,
'listOwner'
=>
'List Owner'
,
'listOwner'
=>
'List Owner'
,
'profile'
=>
'Profile'
,
];
];
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