-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e2ba4b
commit f324665
Showing
26 changed files
with
23,416 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"/js/app.js": "/js/app.js?id=78e20b48e08e9af7c2e3", | ||
"/css/app.css": "/css/app.css?id=0250bbaccf435f461838" | ||
"/js/app.js": "/js/app.js", | ||
"/css/app.css": "/css/app.css" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
return [ | ||
'modules_menu_title' => 'Modules', | ||
'system_menu_title' => 'System', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
*/ | ||
|
||
body.error-layout { | ||
footer { | ||
margin-left: 0; | ||
} | ||
} | ||
footer { | ||
margin-left: 0 !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
@include('administration::partials.head') | ||
<body class="hold-transition login-page error-layout"> | ||
|
||
<div class="d-flex flex-column w-100 h-100"> | ||
|
||
<div class="wrapper"> | ||
|
||
@yield('content') | ||
<div class="d-flex flex-column h-100 justify-content-center"> | ||
@yield('content') | ||
</div> | ||
|
||
@include('administration::partials.footer') | ||
</div> | ||
|
||
@include('administration::partials.footer') | ||
|
||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@foreach($items as $item) | ||
<li @lm_attrs($item) | ||
@if($item->hasChildren()) | ||
class="nav-item has-treeview @if($item->isActive) menu-open @endif" | ||
@else | ||
class="nav-item @if($item->isActive) menu-open @endif" | ||
@endif @lm_endattrs | ||
> | ||
|
||
@if($item->link) | ||
<a @lm_attrs($item->link) | ||
@if($item->hasChildren()) | ||
class="nav-link @if($item->isActive) active @endif" | ||
@else | ||
class="nav-link @if($item->isActive) active @endif" | ||
@endif | ||
@lm_endattrs | ||
href="{!! $item->url() !!}"> | ||
|
||
<i class="nav-icon fas {{\ProVision\Administration\Facades\MenuFacade::getItemIcon($item)}}"></i> | ||
|
||
<p> | ||
{!! $item->title !!} | ||
@if($item->hasChildren()) <i class="right fas fa-angle-left"></i> @endif | ||
</p> | ||
</a> | ||
@else | ||
<span class="navbar-text">{!! $item->title !!}</span> | ||
@endif | ||
|
||
@if($item->hasChildren()) | ||
<ul class="nav nav-treeview"> | ||
@include('administration::partials.menu_render', array('items' => $item->children())) | ||
</ul> | ||
@endif | ||
|
||
</li> | ||
|
||
@if($item->divider) | ||
<li{!! Lavary\Menu\Builder::attributes($item->divider) !!}></li> | ||
@endif | ||
|
||
@endforeach |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<!-- Sidebar Menu --> | ||
<nav class="mt-2"> | ||
|
||
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false"> | ||
@include('administration::partials.menu_render', ['items' => \ProVision\Administration\Facades\MenuFacade::getModulesMenu()->roots()]) | ||
@include('administration::partials.menu_render', ['items' => \ProVision\Administration\Facades\MenuFacade::getSystemMenu()->roots()]) | ||
</ul> | ||
|
||
{{-- <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu"--}} | ||
{{-- data-accordion="false">--}} | ||
{{-- <!-- Add icons to the links using the .nav-icon class--}} | ||
{{-- with font-awesome or any other icon font library -->--}} | ||
{{-- <li class="nav-item has-treeview menu-open">--}} | ||
{{-- <a href="#" class="nav-link active">--}} | ||
{{-- <i class="nav-icon fas fa-tachometer-alt"></i>--}} | ||
{{-- <p>--}} | ||
{{-- Starter Pages--}} | ||
{{-- <i class="right fas fa-angle-left"></i>--}} | ||
{{-- </p>--}} | ||
{{-- </a>--}} | ||
{{-- <ul class="nav nav-treeview">--}} | ||
{{-- <li class="nav-item">--}} | ||
{{-- <a href="#" class="nav-link active">--}} | ||
{{-- <i class="far fa-circle nav-icon"></i>--}} | ||
{{-- <p>Active Page</p>--}} | ||
{{-- </a>--}} | ||
{{-- </li>--}} | ||
{{-- <li class="nav-item">--}} | ||
{{-- <a href="#" class="nav-link">--}} | ||
{{-- <i class="far fa-circle nav-icon"></i>--}} | ||
{{-- <p>Inactive Page</p>--}} | ||
{{-- </a>--}} | ||
{{-- </li>--}} | ||
{{-- </ul>--}} | ||
{{-- </li>--}} | ||
{{-- <li class="nav-item">--}} | ||
{{-- <a href="#" class="nav-link">--}} | ||
{{-- <i class="nav-icon fas fa-th"></i>--}} | ||
{{-- <p>--}} | ||
{{-- Simple Link--}} | ||
{{-- <span class="right badge badge-danger">New</span>--}} | ||
{{-- </p>--}} | ||
{{-- </a>--}} | ||
{{-- </li>--}} | ||
{{-- </ul>--}} | ||
</nav> | ||
<!-- /.sidebar-menu --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace ProVision\Administration\Contracts; | ||
|
||
use Lavary\Menu\Builder; | ||
|
||
/** | ||
* Interface AdministrationModule | ||
*/ | ||
interface AdministrationModule | ||
{ | ||
|
||
/** | ||
* Init administration menu. | ||
* | ||
* @param Builder $moduleMenu | ||
* @return mixed | ||
*/ | ||
public function administrationMenu(Builder $moduleMenu); | ||
} |
Oops, something went wrong.