Update (all): fix php formatting using laravel pint, fix blade using shufo
This commit is contained in:
@@ -14,23 +14,24 @@
|
||||
@yield('custom_styles')
|
||||
|
||||
</head>
|
||||
|
||||
<body class="theme-light">
|
||||
<div class="page">
|
||||
<div class="sticky-top">
|
||||
@include('layouts.admin.header')
|
||||
@include('layouts.admin.header')
|
||||
|
||||
@include('layouts.admin.navigation')
|
||||
@include('layouts.admin.navigation')
|
||||
|
||||
</div>
|
||||
<div class="page-wrapper">
|
||||
</div>
|
||||
<div class="page-wrapper">
|
||||
|
||||
@yield('content')
|
||||
@yield('content')
|
||||
|
||||
@include('layouts.admin.footer')
|
||||
@include('layouts.admin.footer')
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Core plugin JavaScript-->
|
||||
@@ -40,4 +41,5 @@
|
||||
@yield('custom_scripts')
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<footer class="footer footer-transparent d-print-none">
|
||||
<div class="container-xl">
|
||||
<div class="row text-center align-items-center flex-row-reverse">
|
||||
<div class="col-lg-auto ms-lg-auto">
|
||||
<ul class="list-inline list-inline-dots mb-0">
|
||||
{{-- <li class="list-inline-item"><a href="https://preview.tabler.io" target="_blank" class="link-secondary" rel="noopener">Tabler Demo</a></li>
|
||||
<div class="container-xl">
|
||||
<div class="row text-center align-items-center flex-row-reverse">
|
||||
<div class="col-lg-auto ms-lg-auto">
|
||||
<ul class="list-inline list-inline-dots mb-0">
|
||||
{{-- <li class="list-inline-item"><a href="https://preview.tabler.io" target="_blank" class="link-secondary" rel="noopener">Tabler Demo</a></li>
|
||||
<li class="list-inline-item"><a href="https://preview.tabler.io/docs/index.html" target="_blank" class="link-secondary" rel="noopener">Tabler Doc.</a></li>
|
||||
<li class="list-inline-item"><a href="https://preview.tabler.io/license.html" target="_blank" class="link-secondary" rel="noopener">Tabler License</a></li>
|
||||
<li class="list-inline-item"><a href="https://github.com/tabler/tabler" target="_blank" class="link-secondary" rel="noopener">Tabler Source code</a></li>
|
||||
@@ -14,22 +14,22 @@
|
||||
Sponsor
|
||||
</a>
|
||||
</li> --}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
|
||||
<ul class="list-inline list-inline-dots mb-0">
|
||||
<li class="list-inline-item">
|
||||
© {{ date('Y') }}
|
||||
<a href="{{ config('app.url') }}" class="link-secondary">{{ config('app.name') }}</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
Version {{ config('platform.general.app_version') }}
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
Created by Charles Teh
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
|
||||
<ul class="list-inline list-inline-dots mb-0">
|
||||
<li class="list-inline-item">
|
||||
© {{ date('Y') }}
|
||||
<a href="{{ config('app.url') }}" class="link-secondary">{{ config('app.name') }}</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
Version {{ config('platform.general.app_version') }}
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
Created by Charles Teh
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</footer>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -9,6 +10,7 @@
|
||||
|
||||
@vite('resources/sass/app.scss')
|
||||
</head>
|
||||
|
||||
<body class="border-top-wide border-primary d-flex flex-column">
|
||||
|
||||
<div class="page page-center">
|
||||
@@ -26,4 +28,5 @@
|
||||
|
||||
@vite('resources/js/app.js')
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@@ -1,34 +1,37 @@
|
||||
<header class="navbar navbar-expand-md navbar-light sticky-top d-print-none">
|
||||
<div class="container-xl">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<a href="#" class="h1 navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
|
||||
{{ config('app.name') }} CMS
|
||||
</a>
|
||||
<div class="navbar-nav flex-row order-md-last">
|
||||
|
||||
@auth
|
||||
<div class="nav-item dropdown">
|
||||
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
|
||||
<span class="avatar avatar-sm" style="background-image: url(https://eu.ui-avatars.com/api/?name={{ urlencode(auth()->user()->name) }})"></span>
|
||||
<div class="d-none d-xl-block ps-2">
|
||||
{{ auth()->user()->name ?? null }}
|
||||
</div>
|
||||
<div class="container-xl">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<a href="#" class="h1 navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
|
||||
{{ config('app.name') }} CMS
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
|
||||
<a href="{{ route('profile.show') }}" class="dropdown-item">{{ __('Profile') }}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<a href="{{ route('logout') }}" class="dropdown-item" onclick="event.preventDefault(); this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endauth
|
||||
<div class="navbar-nav flex-row order-md-last">
|
||||
|
||||
@auth
|
||||
<div class="nav-item dropdown">
|
||||
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown"
|
||||
aria-label="Open user menu">
|
||||
<span class="avatar avatar-sm"
|
||||
style="background-image: url(https://eu.ui-avatars.com/api/?name={{ urlencode(auth()->user()->name) }})"></span>
|
||||
<div class="d-none d-xl-block ps-2">
|
||||
{{ auth()->user()->name ?? null }}
|
||||
</div>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
|
||||
<a href="{{ route('profile.show') }}" class="dropdown-item">{{ __('Profile') }}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<form method="POST" action="{{ route('logout') }}">
|
||||
@csrf
|
||||
<a href="{{ route('logout') }}" class="dropdown-item"
|
||||
onclick="event.preventDefault(); this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@endauth
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
@@ -4,15 +4,18 @@
|
||||
<div class="container-xl">
|
||||
<ul class="navbar-nav">
|
||||
|
||||
<li class="nav-item @if(request()->routeIs('home')) active @endif">
|
||||
<a class="nav-link" href="{{ route('home') }}" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-door-exit" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M13 12v.01"></path>
|
||||
<path d="M3 21h18"></path>
|
||||
<path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5"></path>
|
||||
<path d="M14 7h7m-3 -3l3 3l-3 3"></path>
|
||||
<li class="nav-item @if (request()->routeIs('home')) active @endif">
|
||||
<a class="nav-link" href="{{ route('home') }}">
|
||||
<span
|
||||
class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-door-exit"
|
||||
width="24" height="24" viewBox="0 0 24 24" stroke-width="2"
|
||||
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M13 12v.01"></path>
|
||||
<path d="M3 21h18"></path>
|
||||
<path d="M5 21v-16a2 2 0 0 1 2 -2h7.5m2.5 10.5v7.5"></path>
|
||||
<path d="M14 7h7m-3 -3l3 3l-3 3"></path>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
@@ -21,11 +24,19 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="nav-item @if(request()->routeIs('dashboard')) active @endif">
|
||||
<a class="nav-link" href="{{ route('dashboard') }}" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
|
||||
|
||||
<li class="nav-item @if (request()->routeIs('dashboard')) active @endif">
|
||||
<a class="nav-link" href="{{ route('dashboard') }}">
|
||||
<span
|
||||
class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24"
|
||||
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
|
||||
stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
||||
<polyline points="5 12 3 12 12 3 21 12 19 12" />
|
||||
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
|
||||
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
{{ __('Dashboard') }}
|
||||
@@ -33,10 +44,13 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item @if(request()->routeIs('users.index')) active @endif">
|
||||
<a class="nav-link" href="{{ route('users.index') }}" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-users" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<li class="nav-item @if (request()->routeIs('users.index')) active @endif">
|
||||
<a class="nav-link" href="{{ route('users.index') }}">
|
||||
<span
|
||||
class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-users"
|
||||
width="24" height="24" viewBox="0 0 24 24" stroke-width="2"
|
||||
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<circle cx="9" cy="7" r="4"></circle>
|
||||
<path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2"></path>
|
||||
@@ -50,15 +64,18 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item @if(request()->routeIs('about')) active @endif">
|
||||
<a class="nav-link" href="{{ route('about') }}" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-info-circle" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<circle cx="12" cy="12" r="9"></circle>
|
||||
<line x1="12" y1="8" x2="12.01" y2="8"></line>
|
||||
<polyline points="11 12 12 12 12 16 13 16"></polyline>
|
||||
</svg>
|
||||
<li class="nav-item @if (request()->routeIs('about')) active @endif">
|
||||
<a class="nav-link" href="{{ route('about') }}">
|
||||
<span
|
||||
class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/file-text -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-info-circle"
|
||||
width="24" height="24" viewBox="0 0 24 24" stroke-width="2"
|
||||
stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<circle cx="12" cy="12" r="9"></circle>
|
||||
<line x1="12" y1="8" x2="12.01" y2="8"></line>
|
||||
<polyline points="11 12 12 12 12 16 13 16"></polyline>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
{{ __('About') }}
|
||||
@@ -67,43 +84,51 @@
|
||||
</li>
|
||||
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-list-details" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<a class="nav-link dropdown-toggle" href="#navbar-extra" data-bs-toggle="dropdown"
|
||||
data-bs-auto-close="outside" role="button" aria-expanded="false">
|
||||
<span
|
||||
class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/star -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon icon-tabler icon-tabler-list-details" width="24" height="24"
|
||||
viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none"
|
||||
stroke-linecap="round" stroke-linejoin="round">
|
||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
||||
<path d="M13 5h8"></path>
|
||||
<path d="M13 9h5"></path>
|
||||
<path d="M13 15h8"></path>
|
||||
<path d="M13 19h5"></path>
|
||||
<rect x="3" y="4" width="6" height="6" rx="1"></rect>
|
||||
<rect x="3" y="14" width="6" height="6" rx="1"></rect>
|
||||
<rect x="3" y="4" width="6" height="6"
|
||||
rx="1"></rect>
|
||||
<rect x="3" y="14" width="6" height="6"
|
||||
rx="1"></rect>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
Submenus
|
||||
Submenus
|
||||
</span>
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="#" >
|
||||
<a class="dropdown-item" href="#">
|
||||
Submenu Item #1
|
||||
</a>
|
||||
<div class="dropend">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" data-bs-toggle="dropdown" data-bs-auto-close="outside" role="button" aria-expanded="false">
|
||||
<a class="dropdown-item dropdown-toggle" href="#" data-bs-toggle="dropdown"
|
||||
data-bs-auto-close="outside" role="button" aria-expanded="false">
|
||||
Submenu Item #2
|
||||
</a>
|
||||
<div class="dropdown-menu">
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #1
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #2
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #3
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #1
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #2
|
||||
</a>
|
||||
<a href="#" class="dropdown-item">
|
||||
Subsubmenu Item #3
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a class="dropdown-item" href="#" >
|
||||
</div>
|
||||
<a class="dropdown-item" href="#">
|
||||
Submenu Item #3
|
||||
</a>
|
||||
</div>
|
||||
@@ -113,4 +138,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user