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
8 years ago
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update profil dan route
parent
9211fb20
master
No related merge requests found
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
return
view
(
'adminlte::layouts.owner.home'
);
}
public
function
profile
(){
return
view
(
'adminlte::layouts.owner.profil'
);
}
/**
* Show the form for creating a new resource.
*
...
...
This diff is collapsed.
Click to expand it.
public/img/gravatar.png
0 → 100644
View file @
3d90ab1a
3.18 KB
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
resources/views/vendor/adminlte/layouts/partials/sidebar.blade.php
View file @
3d90ab1a
...
...
@@ -39,7 +39,8 @@
<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")
<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
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
View file @
3d90ab1a
...
...
@@ -32,4 +32,5 @@ Route::group(['middleware' => 'auth'], function () {
Route
::
resource
(
'admin'
,
'AdminController'
);
Route
::
get
(
'listowner'
,
'AdminController@listOwner'
);
Route
::
resource
(
'owner'
,
'OwnerController'
);
route
::
get
(
'profile'
,
'OwnerController@profile'
);
This diff is collapsed.
Click to expand it.
vendor/acacha/admin-lte-template-laravel/resources/lang/en/message.php
View file @
3d90ab1a
...
...
@@ -133,6 +133,7 @@ return [
'role'
=>
'Role'
,
'username'
=>
'Username'
,
'listOwner'
=>
'List Owner'
,
'profile'
=>
'Profile'
,
];
This diff is collapsed.
Click to expand it.
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