🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:aaea462a418fd518f071d7a41a40af26.php
<nav x-data="{ open: false }" class="bg-navy border-b border-navy-dark"> <!-- Primary Navigation Menu --> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="flex justify-between h-16"> <div class="flex"> <!-- Logo --> <div class="shrink-0 flex items-center"> <a href="<?php echo e(route('dashboard')); ?>"> <?php if (isset($component)) { $__componentOriginal8892e718f3d0d7a916180885c6f012e7 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal8892e718f3d0d7a916180885c6f012e7 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.application-logo','data' => ['class' => 'h-10 w-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('application-logo'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['class' => 'h-10 w-auto']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal8892e718f3d0d7a916180885c6f012e7)): ?> <?php $attributes = $__attributesOriginal8892e718f3d0d7a916180885c6f012e7; ?> <?php unset($__attributesOriginal8892e718f3d0d7a916180885c6f012e7); ?> <?php endif; ?> <?php if (isset($__componentOriginal8892e718f3d0d7a916180885c6f012e7)): ?> <?php $component = $__componentOriginal8892e718f3d0d7a916180885c6f012e7; ?> <?php unset($__componentOriginal8892e718f3d0d7a916180885c6f012e7); ?> <?php endif; ?> </a> </div> <!-- Navigation Links --> <div class="hidden space-x-4 sm:-my-px sm:ms-10 sm:flex items-center"> <a href="<?php echo e(route('dashboard')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('dashboard') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Dashboard </a> <?php if(auth()->user()->hasRole('Admin')): ?> <a href="<?php echo e(route('admin.dashboard')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.dashboard') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Admin Panel </a> <a href="<?php echo e(route('admin.projects')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.projects') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Projects </a> <a href="<?php echo e(route('admin.leads')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.leads') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Leads </a> <a href="<?php echo e(route('admin.financials')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.financials') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Financials </a> <a href="<?php echo e(route('admin.domains')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.domains') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Domains </a> <a href="<?php echo e(route('admin.attendance')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('admin.attendance') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Attendance </a> <?php endif; ?> <?php if(auth()->user()->hasRole('Tech Lead')): ?> <a href="<?php echo e(route('techlead.dashboard')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('techlead.dashboard') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Tech Lead Panel </a> <a href="<?php echo e(route('techlead.education')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('techlead.education') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Education </a> <a href="<?php echo e(route('techlead.leads')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('techlead.leads') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Leads </a> <?php endif; ?> <?php if(auth()->user()->hasRole('Developer')): ?> <a href="<?php echo e(route('developer.dashboard')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('developer.*') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Dev Panel </a> <?php endif; ?> <?php if(auth()->user()->hasRole('Sales')): ?> <a href="<?php echo e(route('sales.dashboard')); ?>" class="px-3 py-2 rounded-md text-sm font-medium <?php echo e(request()->routeIs('sales.*') ? 'bg-navy-light text-orange' : 'text-gray-300 hover:bg-navy-light hover:text-white'); ?> transition-colors duration-200"> Sales Panel </a> <?php endif; ?> </div> </div> <!-- Settings Dropdown --> <div class="hidden sm:flex sm:items-center sm:ms-6"> <?php if (isset($component)) { $__componentOriginaldf8083d4a852c446488d8d384bbc7cbe = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginaldf8083d4a852c446488d8d384bbc7cbe = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dropdown','data' => ['align' => 'right','width' => '48']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dropdown'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['align' => 'right','width' => '48']); ?> <?php $__env->slot('trigger', null, []); ?> <button class="inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-300 bg-navy hover:text-white focus:outline-none transition ease-in-out duration-150"> <img class="h-7 w-7 rounded-full object-cover mr-2 ring-1 ring-white/20" src="<?php echo e(Auth::user()->profile_photo_url); ?>" alt="<?php echo e(Auth::user()->name); ?>"> <div><?php echo e(Auth::user()->name); ?></div> <div class="ms-1"> <svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" /> </svg> </div> </button> <?php $__env->endSlot(); ?> <?php $__env->slot('content', null, []); ?> <div class="px-4 py-2 text-xs text-gray-400 border-b"> <?php echo e(auth()->user()->getRoleNames()->first() ?? 'No Role'); ?> </div> <?php if (isset($component)) { $__componentOriginal68cb1971a2b92c9735f83359058f7108 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal68cb1971a2b92c9735f83359058f7108 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dropdown-link','data' => ['href' => route('profile.edit')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dropdown-link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('profile.edit'))]); ?> <?php echo e(__('Profile')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal68cb1971a2b92c9735f83359058f7108)): ?> <?php $attributes = $__attributesOriginal68cb1971a2b92c9735f83359058f7108; ?> <?php unset($__attributesOriginal68cb1971a2b92c9735f83359058f7108); ?> <?php endif; ?> <?php if (isset($__componentOriginal68cb1971a2b92c9735f83359058f7108)): ?> <?php $component = $__componentOriginal68cb1971a2b92c9735f83359058f7108; ?> <?php unset($__componentOriginal68cb1971a2b92c9735f83359058f7108); ?> <?php endif; ?> <!-- Authentication --> <form method="POST" action="<?php echo e(route('logout')); ?>"> <?php echo csrf_field(); ?> <?php if (isset($component)) { $__componentOriginal68cb1971a2b92c9735f83359058f7108 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal68cb1971a2b92c9735f83359058f7108 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dropdown-link','data' => ['href' => route('logout'),'onclick' => 'event.preventDefault(); this.closest(\'form\').submit();']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dropdown-link'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['href' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('logout')),'onclick' => 'event.preventDefault(); this.closest(\'form\').submit();']); ?> <?php echo e(__('Log Out')); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal68cb1971a2b92c9735f83359058f7108)): ?> <?php $attributes = $__attributesOriginal68cb1971a2b92c9735f83359058f7108; ?> <?php unset($__attributesOriginal68cb1971a2b92c9735f83359058f7108); ?> <?php endif; ?> <?php if (isset($__componentOriginal68cb1971a2b92c9735f83359058f7108)): ?> <?php $component = $__componentOriginal68cb1971a2b92c9735f83359058f7108; ?> <?php unset($__componentOriginal68cb1971a2b92c9735f83359058f7108); ?> <?php endif; ?> </form> <?php $__env->endSlot(); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginaldf8083d4a852c446488d8d384bbc7cbe)): ?> <?php $attributes = $__attributesOriginaldf8083d4a852c446488d8d384bbc7cbe; ?> <?php unset($__attributesOriginaldf8083d4a852c446488d8d384bbc7cbe); ?> <?php endif; ?> <?php if (isset($__componentOriginaldf8083d4a852c446488d8d384bbc7cbe)): ?> <?php $component = $__componentOriginaldf8083d4a852c446488d8d384bbc7cbe; ?> <?php unset($__componentOriginaldf8083d4a852c446488d8d384bbc7cbe); ?> <?php endif; ?> </div> <!-- Hamburger --> <div class="-me-2 flex items-center sm:hidden"> <button @click="open = ! open" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-white hover:bg-navy-light focus:outline-none focus:bg-navy-light focus:text-white transition duration-150 ease-in-out"> <svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24"> <path :class="{'hidden': open, 'inline-flex': ! open }" class="inline-flex" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" /> <path :class="{'hidden': ! open, 'inline-flex': open }" class="hidden" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> </svg> </button> </div> </div> </div> <!-- Responsive Navigation Menu --> <div :class="{'block': open, 'hidden': ! open}" class="hidden sm:hidden bg-navy-dark"> <div class="pt-2 pb-3 space-y-1"> <a href="<?php echo e(route('dashboard')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Dashboard</a> <?php if(auth()->user()->hasRole('Admin')): ?> <a href="<?php echo e(route('admin.dashboard')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Admin Panel</a> <a href="<?php echo e(route('admin.projects')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Projects</a> <a href="<?php echo e(route('admin.leads')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Leads</a> <a href="<?php echo e(route('admin.financials')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Financials</a> <a href="<?php echo e(route('admin.domains')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Domains</a> <a href="<?php echo e(route('admin.attendance')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Attendance</a> <?php endif; ?> <?php if(auth()->user()->hasRole('Tech Lead')): ?> <a href="<?php echo e(route('techlead.dashboard')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Tech Lead Panel</a> <a href="<?php echo e(route('techlead.education')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Education</a> <a href="<?php echo e(route('techlead.leads')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Leads</a> <?php endif; ?> <?php if(auth()->user()->hasRole('Developer')): ?> <a href="<?php echo e(route('developer.dashboard')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Dev Panel</a> <?php endif; ?> <?php if(auth()->user()->hasRole('Sales')): ?> <a href="<?php echo e(route('sales.dashboard')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Sales Panel</a> <?php endif; ?> </div> <!-- Responsive Settings Options --> <div class="pt-4 pb-1 border-t border-navy-light"> <div class="px-4"> <div class="flex items-center gap-3"> <img class="h-10 w-10 rounded-full object-cover ring-2 ring-orange/30" src="<?php echo e(Auth::user()->profile_photo_url); ?>" alt="<?php echo e(Auth::user()->name); ?>"> <div> <div class="font-medium text-base text-white"><?php echo e(Auth::user()->name); ?></div> <div class="font-medium text-sm text-gray-400"><?php echo e(Auth::user()->email); ?></div> <div class="text-xs text-orange"><?php echo e(auth()->user()->getRoleNames()->first() ?? 'No Role'); ?></div> </div> </div> </div> <div class="mt-3 space-y-1"> <a href="<?php echo e(route('profile.edit')); ?>" class="block px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white">Profile</a> <!-- Authentication --> <form method="POST" action="<?php echo e(route('logout')); ?>"> <?php echo csrf_field(); ?> <button type="submit" class="block w-full text-left px-4 py-2 text-sm text-gray-300 hover:bg-navy-light hover:text-white"> Log Out </button> </form> </div> </div> </div> </nav> <?php /**PATH /home/websparkit/public_html/clint.websparkit.com/laravel/resources/views/layouts/navigation.blade.php ENDPATH**/ ?>
Save Changes
Cancel
Create New File
Create New Folder