mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-29 09:59:35 -05:00
29 lines
991 B
PHP
29 lines
991 B
PHP
@extends('dashboard.core')
|
|
|
|
@section('dashboard-body')
|
|
<div class="list-group menu-list">
|
|
@foreach(App\Models\DashboardMenu::$menu as $menu_item)
|
|
@if(is_array($menu_item[1]))
|
|
@foreach($menu_item[1] as $submenu_item)
|
|
<li class="list-group-item">
|
|
<a
|
|
class="list-group-item-link"
|
|
href="{{ url('/dashboard/' . $submenu_item[1]) }}">
|
|
|
|
{{ $menu_item[0] }}: {{ $submenu_item[0] }}
|
|
</a>
|
|
</li>
|
|
@endforeach
|
|
@else
|
|
<li class="list-group-item">
|
|
<a
|
|
class="list-group-item-link"
|
|
href="{{ url('/dashboard/' . $menu_item[1]) }}">
|
|
|
|
{{ $menu_item[0] }}
|
|
</a>
|
|
</li>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
@endsection
|