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

I am a small business involved in physical commodity trading internationally. This involves buying products, mostly FOB from 1 geography, at a defined price, and selling it to cutomers globally on a CFR to port basis using the global container freight market. The inputs for the FOB price would be made by me. The inputs for the freight costs would need to be made either by me or by third party companies so may need to be restricted in some way. Both of these inputs need to be able to be edited frequently ( daily ). The CRM should be able to send bespoke/customised offers to individual customers, in certain regions in the world, based on information in the CRM ( name of buyer, company name, payment term, currency, product expected margin, finance and insurance cost ). The bespoke offer must include a price which is calculated from combining the inputs of FOB price, the freight , the expected margin and costs including a currency exchange rate drawn from the daily xe.com rate. There could also be a second element of 'freight insurance' but that will come at a later stage. It should be possible to send these bespoke offers both via Email ( a formal offer ) and a much shorter more informal offer via Whatsapp to the customers. The CRM should also be able to easily issue invoices to customers once a deal is agreed and provide a summary of the deals done each week on a Friday to me so that the payment deadlines can be tracked. It should also automatically send out a reminder to customers of the due date 2 days prior to that date. I currently run something basic from a spreadsheet but this now needs more integration and to become easier to use. I've shared an example of this spreadsheet.
363.0 GBP Technology & Programming peopleperhour Overseas
19 hour ago
I need a freelancer to integrate the Metronic Tailwind React demo into existing DashboardPage.jsx. ***THIS IS FOR A SINGLE PAGE INTEGRATION*** All data can be placeholder/mock for now. This is strictly a UI/UX pass to replace existing dev-looking pages with proper SaaS visuals. Objective: Sidebar Navigation Use Metronic’s grouped sidebar layout with active page highlighting. Sections should be: plaintext Dashboard ├── /dashboard Users ├── External Users ├── Groups ├── Internal Users Policies ├── Tile Assignments Settings ├── SDK Generator ├── Logs Viewer ├── Settings Admin └── Tenants (only visible to platform admins) Top Navigation Bar Use Metronic’s default topbar with: • App Dropdown (left side dropdown) o Keep exactly as shown in the Metronic demo o Keep apps dropdown as Metronic demo apps o No need to store state or do anything with it yet • Avatar Dropdown Menu o Keep the existing dropdown from Metronic o Include "Logout", "Profile", "Settings" placeholdersetc Dashboard Page Content Inside /dashboard, use Metronic-style responsive cards: • Stat Cards: o Admin/Tenant info. o External Users o Active Policies o User Groups • Placeholder Log Card: o Title: Recent Activity o Show dummy entries o If no app is selected → show muted message: “Select an app to view logs” o Dummy policy logs Interactivity • All values can be hardcoded for now • Fake API calls or loading states optional • Null/empty states must be styled gracefully
150.0 GBP Technology & Programming peopleperhour Overseas
7 days ago