chore(deps): added adminlte vendored items
(this might not be entirely necessary unless we're changing everything adminlte publishes) Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
28
resources/views/vendor/adminlte/partials/common/brand-logo-xl.blade.php
vendored
Normal file
28
resources/views/vendor/adminlte/partials/common/brand-logo-xl.blade.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
@inject('layoutHelper', 'JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper')
|
||||
|
||||
@php( $dashboard_url = View::getSection('dashboard_url') ?? config('adminlte.dashboard_url', 'home') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $dashboard_url = $dashboard_url ? route($dashboard_url) : '' )
|
||||
@else
|
||||
@php( $dashboard_url = $dashboard_url ? url($dashboard_url) : '' )
|
||||
@endif
|
||||
|
||||
<a href="{{ $dashboard_url }}"
|
||||
@if($layoutHelper->isLayoutTopnavEnabled())
|
||||
class="navbar-brand logo-switch {{ config('adminlte.classes_brand') }}"
|
||||
@else
|
||||
class="brand-link logo-switch {{ config('adminlte.classes_brand') }}"
|
||||
@endif>
|
||||
|
||||
{{-- Small brand logo --}}
|
||||
<img src="{{ asset(config('adminlte.logo_img', 'vendor/adminlte/dist/img/AdminLTELogo.png')) }}"
|
||||
alt="{{ config('adminlte.logo_img_alt', 'AdminLTE') }}"
|
||||
class="{{ config('adminlte.logo_img_class', 'brand-image-xl') }} logo-xs">
|
||||
|
||||
{{-- Large brand logo --}}
|
||||
<img src="{{ asset(config('adminlte.logo_img_xl')) }}"
|
||||
alt="{{ config('adminlte.logo_img_alt', 'AdminLTE') }}"
|
||||
class="{{ config('adminlte.logo_img_xl_class', 'brand-image-xs') }} logo-xl">
|
||||
|
||||
</a>
|
29
resources/views/vendor/adminlte/partials/common/brand-logo-xs.blade.php
vendored
Normal file
29
resources/views/vendor/adminlte/partials/common/brand-logo-xs.blade.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
@inject('layoutHelper', 'JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper')
|
||||
|
||||
@php( $dashboard_url = View::getSection('dashboard_url') ?? config('adminlte.dashboard_url', 'home') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $dashboard_url = $dashboard_url ? route($dashboard_url) : '' )
|
||||
@else
|
||||
@php( $dashboard_url = $dashboard_url ? url($dashboard_url) : '' )
|
||||
@endif
|
||||
|
||||
<a href="{{ $dashboard_url }}"
|
||||
@if($layoutHelper->isLayoutTopnavEnabled())
|
||||
class="navbar-brand {{ config('adminlte.classes_brand') }}"
|
||||
@else
|
||||
class="brand-link {{ config('adminlte.classes_brand') }}"
|
||||
@endif>
|
||||
|
||||
{{-- Small brand logo --}}
|
||||
<img src="{{ asset(config('adminlte.logo_img', 'vendor/adminlte/dist/img/AdminLTELogo.png')) }}"
|
||||
alt="{{ config('adminlte.logo_img_alt', 'AdminLTE') }}"
|
||||
class="{{ config('adminlte.logo_img_class', 'brand-image img-circle elevation-3') }}"
|
||||
style="opacity:.8">
|
||||
|
||||
{{-- Brand text --}}
|
||||
<span class="brand-text font-weight-light {{ config('adminlte.classes_brand_text') }}">
|
||||
{!! config('adminlte.logo', '<b>Admin</b>LTE') !!}
|
||||
</span>
|
||||
|
||||
</a>
|
10
resources/views/vendor/adminlte/partials/common/preloader.blade.php
vendored
Normal file
10
resources/views/vendor/adminlte/partials/common/preloader.blade.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<div class="preloader flex-column justify-content-center align-items-center">
|
||||
|
||||
{{-- Preloader logo --}}
|
||||
<img src="{{ asset(config('adminlte.preloader.img.path', 'vendor/adminlte/dist/img/AdminLTELogo.png')) }}"
|
||||
class="{{ config('adminlte.preloader.img.effect', 'animation__shake') }}"
|
||||
alt="{{ config('adminlte.preloader.img.alt', 'AdminLTE Preloader Image') }}"
|
||||
width="{{ config('adminlte.preloader.img.width', 60) }}"
|
||||
height="{{ config('adminlte.preloader.img.height', 60) }}">
|
||||
|
||||
</div>
|
28
resources/views/vendor/adminlte/partials/cwrapper/cwrapper-default.blade.php
vendored
Normal file
28
resources/views/vendor/adminlte/partials/cwrapper/cwrapper-default.blade.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
@inject('layoutHelper', 'JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper')
|
||||
|
||||
@if($layoutHelper->isLayoutTopnavEnabled())
|
||||
@php( $def_container_class = 'container' )
|
||||
@else
|
||||
@php( $def_container_class = 'container-fluid' )
|
||||
@endif
|
||||
|
||||
{{-- Default Content Wrapper --}}
|
||||
<div class="content-wrapper {{ config('adminlte.classes_content_wrapper', '') }}">
|
||||
|
||||
{{-- Content Header --}}
|
||||
@hasSection('content_header')
|
||||
<div class="content-header">
|
||||
<div class="{{ config('adminlte.classes_content_header') ?: $def_container_class }}">
|
||||
@yield('content_header')
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Main Content --}}
|
||||
<div class="content">
|
||||
<div class="{{ config('adminlte.classes_content') ?: $def_container_class }}">
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
117
resources/views/vendor/adminlte/partials/cwrapper/cwrapper-iframe.blade.php
vendored
Normal file
117
resources/views/vendor/adminlte/partials/cwrapper/cwrapper-iframe.blade.php
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
{{-- IFrame Content Wrapper --}}
|
||||
<div class="content-wrapper iframe-mode {{ config('adminlte.classes_content_wrapper', '') }}" data-widget="iframe"
|
||||
data-auto-show-new-tab="{{ config('adminlte.iframe.options.auto_show_new_tab', true) }}"
|
||||
data-loading-screen="{{ config('adminlte.iframe.options.loading_screen', true) }}"
|
||||
data-use-navbar-items="{{ config('adminlte.iframe.options.use_navbar_items', true) }}">
|
||||
|
||||
{{-- IFrame Navbar --}}
|
||||
<div class="nav navbar navbar-expand navbar-white navbar-light border-bottom p-0">
|
||||
|
||||
{{-- Close Buttons --}}
|
||||
@if(config('adminlte.iframe.buttons.close_all', true) || config('adminlte.iframe.buttons.close_all_other', true))
|
||||
|
||||
<div class="nav-item dropdown">
|
||||
<a class="nav-link bg-danger dropdown-toggle" data-toggle="dropdown" href="#"
|
||||
role="button" aria-haspopup="true" aria-expanded="false">
|
||||
{{ __('adminlte::iframe.btn_close') }}
|
||||
</a>
|
||||
<div class="dropdown-menu mt-0">
|
||||
@if(config('adminlte.iframe.buttons.close', false))
|
||||
<a class="dropdown-item" href="#" data-widget="iframe-close">
|
||||
{{ __('adminlte::iframe.btn_close_active') }}
|
||||
</a>
|
||||
@endif
|
||||
@if(config('adminlte.iframe.buttons.close_all', true))
|
||||
<a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all">
|
||||
{{ __('adminlte::iframe.btn_close_all') }}
|
||||
</a>
|
||||
@endif
|
||||
@if(config('adminlte.iframe.buttons.close_all_other', true))
|
||||
<a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all-other">
|
||||
{{ __('adminlte::iframe.btn_close_all_other') }}
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@elseif(config('adminlte.iframe.buttons.close', false))
|
||||
|
||||
<a class="nav-link bg-danger" href="#" data-widget="iframe-close">
|
||||
{{ __('adminlte::iframe.btn_close') }}
|
||||
</a>
|
||||
|
||||
@endif
|
||||
|
||||
{{-- Scroll Left Button --}}
|
||||
@if(config('adminlte.iframe.buttons.scroll_left', true))
|
||||
<a class="nav-link bg-light" href="#" data-widget="iframe-scrollleft">
|
||||
<i class="fas fa-angle-double-left"></i>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
{{-- Tab List --}}
|
||||
<ul class="navbar-nav overflow-hidden" role="tablist">
|
||||
|
||||
{{-- Default Tab --}}
|
||||
@if(! empty(config('adminlte.iframe.default_tab.url')))
|
||||
<li class="nav-item active" role="presentation">
|
||||
<a href="#" class="btn-iframe-close" data-widget="iframe-close" data-type="only-this">
|
||||
<i class="fas fa-times"></i>
|
||||
</a>
|
||||
<a id="tab-default" class="nav-link active" data-toggle="row" href="#panel-default"
|
||||
role="tab" aria-controls="panel-default" aria-selected="true">
|
||||
{{-- TODO: How to translate the configured title? --}}
|
||||
{{ config('adminlte.iframe.default_tab.title') ?: __('adminlte::iframe.tab_home') }}
|
||||
</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
</ul>
|
||||
|
||||
{{-- Scroll Right Button --}}
|
||||
@if(config('adminlte.iframe.buttons.scroll_right', true))
|
||||
<a class="nav-link bg-light" href="#" data-widget="iframe-scrollright">
|
||||
<i class="fas fa-angle-double-right"></i>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
{{-- Fullscreen Button --}}
|
||||
@if(config('adminlte.iframe.buttons.fullscreen', true))
|
||||
<a class="nav-link bg-light" href="#" data-widget="iframe-fullscreen">
|
||||
<i class="fas fa-expand"></i>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
||||
{{-- IFrame Tab Content --}}
|
||||
<div class="tab-content">
|
||||
|
||||
{{-- Loading Overlay --}}
|
||||
<div class="tab-loading">
|
||||
<div>
|
||||
<h2 class="display-4 text-center">
|
||||
<i class="fa fa-sync fa-spin text-secondary"></i>
|
||||
<br/>
|
||||
{{ __('adminlte::iframe.tab_loading') }}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- Default Tab Content --}}
|
||||
@if(! empty(config('adminlte.iframe.default_tab.url')))
|
||||
<div id="panel-default" class="tab-pane fade" role="tabpanel" aria-labelledby="tab-default">
|
||||
<iframe src="{{ config('adminlte.iframe.default_tab.url') }}"></iframe>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Empty Tab --}}
|
||||
<div class="tab-empty">
|
||||
<h2 class="display-4 text-center">
|
||||
{{ __('adminlte::iframe.tab_empty') }}
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
3
resources/views/vendor/adminlte/partials/footer/footer.blade.php
vendored
Normal file
3
resources/views/vendor/adminlte/partials/footer/footer.blade.php
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<footer class="main-footer">
|
||||
@yield('footer')
|
||||
</footer>
|
26
resources/views/vendor/adminlte/partials/navbar/dropdown-item-link.blade.php
vendored
Normal file
26
resources/views/vendor/adminlte/partials/navbar/dropdown-item-link.blade.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset>
|
||||
|
||||
<a class="dropdown-item {{ $item['class'] }}" href="{{ $item['href'] }}"
|
||||
@isset($item['target']) target="{{ $item['target'] }}" @endisset
|
||||
{!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
{{-- Icon (optional) --}}
|
||||
@isset($item['icon'])
|
||||
<i class="{{ $item['icon'] ?? '' }} {{
|
||||
isset($item['icon_color']) ? 'text-' . $item['icon_color'] : ''
|
||||
}}"></i>
|
||||
@endisset
|
||||
|
||||
{{-- Text --}}
|
||||
{{ $item['text'] }}
|
||||
|
||||
{{-- Label (optional) --}}
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }}">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
|
||||
</a>
|
||||
|
||||
</li>
|
31
resources/views/vendor/adminlte/partials/navbar/dropdown-item-submenu.blade.php
vendored
Normal file
31
resources/views/vendor/adminlte/partials/navbar/dropdown-item-submenu.blade.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="dropdown-submenu dropdown-hover">
|
||||
|
||||
{{-- Menu toggler --}}
|
||||
<a class="dropdown-item dropdown-toggle {{ $item['class'] }}" href=""
|
||||
data-toggle="dropdown" {!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
{{-- Icon (optional) --}}
|
||||
@isset($item['icon'])
|
||||
<i class="{{ $item['icon'] ?? '' }} {{
|
||||
isset($item['icon_color']) ? 'text-' . $item['icon_color'] : ''
|
||||
}}"></i>
|
||||
@endisset
|
||||
|
||||
{{-- Text --}}
|
||||
{{ $item['text'] }}
|
||||
|
||||
{{-- Label (optional) --}}
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }}">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
|
||||
</a>
|
||||
|
||||
{{-- Menu items --}}
|
||||
<ul class="dropdown-menu border-0 shadow">
|
||||
@each('adminlte::partials.navbar.dropdown-item', $item['submenu'], 'item')
|
||||
</ul>
|
||||
|
||||
</li>
|
13
resources/views/vendor/adminlte/partials/navbar/dropdown-item.blade.php
vendored
Normal file
13
resources/views/vendor/adminlte/partials/navbar/dropdown-item.blade.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
@inject('navbarItemHelper', 'JeroenNoten\LaravelAdminLte\Helpers\NavbarItemHelper')
|
||||
|
||||
@if ($navbarItemHelper->isSubmenu($item))
|
||||
|
||||
{{-- Dropdown submenu --}}
|
||||
@include('adminlte::partials.navbar.dropdown-item-submenu')
|
||||
|
||||
@elseif ($navbarItemHelper->isLink($item))
|
||||
|
||||
{{-- Dropdown link --}}
|
||||
@include('adminlte::partials.navbar.dropdown-item-link')
|
||||
|
||||
@endif
|
31
resources/views/vendor/adminlte/partials/navbar/menu-item-dropdown-menu.blade.php
vendored
Normal file
31
resources/views/vendor/adminlte/partials/navbar/menu-item-dropdown-menu.blade.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-item dropdown">
|
||||
|
||||
{{-- Menu toggler --}}
|
||||
<a class="nav-link dropdown-toggle {{ $item['class'] }}" href=""
|
||||
data-toggle="dropdown" {!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
{{-- Icon (optional) --}}
|
||||
@isset($item['icon'])
|
||||
<i class="{{ $item['icon'] }} {{
|
||||
isset($item['icon_color']) ? 'text-' . $item['icon_color'] : ''
|
||||
}}"></i>
|
||||
@endisset
|
||||
|
||||
{{-- Text --}}
|
||||
{{ $item['text'] }}
|
||||
|
||||
{{-- Label (optional) --}}
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }}">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
|
||||
</a>
|
||||
|
||||
{{-- Menu items --}}
|
||||
<ul class="dropdown-menu border-0 shadow">
|
||||
@each('adminlte::partials.navbar.dropdown-item', $item['submenu'], 'item')
|
||||
</ul>
|
||||
|
||||
</li>
|
86
resources/views/vendor/adminlte/partials/navbar/menu-item-dropdown-user-menu.blade.php
vendored
Normal file
86
resources/views/vendor/adminlte/partials/navbar/menu-item-dropdown-user-menu.blade.php
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
@php( $logout_url = View::getSection('logout_url') ?? config('adminlte.logout_url', 'logout') )
|
||||
@php( $profile_url = View::getSection('profile_url') ?? config('adminlte.profile_url', 'logout') )
|
||||
|
||||
@if (config('adminlte.usermenu_profile_url', false))
|
||||
@php( $profile_url = Auth::user()->adminlte_profile_url() )
|
||||
@endif
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $profile_url = $profile_url ? route($profile_url) : '' )
|
||||
@php( $logout_url = $logout_url ? route($logout_url) : '' )
|
||||
@else
|
||||
@php( $profile_url = $profile_url ? url($profile_url) : '' )
|
||||
@php( $logout_url = $logout_url ? url($logout_url) : '' )
|
||||
@endif
|
||||
|
||||
<li class="nav-item dropdown user-menu">
|
||||
|
||||
{{-- User menu toggler --}}
|
||||
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">
|
||||
@if(config('adminlte.usermenu_image'))
|
||||
<img src="{{ Auth::user()->adminlte_image() }}"
|
||||
class="user-image img-circle elevation-2"
|
||||
alt="{{ Auth::user()->name }}">
|
||||
@endif
|
||||
<span @if(config('adminlte.usermenu_image')) class="d-none d-md-inline" @endif>
|
||||
{{ Auth::user()->name }}
|
||||
</span>
|
||||
</a>
|
||||
|
||||
{{-- User menu dropdown --}}
|
||||
<ul class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
|
||||
|
||||
{{-- User menu header --}}
|
||||
@if(!View::hasSection('usermenu_header') && config('adminlte.usermenu_header'))
|
||||
<li class="user-header {{ config('adminlte.usermenu_header_class', 'bg-primary') }}
|
||||
@if(!config('adminlte.usermenu_image')) h-auto @endif">
|
||||
@if(config('adminlte.usermenu_image'))
|
||||
<img src="{{ Auth::user()->adminlte_image() }}"
|
||||
class="img-circle elevation-2"
|
||||
alt="{{ Auth::user()->name }}">
|
||||
@endif
|
||||
<p class="@if(!config('adminlte.usermenu_image')) mt-0 @endif">
|
||||
{{ Auth::user()->name }}
|
||||
@if(config('adminlte.usermenu_desc'))
|
||||
<small>{{ Auth::user()->adminlte_desc() }}</small>
|
||||
@endif
|
||||
</p>
|
||||
</li>
|
||||
@else
|
||||
@yield('usermenu_header')
|
||||
@endif
|
||||
|
||||
{{-- Configured user menu links --}}
|
||||
@each('adminlte::partials.navbar.dropdown-item', $adminlte->menu("navbar-user"), 'item')
|
||||
|
||||
{{-- User menu body --}}
|
||||
@hasSection('usermenu_body')
|
||||
<li class="user-body">
|
||||
@yield('usermenu_body')
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- User menu footer --}}
|
||||
<li class="user-footer">
|
||||
@if($profile_url)
|
||||
<a href="{{ $profile_url }}" class="btn btn-default btn-flat">
|
||||
<i class="fa fa-fw fa-user text-lightblue"></i>
|
||||
{{ __('adminlte::menu.profile') }}
|
||||
</a>
|
||||
@endif
|
||||
<a class="btn btn-default btn-flat float-right @if(!$profile_url) btn-block @endif"
|
||||
href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
||||
<i class="fa fa-fw fa-power-off text-red"></i>
|
||||
{{ __('adminlte::adminlte.log_out') }}
|
||||
</a>
|
||||
<form id="logout-form" action="{{ $logout_url }}" method="POST" style="display: none;">
|
||||
@if(config('adminlte.logout_method'))
|
||||
{{ method_field(config('adminlte.logout_method')) }}
|
||||
@endif
|
||||
{{ csrf_field() }}
|
||||
</form>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
5
resources/views/vendor/adminlte/partials/navbar/menu-item-fullscreen-widget.blade.php
vendored
Normal file
5
resources/views/vendor/adminlte/partials/navbar/menu-item-fullscreen-widget.blade.php
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="fullscreen" href="#" role="button">
|
||||
<i class="fas fa-expand-arrows-alt"></i>
|
||||
</a>
|
||||
</li>
|
15
resources/views/vendor/adminlte/partials/navbar/menu-item-left-sidebar-toggler.blade.php
vendored
Normal file
15
resources/views/vendor/adminlte/partials/navbar/menu-item-left-sidebar-toggler.blade.php
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" data-widget="pushmenu" href="#"
|
||||
@if(config('adminlte.sidebar_collapse_remember'))
|
||||
data-enable-remember="true"
|
||||
@endif
|
||||
@if(!config('adminlte.sidebar_collapse_remember_no_transition'))
|
||||
data-no-transition-after-reload="false"
|
||||
@endif
|
||||
@if(config('adminlte.sidebar_collapse_auto_size'))
|
||||
data-auto-collapse-size="{{ config('adminlte.sidebar_collapse_auto_size') }}"
|
||||
@endif>
|
||||
<i class="fas fa-bars"></i>
|
||||
<span class="sr-only">{{ __('adminlte::adminlte.toggle_navigation') }}</span>
|
||||
</a>
|
||||
</li>
|
26
resources/views/vendor/adminlte/partials/navbar/menu-item-link.blade.php
vendored
Normal file
26
resources/views/vendor/adminlte/partials/navbar/menu-item-link.blade.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-item">
|
||||
|
||||
<a class="nav-link {{ $item['class'] }}" href="{{ $item['href'] }}"
|
||||
@isset($item['target']) target="{{ $item['target'] }}" @endisset
|
||||
{!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
{{-- Icon (optional) --}}
|
||||
@isset($item['icon'])
|
||||
<i class="{{ $item['icon'] }} {{
|
||||
isset($item['icon_color']) ? 'text-' . $item['icon_color'] : ''
|
||||
}}"></i>
|
||||
@endisset
|
||||
|
||||
{{-- Text --}}
|
||||
{{ $item['text'] }}
|
||||
|
||||
{{-- Label (optional) --}}
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }}">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
|
||||
</a>
|
||||
|
||||
</li>
|
20
resources/views/vendor/adminlte/partials/navbar/menu-item-logout-link.blade.php
vendored
Normal file
20
resources/views/vendor/adminlte/partials/navbar/menu-item-logout-link.blade.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
@php( $logout_url = View::getSection('logout_url') ?? config('adminlte.logout_url', 'logout') )
|
||||
|
||||
@if (config('adminlte.use_route_url', false))
|
||||
@php( $logout_url = $logout_url ? route($logout_url) : '' )
|
||||
@else
|
||||
@php( $logout_url = $logout_url ? url($logout_url) : '' )
|
||||
@endif
|
||||
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
||||
<i class="fa fa-fw fa-power-off text-red"></i>
|
||||
{{ __('adminlte::adminlte.log_out') }}
|
||||
</a>
|
||||
<form id="logout-form" action="{{ $logout_url }}" method="POST" style="display: none;">
|
||||
@if(config('adminlte.logout_method'))
|
||||
{{ method_field(config('adminlte.logout_method')) }}
|
||||
@endif
|
||||
{{ csrf_field() }}
|
||||
</form>
|
||||
</li>
|
14
resources/views/vendor/adminlte/partials/navbar/menu-item-right-sidebar-toggler.blade.php
vendored
Normal file
14
resources/views/vendor/adminlte/partials/navbar/menu-item-right-sidebar-toggler.blade.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#" data-widget="control-sidebar"
|
||||
@if(!config('adminlte.right_sidebar_slide'))
|
||||
data-controlsidebar-slide="false"
|
||||
@endif
|
||||
@if(config('adminlte.right_sidebar_scrollbar_theme', 'os-theme-light') != 'os-theme-light')
|
||||
data-scrollbar-theme="{{ config('adminlte.right_sidebar_scrollbar_theme') }}"
|
||||
@endif
|
||||
@if(config('adminlte.right_sidebar_scrollbar_auto_hide', 'l') != 'l')
|
||||
data-scrollbar-auto-hide="{{ config('adminlte.right_sidebar_scrollbar_auto_hide') }}"
|
||||
@endif>
|
||||
<i class="{{ config('adminlte.right_sidebar_icon') }}"></i>
|
||||
</a>
|
||||
</li>
|
36
resources/views/vendor/adminlte/partials/navbar/menu-item-search-form.blade.php
vendored
Normal file
36
resources/views/vendor/adminlte/partials/navbar/menu-item-search-form.blade.php
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
<li class="nav-item">
|
||||
|
||||
{{-- Search toggle button --}}
|
||||
<a class="nav-link" data-widget="navbar-search" href="#" role="button">
|
||||
<i class="fas fa-search"></i>
|
||||
</a>
|
||||
|
||||
{{-- Search bar --}}
|
||||
<div class="navbar-search-block">
|
||||
<form class="form-inline" action="{{ $item['href'] }}" method="{{ $item['method'] }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<div class="input-group">
|
||||
|
||||
{{-- Search input --}}
|
||||
<input class="form-control form-control-navbar" type="search"
|
||||
@isset($item['id']) id="{{ $item['id'] }}" @endisset
|
||||
name="{{ $item['input_name'] }}"
|
||||
placeholder="{{ $item['text'] }}"
|
||||
aria-label="{{ $item['text'] }}">
|
||||
|
||||
{{-- Search buttons --}}
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-navbar" type="submit">
|
||||
<i class="fas fa-search"></i>
|
||||
</button>
|
||||
<button class="btn btn-navbar" type="button" data-widget="navbar-search">
|
||||
<i class="fas fa-times"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</li>
|
48
resources/views/vendor/adminlte/partials/navbar/menu-item.blade.php
vendored
Normal file
48
resources/views/vendor/adminlte/partials/navbar/menu-item.blade.php
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
@inject('navbarItemHelper', 'JeroenNoten\LaravelAdminLte\Helpers\NavbarItemHelper')
|
||||
|
||||
@if ($navbarItemHelper->isSearch($item))
|
||||
|
||||
{{-- Search form --}}
|
||||
@include('adminlte::partials.navbar.menu-item-search-form')
|
||||
|
||||
@elseif ($navbarItemHelper->isNotification($item))
|
||||
|
||||
{{-- Notification link --}}
|
||||
<x-adminlte-navbar-notification
|
||||
:id="$item['id']"
|
||||
:href="$item['href']"
|
||||
:icon="$item['icon']"
|
||||
:icon-color="$item['icon_color'] ?? null"
|
||||
:badge-label="$item['label'] ?? null"
|
||||
:badge-color="$item['label_color'] ?? null"
|
||||
:update-cfg="$item['update_cfg'] ?? null"
|
||||
:enable-dropdown-mode="$item['dropdown_mode'] ?? null"
|
||||
:dropdown-footer-label="$item['dropdown_flabel'] ?? null"
|
||||
/>
|
||||
|
||||
@elseif ($navbarItemHelper->isFullscreen($item))
|
||||
|
||||
{{-- Fullscreen toggle widget --}}
|
||||
@include('adminlte::partials.navbar.menu-item-fullscreen-widget')
|
||||
|
||||
@elseif ($navbarItemHelper->isDarkmode($item))
|
||||
|
||||
{{-- Darkmode toggle widget --}}
|
||||
<x-adminlte-navbar-darkmode-widget
|
||||
:icon-enabled="$item['icon_enabled'] ?? null"
|
||||
:color-enabled="$item['color_enabled'] ?? null"
|
||||
:icon-disabled="$item['icon_disabled'] ?? null"
|
||||
:color-disabled="$item['color_disabled'] ?? null"
|
||||
/>
|
||||
|
||||
@elseif ($navbarItemHelper->isSubmenu($item))
|
||||
|
||||
{{-- Dropdown menu --}}
|
||||
@include('adminlte::partials.navbar.menu-item-dropdown-menu')
|
||||
|
||||
@elseif ($navbarItemHelper->isLink($item))
|
||||
|
||||
{{-- Link --}}
|
||||
@include('adminlte::partials.navbar.menu-item-link')
|
||||
|
||||
@endif
|
57
resources/views/vendor/adminlte/partials/navbar/navbar-layout-topnav.blade.php
vendored
Normal file
57
resources/views/vendor/adminlte/partials/navbar/navbar-layout-topnav.blade.php
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
<nav class="main-header navbar
|
||||
{{ config('adminlte.classes_topnav_nav', 'navbar-expand-md') }}
|
||||
{{ config('adminlte.classes_topnav', 'navbar-white navbar-light') }}">
|
||||
|
||||
<div class="{{ config('adminlte.classes_topnav_container', 'container') }}">
|
||||
|
||||
{{-- Navbar brand logo --}}
|
||||
@if(config('adminlte.logo_img_xl'))
|
||||
@include('adminlte::partials.common.brand-logo-xl')
|
||||
@else
|
||||
@include('adminlte::partials.common.brand-logo-xs')
|
||||
@endif
|
||||
|
||||
{{-- Navbar toggler button --}}
|
||||
<button class="navbar-toggler order-1" type="button" data-toggle="collapse" data-target="#navbarCollapse"
|
||||
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
{{-- Navbar collapsible menu --}}
|
||||
<div class="collapse navbar-collapse order-3" id="navbarCollapse">
|
||||
{{-- Navbar left links --}}
|
||||
<ul class="nav navbar-nav">
|
||||
{{-- Configured left links --}}
|
||||
@each('adminlte::partials.navbar.menu-item', $adminlte->menu('navbar-left'), 'item')
|
||||
|
||||
{{-- Custom left links --}}
|
||||
@yield('content_top_nav_left')
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{-- Navbar right links --}}
|
||||
<ul class="navbar-nav ml-auto order-1 order-md-3 navbar-no-expand">
|
||||
{{-- Custom right links --}}
|
||||
@yield('content_top_nav_right')
|
||||
|
||||
{{-- Configured right links --}}
|
||||
@each('adminlte::partials.navbar.menu-item', $adminlte->menu('navbar-right'), 'item')
|
||||
|
||||
{{-- User menu link --}}
|
||||
@if(Auth::user())
|
||||
@if(config('adminlte.usermenu_enabled'))
|
||||
@include('adminlte::partials.navbar.menu-item-dropdown-user-menu')
|
||||
@else
|
||||
@include('adminlte::partials.navbar.menu-item-logout-link')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
{{-- Right sidebar toggler link --}}
|
||||
@if(config('adminlte.right_sidebar'))
|
||||
@include('adminlte::partials.navbar.menu-item-right-sidebar-toggler')
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</nav>
|
40
resources/views/vendor/adminlte/partials/navbar/navbar.blade.php
vendored
Normal file
40
resources/views/vendor/adminlte/partials/navbar/navbar.blade.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<nav class="main-header navbar
|
||||
{{ config('adminlte.classes_topnav_nav', 'navbar-expand') }}
|
||||
{{ config('adminlte.classes_topnav', 'navbar-white navbar-light') }}">
|
||||
|
||||
{{-- Navbar left links --}}
|
||||
<ul class="navbar-nav">
|
||||
{{-- Left sidebar toggler link --}}
|
||||
@include('adminlte::partials.navbar.menu-item-left-sidebar-toggler')
|
||||
|
||||
{{-- Configured left links --}}
|
||||
@each('adminlte::partials.navbar.menu-item', $adminlte->menu('navbar-left'), 'item')
|
||||
|
||||
{{-- Custom left links --}}
|
||||
@yield('content_top_nav_left')
|
||||
</ul>
|
||||
|
||||
{{-- Navbar right links --}}
|
||||
<ul class="navbar-nav ml-auto">
|
||||
{{-- Custom right links --}}
|
||||
@yield('content_top_nav_right')
|
||||
|
||||
{{-- Configured right links --}}
|
||||
@each('adminlte::partials.navbar.menu-item', $adminlte->menu('navbar-right'), 'item')
|
||||
|
||||
{{-- User menu link --}}
|
||||
@if(Auth::user())
|
||||
@if(config('adminlte.usermenu_enabled'))
|
||||
@include('adminlte::partials.navbar.menu-item-dropdown-user-menu')
|
||||
@else
|
||||
@include('adminlte::partials.navbar.menu-item-logout-link')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
{{-- Right sidebar toggler link --}}
|
||||
@if(config('adminlte.right_sidebar'))
|
||||
@include('adminlte::partials.navbar.menu-item-right-sidebar-toggler')
|
||||
@endif
|
||||
</ul>
|
||||
|
||||
</nav>
|
27
resources/views/vendor/adminlte/partials/sidebar/left-sidebar.blade.php
vendored
Normal file
27
resources/views/vendor/adminlte/partials/sidebar/left-sidebar.blade.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<aside class="main-sidebar {{ config('adminlte.classes_sidebar', 'sidebar-dark-primary elevation-4') }}">
|
||||
|
||||
{{-- Sidebar brand logo --}}
|
||||
@if(config('adminlte.logo_img_xl'))
|
||||
@include('adminlte::partials.common.brand-logo-xl')
|
||||
@else
|
||||
@include('adminlte::partials.common.brand-logo-xs')
|
||||
@endif
|
||||
|
||||
{{-- Sidebar menu --}}
|
||||
<div class="sidebar">
|
||||
<nav class="pt-2">
|
||||
<ul class="nav nav-pills nav-sidebar flex-column {{ config('adminlte.classes_sidebar_nav', '') }}"
|
||||
data-widget="treeview" role="menu"
|
||||
@if(config('adminlte.sidebar_nav_animation_speed') != 300)
|
||||
data-animation-speed="{{ config('adminlte.sidebar_nav_animation_speed') }}"
|
||||
@endif
|
||||
@if(!config('adminlte.sidebar_nav_accordion'))
|
||||
data-accordion="false"
|
||||
@endif>
|
||||
{{-- Configured sidebar links --}}
|
||||
@each('adminlte::partials.sidebar.menu-item', $adminlte->menu('sidebar'), 'item')
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
</aside>
|
5
resources/views/vendor/adminlte/partials/sidebar/menu-item-header.blade.php
vendored
Normal file
5
resources/views/vendor/adminlte/partials/sidebar/menu-item-header.blade.php
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-header {{ $item['class'] ?? '' }}">
|
||||
|
||||
{{ is_string($item) ? $item : $item['header'] }}
|
||||
|
||||
</li>
|
23
resources/views/vendor/adminlte/partials/sidebar/menu-item-link.blade.php
vendored
Normal file
23
resources/views/vendor/adminlte/partials/sidebar/menu-item-link.blade.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-item">
|
||||
|
||||
<a class="nav-link {{ $item['class'] }} @isset($item['shift']) {{ $item['shift'] }} @endisset"
|
||||
href="{{ $item['href'] }}" @isset($item['target']) target="{{ $item['target'] }}" @endisset
|
||||
{!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
<i class="{{ $item['icon'] ?? 'far fa-fw fa-circle' }} {{
|
||||
isset($item['icon_color']) ? 'text-'.$item['icon_color'] : ''
|
||||
}}"></i>
|
||||
|
||||
<p>
|
||||
{{ $item['text'] }}
|
||||
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }} right">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
</p>
|
||||
|
||||
</a>
|
||||
|
||||
</li>
|
25
resources/views/vendor/adminlte/partials/sidebar/menu-item-search-form.blade.php
vendored
Normal file
25
resources/views/vendor/adminlte/partials/sidebar/menu-item-search-form.blade.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<li>
|
||||
|
||||
<form class="form-inline my-2" action="{{ $item['href'] }}" method="{{ $item['method'] }}">
|
||||
{{ csrf_field() }}
|
||||
|
||||
<div class="input-group">
|
||||
|
||||
{{-- Search input --}}
|
||||
<input class="form-control form-control-sidebar" type="search"
|
||||
@isset($item['id']) id="{{ $item['id'] }}" @endisset
|
||||
name="{{ $item['input_name'] }}"
|
||||
placeholder="{{ $item['text'] }}"
|
||||
aria-label="{{ $item['text'] }}">
|
||||
|
||||
{{-- Search button --}}
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-sidebar" type="submit">
|
||||
<i class="fas fa-fw fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</li>
|
22
resources/views/vendor/adminlte/partials/sidebar/menu-item-search-menu.blade.php
vendored
Normal file
22
resources/views/vendor/adminlte/partials/sidebar/menu-item-search-menu.blade.php
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
<li>
|
||||
|
||||
<div class="form-inline my-2">
|
||||
<div class="input-group" data-widget="sidebar-search" data-arrow-sign="»">
|
||||
|
||||
{{-- Search input --}}
|
||||
<input class="form-control form-control-sidebar" type="search"
|
||||
@isset($item['id']) id="{{ $item['id'] }}" @endisset
|
||||
placeholder="{{ $item['text'] }}"
|
||||
aria-label="{{ $item['text'] }}">
|
||||
|
||||
{{-- Search button --}}
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-sidebar">
|
||||
<i class="fas fa-fw fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</li>
|
29
resources/views/vendor/adminlte/partials/sidebar/menu-item-treeview-menu.blade.php
vendored
Normal file
29
resources/views/vendor/adminlte/partials/sidebar/menu-item-treeview-menu.blade.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<li @isset($item['id']) id="{{ $item['id'] }}" @endisset class="nav-item has-treeview {{ $item['submenu_class'] }}">
|
||||
|
||||
{{-- Menu toggler --}}
|
||||
<a class="nav-link {{ $item['class'] }} @isset($item['shift']) {{ $item['shift'] }} @endisset"
|
||||
href="" {!! $item['data-compiled'] ?? '' !!}>
|
||||
|
||||
<i class="{{ $item['icon'] ?? 'far fa-fw fa-circle' }} {{
|
||||
isset($item['icon_color']) ? 'text-'.$item['icon_color'] : ''
|
||||
}}"></i>
|
||||
|
||||
<p>
|
||||
{{ $item['text'] }}
|
||||
<i class="fas fa-angle-left right"></i>
|
||||
|
||||
@isset($item['label'])
|
||||
<span class="badge badge-{{ $item['label_color'] ?? 'primary' }} right">
|
||||
{{ $item['label'] }}
|
||||
</span>
|
||||
@endisset
|
||||
</p>
|
||||
|
||||
</a>
|
||||
|
||||
{{-- Menu items --}}
|
||||
<ul class="nav nav-treeview">
|
||||
@each('adminlte::partials.sidebar.menu-item', $item['submenu'], 'item')
|
||||
</ul>
|
||||
|
||||
</li>
|
28
resources/views/vendor/adminlte/partials/sidebar/menu-item.blade.php
vendored
Normal file
28
resources/views/vendor/adminlte/partials/sidebar/menu-item.blade.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
@inject('sidebarItemHelper', 'JeroenNoten\LaravelAdminLte\Helpers\SidebarItemHelper')
|
||||
|
||||
@if ($sidebarItemHelper->isHeader($item))
|
||||
|
||||
{{-- Header --}}
|
||||
@include('adminlte::partials.sidebar.menu-item-header')
|
||||
|
||||
@elseif ($sidebarItemHelper->isLegacySearch($item) || $sidebarItemHelper->isCustomSearch($item))
|
||||
|
||||
{{-- Search form --}}
|
||||
@include('adminlte::partials.sidebar.menu-item-search-form')
|
||||
|
||||
@elseif ($sidebarItemHelper->isMenuSearch($item))
|
||||
|
||||
{{-- Search menu --}}
|
||||
@include('adminlte::partials.sidebar.menu-item-search-menu')
|
||||
|
||||
@elseif ($sidebarItemHelper->isSubmenu($item))
|
||||
|
||||
{{-- Treeview menu --}}
|
||||
@include('adminlte::partials.sidebar.menu-item-treeview-menu')
|
||||
|
||||
@elseif ($sidebarItemHelper->isLink($item))
|
||||
|
||||
{{-- Link --}}
|
||||
@include('adminlte::partials.sidebar.menu-item-link')
|
||||
|
||||
@endif
|
3
resources/views/vendor/adminlte/partials/sidebar/right-sidebar.blade.php
vendored
Normal file
3
resources/views/vendor/adminlte/partials/sidebar/right-sidebar.blade.php
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<aside class="control-sidebar control-sidebar-{{ config('adminlte.right_sidebar_theme') }}">
|
||||
@yield('right-sidebar')
|
||||
</aside>
|
Reference in New Issue
Block a user