Laravel iframe in menu

30.0 USD

30.0 USD peopleperhour Technology & Programming Overseas
1 days ago

Description

I need some help with an iframe that refuse to work for me.
I have left menuin left menu I have for example adminthen admin calls a file called manaAdmins.phpthe file open up but it open up outside of the iframe
Do you have any idea how to do this?
Code
// Super Admin Routes// ✅ Correct route group exampleRoute::middleware(['auth', 'superAdmin'])->prefix('superadmin')->group(function () { Route::get('/create-admin', [AdminController::class, 'createAdmin'])->name('iframe.superadmin.createAdmin'); Route::post('storeAdmin', [AdminController::class, 'storeAdmin'])->name('iframe.superadmin.storeAdmin'); Route::get('logs', [AdminController::class, 'viewLogs'])->name('iframe.superadmin.logs'); Route::get('/manage-admins', [AdminController::class, 'iframeManageAdmins'])->name('iframe.superadmin.manageAdmins');}); // ✅ This closing brace must be there and not duplicated
in the menu blade
if ($isSuperAdmin) { $menu[] = [ 'title' => 'Admin Panel', 'links' => [ ['label' => 'Dashboard', 'route_name' => 'secure-briefing.admin'], ['label' => 'Admins', 'route_name' => 'superadmin.manageAdmins'], ['label' => 'Logs for all', 'route_name' => 'superadmin.logs'], ], ]; }

{{ $localWelcome }} {{ $title }} {{ $lastName }}
@if($flagCode)
@endif {{ $country }}

@foreach ($menu as $section)
{{ $section['title'] }}
@foreach ($section['links'] as $link)
{{ $link['label'] }}
@endforeach
@endforeach
there is a controller also and a manage Admin page

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now

Similar Teleworks

Aspire Catering – Online Ordering Website Brief Objective Build a mobile-friendly website that allows customers to: - View an interactive, customizable sandwich and catering menu - Place real-time or scheduled orders - Pay securely online - Receive confirmation by email/SMS - Log in to manage their account and order history Core Features Example site - https://www.philpotts.co.uk/?mid=1649 Online Menu with Customization - Numerous Categories: Eg breakfast, Lunch, Salads, Savouries, Cakes, Grazing Platters, Canapés - Item customization (e.g. bread type, toppings, dietary filters: GF, VG, V) - Minimum order rules per item (e.g. 5 or 10 portions) Real-Time Ordering / Scheduling - Choose between ASAP and scheduled orders - Delivery or pickup time slots - Optional availability calendar (e.g. disable Sundays) Secure Online Payments - Integrate with Stripe or PayPal - PCI-compliant, SSL-secured checkout - Optional tip/gratuity field Client Login / Account System - Register, log in, reset password - View past orders and reorder - Save delivery addresses Order Confirmation - Automated email receipts - Optional SMS confirmation via Twilio or similar - Admin email alert for new orders Mobile-Friendly Responsive Design - Clean layout for easy use on phones/tablets - Accessibility-friendly Nice to have • Delivery zone checker (postcode-based) Back Office (Admin Panel) - Dashboard to view/manage orders - Export order reports (CSV) - Update menu items, pricing, descriptions, availability - Manage user accounts Content to Be Provided by You - High-quality food images (optional) - Final menu items and prices - Branding: logo, brand colors, fonts - Business hours and contact info Other • Client happy to populate site once sample info added • Training manual to be provided • Support on integration of payment portal • Have current website it could live on ( https://www.aspire-leeds.co.uk/)
250.0 GBP Technology & Programming peopleperhour Overseas
2 days ago