Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
8e183ca8
Unverified
Commit
8e183ca8
authored
Sep 14, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replacing URL::route() by route() helper
parent
fa617afd
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
57 additions
and
59 deletions
+57
-59
edit.blade.php
Modules/Media/Resources/views/admin/edit.blade.php
+3
-3
create.blade.php
...les/Menu/Resources/views/admin/menuitems/create.blade.php
+3
-3
edit.blade.php
Modules/Menu/Resources/views/admin/menuitems/edit.blade.php
+3
-3
create.blade.php
Modules/Menu/Resources/views/admin/menus/create.blade.php
+3
-3
edit.blade.php
Modules/Menu/Resources/views/admin/menus/edit.blade.php
+4
-4
index.blade.php
Modules/Menu/Resources/views/admin/menus/index.blade.php
+5
-5
MenuRenderer.php
Modules/Menu/Services/MenuRenderer.php
+1
-3
create.blade.php
Modules/Page/Resources/views/admin/create.blade.php
+2
-2
edit.blade.php
Modules/Page/Resources/views/admin/edit.blade.php
+2
-2
index.blade.php
Modules/Page/Resources/views/admin/index.blade.php
+1
-1
.gitkeep
Modules/Setting/Resources/views/.gitkeep
+0
-0
module-settings.blade.php
...s/Setting/Resources/views/admin/module-settings.blade.php
+3
-3
index.blade.php
...er/Resources/views/admin/account/api-keys/index.blade.php
+1
-1
edit.blade.php
...User/Resources/views/admin/account/profile/edit.blade.php
+1
-1
create.blade.php
Modules/User/Resources/views/admin/roles/create.blade.php
+3
-3
edit.blade.php
Modules/User/Resources/views/admin/roles/edit.blade.php
+4
-4
index.blade.php
Modules/User/Resources/views/admin/roles/index.blade.php
+5
-5
create.blade.php
Modules/User/Resources/views/admin/users/create.blade.php
+3
-3
edit.blade.php
Modules/User/Resources/views/admin/users/edit.blade.php
+2
-2
index.blade.php
Modules/User/Resources/views/admin/users/index.blade.php
+7
-7
index.blade.php
.../Workshop/Resources/views/admin/workbench/index.blade.php
+1
-1
No files found.
Modules/Media/Resources/views/admin/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'media::media.title.edit media'
)
}}
<
small
>
{{
$file
->
filename
}}
</
small
>
{{
trans
(
'media::media.title.edit media'
)
}}
<
small
>
{{
$file
->
filename
}}
</
small
>
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.media.media.index'
)
}}
">{{ trans('media::media.title.media') }}</a></li>
<li><a href="
{{
route
(
'admin.media.media.index'
)
}}
">{{ trans('media::media.title.media') }}</a></li>
<li class="
active
">{{ trans('media::media.title.edit media') }}</li>
<li class="
active
">{{ trans('media::media.title.edit media') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
@tags('asgardcms/media',
$file
)
@tags('asgardcms/media',
$file
)
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('core::core.button.update') }}</button>
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('core::core.button.update') }}</button>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
URL
::
route
(
'admin.media.media.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('core::core.button.cancel') }}</a>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
route
(
'admin.media.media.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('core::core.button.cancel') }}</a>
</div>
</div>
</div>
</div>
</div> {{-- end nav-tabs-custom --}}
</div> {{-- end nav-tabs-custom --}}
...
...
Modules/Menu/Resources/views/admin/menuitems/create.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'menu::menu.titles.create menu item'
)
}}
{{
trans
(
'menu::menu.titles.create menu item'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li><a href="
{{
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li>{{ trans('menu::menu.breadcrumb.create menu item') }}</li>
<li>{{ trans('menu::menu.breadcrumb.create menu item') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"box-footer"
>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.create') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.create') }}
</button>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{
URL::
route('admin.menu.menu.edit', [$menu->id])}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{ route('admin.menu.menu.edit', [$menu->id])}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
</div>
</div>
</div>
</div>
<div
class=
"col-md-3"
>
<div
class=
"col-md-3"
>
...
...
Modules/Menu/Resources/views/admin/menuitems/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'menu::menu.titles.edit menu item'
)
}}
{{
trans
(
'menu::menu.titles.edit menu item'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li><a href="
{{
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li>{{ trans('menu::menu.breadcrumb.edit menu item') }}</li>
<li>{{ trans('menu::menu.breadcrumb.edit menu item') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"box-footer"
>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.update') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.update') }}
</button>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{
URL::
route('admin.menu.menu.edit', [$menu->id])}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{ route('admin.menu.menu.edit', [$menu->id])}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
</div>
</div>
</div>
</div>
<div
class=
"col-md-3"
>
<div
class=
"col-md-3"
>
...
...
Modules/Menu/Resources/views/admin/menus/create.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{ trans('menu::menu.titles.create menu') }}
{{ trans('menu::menu.titles.create menu') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{
URL::
route('admin.menu.menu.index') }}"
>
{{ trans('menu::menu.breadcrumb.menu') }}
</a></li>
<li><a
href=
"{{ route('admin.menu.menu.index') }}"
>
{{ trans('menu::menu.breadcrumb.menu') }}
</a></li>
<li>
{{ trans('menu::menu.breadcrumb.create menu') }}
</li>
<li>
{{ trans('menu::menu.breadcrumb.create menu') }}
</li>
</ol>
</ol>
@stop
@stop
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</div>
</div>
<div
class=
"box-footer"
>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.create') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.create') }}
</button>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{
URL::
route('admin.menu.menu.index')}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{ route('admin.menu.menu.index')}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Modules/Menu/Resources/views/admin/menus/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'menu::menu.titles.edit menu'
)
}}
{{
trans
(
'menu::menu.titles.edit menu'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li><a href="
{{
route
(
'admin.menu.menu.index'
)
}}
">{{ trans('menu::menu.breadcrumb.menu') }}</a></li>
<li>{{ trans('menu::menu.breadcrumb.edit menu') }}</li>
<li>{{ trans('menu::menu.breadcrumb.edit menu') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<div class="
col
-
md
-
6
">
<div class="
col
-
md
-
6
">
<div class="
row
">
<div class="
row
">
<div class="
btn
-
group
pull
-
right
" style="
margin
:
0
15
px
15
px
0
;
">
<div class="
btn
-
group
pull
-
right
" style="
margin
:
0
15
px
15
px
0
;
">
<a href="
{{
URL
::
route
(
'dashboard.menuitem.create'
,
[
$menu
->
id
])
}}
" class="
btn
btn
-
primary
btn
-
flat
">
<a href="
{{
route
(
'dashboard.menuitem.create'
,
[
$menu
->
id
])
}}
" class="
btn
btn
-
primary
btn
-
flat
">
<i class="
fa
fa
-
pencil
"></i> {{ trans('menu::menu.button.create menu item') }}
<i class="
fa
fa
-
pencil
"></i> {{ trans('menu::menu.button.create menu item') }}
</a>
</a>
</div>
</div>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</div>
</div>
<div
class=
"box-footer"
>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.update') }}
</button>
<button
type=
"submit"
class=
"btn btn-primary btn-flat"
>
{{ trans('core::core.button.update') }}
</button>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{
URL::
route('admin.menu.menu.index')}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
<a
class=
"btn btn-danger pull-right btn-flat"
href=
"{{ route('admin.menu.menu.index')}}"
><i
class=
"fa fa-times"
></i>
{{ trans('core::core.button.cancel') }}
</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Modules/Menu/Resources/views/admin/menus/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{ trans('menu::menu.titles.menu') }}
{{ trans('menu::menu.titles.menu') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li
class=
"active"
>
{{ trans('menu::menu.breadcrumb.menu') }}
</li>
<li
class=
"active"
>
{{ trans('menu::menu.breadcrumb.menu') }}
</li>
</ol>
</ol>
@stop
@stop
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<a
href=
"{{
URL::
route('admin.menu.menu.create') }}"
class=
"btn btn-primary btn-flat"
>
<a
href=
"{{ route('admin.menu.menu.create') }}"
class=
"btn btn-primary btn-flat"
>
<i
class=
"fa fa-pencil"
></i>
{{ trans('menu::menu.button.create menu') }}
<i
class=
"fa fa-pencil"
></i>
{{ trans('menu::menu.button.create menu') }}
</a>
</a>
</div>
</div>
...
@@ -38,18 +38,18 @@
...
@@ -38,18 +38,18 @@
<?php
foreach
(
$menus
as
$menu
)
:
?>
<?php
foreach
(
$menus
as
$menu
)
:
?>
<tr>
<tr>
<td>
<td>
<a
href=
"{{
URL::
route('admin.menu.menu.edit', [$menu->id]) }}"
>
<a
href=
"{{ route('admin.menu.menu.edit', [$menu->id]) }}"
>
{{ $menu->name }}
{{ $menu->name }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.menu.menu.edit', [$menu->id]) }}"
>
<a
href=
"{{ route('admin.menu.menu.edit', [$menu->id]) }}"
>
{{ $menu->title }}
{{ $menu->title }}
</a>
</a>
</td>
</td>
<td>
<td>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
<a
href=
"{{
URL::
route('admin.menu.menu.edit', [$menu->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"glyphicon glyphicon-pencil"
></i></a>
<a
href=
"{{ route('admin.menu.menu.edit', [$menu->id]) }}"
class=
"btn btn-default btn-flat"
><i
class=
"glyphicon glyphicon-pencil"
></i></a>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#confirmation-{{ $menu->id }}"
><i
class=
"glyphicon glyphicon-trash"
></i></button>
<button
class=
"btn btn-danger btn-flat"
data-toggle=
"modal"
data-target=
"#confirmation-{{ $menu->id }}"
><i
class=
"glyphicon glyphicon-trash"
></i></button>
</div>
</div>
</td>
</td>
...
...
Modules/Menu/Services/MenuRenderer.php
View file @
8e183ca8
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
namespace
Modules\Menu\Services
;
namespace
Modules\Menu\Services
;
use
Illuminate\Support\Facades\URL
;
class
MenuRenderer
class
MenuRenderer
{
{
/**
/**
...
@@ -48,7 +46,7 @@ class MenuRenderer
...
@@ -48,7 +46,7 @@ class MenuRenderer
$this
->
menu
.=
'<ol class="dd-list">'
;
$this
->
menu
.=
'<ol class="dd-list">'
;
foreach
(
$items
as
$item
)
{
foreach
(
$items
as
$item
)
{
$this
->
menu
.=
"<li class=
\"
dd-item
\"
data-id=
\"
{
$item
->
id
}
\"
>"
;
$this
->
menu
.=
"<li class=
\"
dd-item
\"
data-id=
\"
{
$item
->
id
}
\"
>"
;
$editLink
=
URL
::
route
(
'dashboard.menuitem.edit'
,
[
$this
->
menuId
,
$item
->
id
]);
$editLink
=
route
(
'dashboard.menuitem.edit'
,
[
$this
->
menuId
,
$item
->
id
]);
$style
=
$item
->
isRoot
()
?
'none'
:
'inline'
;
$style
=
$item
->
isRoot
()
?
'none'
:
'inline'
;
$this
->
menu
.=
<<<HTML
$this
->
menu
.=
<<<HTML
<div class="btn-group" role="group" aria-label="Action buttons" style="display: {$style}">
<div class="btn-group" role="group" aria-label="Action buttons" style="display: {$style}">
...
...
Modules/Page/Resources/views/admin/create.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'page::pages.create page'
)
}}
{{
trans
(
'page::pages.create page'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.page.page.index'
)
}}
">{{ trans('page::pages.pages') }}</a></li>
<li><a href="
{{
route
(
'admin.page.page.index'
)
}}
">{{ trans('page::pages.pages') }}</a></li>
<li class="
active
">{{ trans('page::pages.create page') }}</li>
<li class="
active
">{{ trans('page::pages.create page') }}</li>
</ol>
</ol>
@stop
@stop
...
...
Modules/Page/Resources/views/admin/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'page::pages.edit page'
)
}}
{{
trans
(
'page::pages.edit page'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
URL
::
route
(
'admin.page.page.index'
)
}}
">{{ trans('page::pages.pages') }}</a></li>
<li><a href="
{{
route
(
'admin.page.page.index'
)
}}
">{{ trans('page::pages.pages') }}</a></li>
<li class="
active
">{{ trans('page::pages.edit page') }}</li>
<li class="
active
">{{ trans('page::pages.edit page') }}</li>
</ol>
</ol>
@stop
@stop
...
...
Modules/Page/Resources/views/admin/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{ trans('page::pages.pages') }}
{{ trans('page::pages.pages') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li
class=
"active"
>
{{ trans('page::pages.pages') }}
</li>
<li
class=
"active"
>
{{ trans('page::pages.pages') }}
</li>
</ol>
</ol>
@stop
@stop
...
...
Modules/Setting/Resources/views/.gitkeep
deleted
100644 → 0
View file @
fa617afd
Modules/Setting/Resources/views/admin/module-settings.blade.php
View file @
8e183ca8
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
#"><i class="fa fa-dashboard"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
#"><i class="fa fa-dashboard"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<
li
><
a
href
=
"{{
URL::
route('admin.setting.settings.index') }}"
><
i
class
="
fa
fa
-
cog
"></i> {{ trans('setting::settings.breadcrumb.settings') }}</a></li>
<
li
><
a
href
=
"{{ route('admin.setting.settings.index') }}"
><
i
class
="
fa
fa
-
cog
"></i> {{ trans('setting::settings.breadcrumb.settings') }}</a></li>
<li class="
active
"><i class="
fa
fa
-
cog
"></i> {{ trans('setting::settings.breadcrumb.module settings', ['module' => ucfirst(
$currentModule
)]) }}</li>
<li class="
active
"><i class="
fa
fa
-
cog
"></i> {{ trans('setting::settings.breadcrumb.module settings', ['module' => ucfirst(
$currentModule
)]) }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<ul class="
nav
nav
-
list
">
<ul class="
nav
nav
-
list
">
<?php foreach (
$modulesWithSettings
as
$module
=>
$settings
): ?>
<?php foreach (
$modulesWithSettings
as
$module
=>
$settings
): ?>
<li>
<li>
<a href="
{{
URL
::
route
(
'dashboard.module.settings'
,
[
$module
])
}}
"
<a href="
{{
route
(
'dashboard.module.settings'
,
[
$module
])
}}
"
class="
{{
$module
===
$currentModule
->
getName
()
?
'active'
:
''
}}
">
class="
{{
$module
===
$currentModule
->
getName
()
?
'active'
:
''
}}
">
{{ ucfirst(
$module
) }}
{{ ucfirst(
$module
) }}
<small class="
badge
pull
-
right
bg
-
blue
">{{ count(
$settings
) }}</small>
<small class="
badge
pull
-
right
bg
-
blue
">{{ count(
$settings
) }}</small>
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
<?php endif; ?>
<?php endif; ?>
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('core::core.button.update') }}</button>
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('core::core.button.update') }}</button>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
URL
::
route
(
'admin.setting.settings.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('core::core.button.cancel') }}</a>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
route
(
'admin.setting.settings.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('core::core.button.cancel') }}</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Modules/User/Resources/views/admin/account/api-keys/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{ trans('user::users.api-keys') }}
{{ trans('user::users.api-keys') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li
class=
"active"
>
{{ trans('user::users.api-keys') }}
</li>
<li
class=
"active"
>
{{ trans('user::users.api-keys') }}
</li>
</ol>
</ol>
...
...
Modules/User/Resources/views/admin/account/profile/edit.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{
trans
(
'user::users.title.edit-profile'
)
}}
{{
trans
(
'user::users.title.edit-profile'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class="
active
">{{ trans('user::users.breadcrumb.edit-profile') }}</li>
<li class="
active
">{{ trans('user::users.breadcrumb.edit-profile') }}</li>
</ol>
</ol>
@stop
@stop
...
...
Modules/User/Resources/views/admin/roles/create.blade.php
View file @
8e183ca8
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
@
section
(
'content-header'
)
@
section
(
'content-header'
)
<
h1
>
New
Role
</
h1
>
<
h1
>
New
Role
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class=""><a href="
{{
URL
::
route
(
'admin.user.role.index'
)
}}
">{{ trans('user::roles.breadcrumb.roles') }}</a></li>
<li class=""><a href="
{{
route
(
'admin.user.role.index'
)
}}
">{{ trans('user::roles.breadcrumb.roles') }}</a></li>
<li class="
active
">{{ trans('user::roles.breadcrumb.new') }}</li>
<li class="
active
">{{ trans('user::roles.breadcrumb.new') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
</div>
</div>
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.create') }}</button>
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.create') }}</button>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
URL
::
route
(
'admin.user.role.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
route
(
'admin.user.role.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Modules/User/Resources/views/admin/roles/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'user::roles.title.edit'
)
}}
<
small
>
{{
$role
->
name
}}
</
small
>
{{
trans
(
'user::roles.title.edit'
)
}}
<
small
>
{{
$role
->
name
}}
</
small
>
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class=""><a href="
{{
URL
::
route
(
'admin.user.role.index'
)
}}
">{{ trans('user::roles.breadcrumb.roles') }}</a></li>
<li class=""><a href="
{{
route
(
'admin.user.role.index'
)
}}
">{{ trans('user::roles.breadcrumb.roles') }}</a></li>
<li class="
active
">{{ trans('user::roles.breadcrumb.edit') }}</li>
<li class="
active
">{{ trans('user::roles.breadcrumb.edit') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<ul>
<ul>
<?php foreach (
$role->users
as
$user
): ?>
<?php foreach (
$role->users
as
$user
): ?>
<li>
<li>
<a href="
{{
URL
::
route
(
'admin.user.user.edit'
,
[
$user
->
id
])
}}
">{{
$user->present
()->fullname() }}</a>
<a href="
{{
route
(
'admin.user.user.edit'
,
[
$user
->
id
])
}}
">{{
$user->present
()->fullname() }}</a>
</li>
</li>
<?php endforeach; ?>
<?php endforeach; ?>
</ul>
</ul>
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</div>
</div>
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.update') }}</button>
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.update') }}</button>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
URL
::
route
(
'admin.user.role.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
route
(
'admin.user.role.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
</div>
</div>
</div><!-- /.tab-content -->
</div><!-- /.tab-content -->
</div>
</div>
...
...
Modules/User/Resources/views/admin/roles/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{ trans('user::roles.title.roles') }}
{{ trans('user::roles.title.roles') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li
class=
"active"
>
{{ trans('user::roles.breadcrumb.roles') }}
</li>
<li
class=
"active"
>
{{ trans('user::roles.breadcrumb.roles') }}
</li>
</ol>
</ol>
@stop
@stop
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<a
href=
"{{
URL::
route('admin.user.role.create') }}"
class=
"btn btn-primary btn-flat"
style=
"padding: 4px 10px;"
>
<a
href=
"{{ route('admin.user.role.create') }}"
class=
"btn btn-primary btn-flat"
style=
"padding: 4px 10px;"
>
<i
class=
"fa fa-pencil"
></i>
{{ trans('user::roles.button.new-role') }}
<i
class=
"fa fa-pencil"
></i>
{{ trans('user::roles.button.new-role') }}
</a>
</a>
</div>
</div>
...
@@ -39,17 +39,17 @@
...
@@ -39,17 +39,17 @@
<?php
foreach
(
$roles
as
$role
)
:
?>
<?php
foreach
(
$roles
as
$role
)
:
?>
<tr>
<tr>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.role.edit', [$role->id]) }}"
>
<a
href=
"{{ route('admin.user.role.edit', [$role->id]) }}"
>
{{ $role->id }}
{{ $role->id }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.role.edit', [$role->id]) }}"
>
<a
href=
"{{ route('admin.user.role.edit', [$role->id]) }}"
>
{{ $role->name }}
{{ $role->name }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.role.edit', [$role->id]) }}"
>
<a
href=
"{{ route('admin.user.role.edit', [$role->id]) }}"
>
{{ $role->created_at }}
{{ $role->created_at }}
</a>
</a>
</td>
</td>
...
...
Modules/User/Resources/views/admin/users/create.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'user::users.title.new-user'
)
}}
{{
trans
(
'user::users.title.new-user'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class=""><a href="
{{
URL
::
route
(
'admin.user.user.index'
)
}}
">{{ trans('user::users.breadcrumb.users') }}</a></li>
<li class=""><a href="
{{
route
(
'admin.user.user.index'
)
}}
">{{ trans('user::users.breadcrumb.users') }}</a></li>
<li class="
active
">{{ trans('user::users.breadcrumb.new') }}</li>
<li class="
active
">{{ trans('user::users.breadcrumb.new') }}</li>
</ol>
</ol>
@stop
@stop
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
</div>
</div>
<div class="
box
-
footer
">
<div class="
box
-
footer
">
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.create') }}</button>
<button type="
submit
" class="
btn
btn
-
primary
btn
-
flat
">{{ trans('user::button.create') }}</button>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
URL
::
route
(
'admin.user.user.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
<a class="
btn
btn
-
danger
pull
-
right
btn
-
flat
" href="
{{
route
(
'admin.user.user.index'
)}}
"><i class="
fa
fa
-
times
"></i> {{ trans('user::button.cancel') }}</a>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Modules/User/Resources/views/admin/users/edit.blade.php
View file @
8e183ca8
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
{{
trans
(
'user::users.title.edit-user'
)
}}
<
small
>
{{
$user
->
present
()
->
fullname
()
}}
</
small
>
{{
trans
(
'user::users.title.edit-user'
)
}}
<
small
>
{{
$user
->
present
()
->
fullname
()
}}
</
small
>
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('core::core.breadcrumb.home') }}</a></li>
<li class=""><a href="
{{
URL
::
route
(
'admin.user.user.index'
)
}}
">{{ trans('user::users.breadcrumb.users') }}</a></li>
<li class=""><a href="
{{
route
(
'admin.user.user.index'
)
}}
">{{ trans('user::users.breadcrumb.users') }}</a></li>
<li class="
active
">{{ trans('user::users.breadcrumb.edit-user') }}</li>
<li class="
active
">{{ trans('user::users.breadcrumb.edit-user') }}</li>
</ol>
</ol>
@stop
@stop
...
...
Modules/User/Resources/views/admin/users/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{ trans('user::users.title.users') }}
{{ trans('user::users.title.users') }}
</h1>
</h1>
<ol
class=
"breadcrumb"
>
<ol
class=
"breadcrumb"
>
<li><a
href=
"{{
URL::
route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li><a
href=
"{{ route('dashboard.index') }}"
><i
class=
"fa fa-dashboard"
></i>
{{ trans('core::core.breadcrumb.home') }}
</a></li>
<li
class=
"active"
>
{{ trans('user::users.breadcrumb.users') }}
</li>
<li
class=
"active"
>
{{ trans('user::users.breadcrumb.users') }}
</li>
</ol>
</ol>
@stop
@stop
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"col-xs-12"
>
<div
class=
"col-xs-12"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<div
class=
"btn-group pull-right"
style=
"margin: 0 15px 15px 0;"
>
<a
href=
"{{
URL::
route('admin.user.user.create') }}"
class=
"btn btn-primary btn-flat"
style=
"padding: 4px 10px;"
>
<a
href=
"{{ route('admin.user.user.create') }}"
class=
"btn btn-primary btn-flat"
style=
"padding: 4px 10px;"
>
<i
class=
"fa fa-pencil"
></i>
{{ trans('user::users.button.new-user') }}
<i
class=
"fa fa-pencil"
></i>
{{ trans('user::users.button.new-user') }}
</a>
</a>
</div>
</div>
...
@@ -41,27 +41,27 @@
...
@@ -41,27 +41,27 @@
<?php
foreach
(
$users
as
$user
)
:
?>
<?php
foreach
(
$users
as
$user
)
:
?>
<tr>
<tr>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->id }}
{{ $user->id }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->first_name }}
{{ $user->first_name }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->last_name }}
{{ $user->last_name }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->email }}
{{ $user->email }}
</a>
</a>
</td>
</td>
<td>
<td>
<a
href=
"{{
URL::
route('admin.user.user.edit', [$user->id]) }}"
>
<a
href=
"{{ route('admin.user.user.edit', [$user->id]) }}"
>
{{ $user->created_at }}
{{ $user->created_at }}
</a>
</a>
</td>
</td>
...
...
Modules/Workshop/Resources/views/admin/workbench/index.blade.php
View file @
8e183ca8
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{{
trans
(
'workshop::workbench.title'
)
}}
{{
trans
(
'workshop::workbench.title'
)
}}
</
h1
>
</
h1
>
<
ol
class
="
breadcrumb
">
<
ol
class
="
breadcrumb
">
<li><a href="
{{
URL
::
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('user::users.breadcrumb.home') }}</a></li>
<li><a href="
{{
route
(
'dashboard.index'
)
}}
"><i class="
fa
fa
-
dashboard
"></i> {{ trans('user::users.breadcrumb.home') }}</a></li>
<li class="
active
">{{ trans('workshop::workbench.title') }}</li>
<li class="
active
">{{ trans('workshop::workbench.title') }}</li>
</ol>
</ol>
@stop
@stop
...
...
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