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:
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>
|
Reference in New Issue
Block a user