2016-01-26 23:20:08 -05:00
|
|
|
@extends('dashboard.core')
|
|
|
|
|
|
|
|
@section('dashboard-body')
|
2018-01-12 23:48:21 -05:00
|
|
|
<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
|
2018-01-12 22:57:31 -05:00
|
|
|
<li class="list-group-item">
|
2018-01-12 23:48:21 -05:00
|
|
|
<a
|
|
|
|
class="list-group-item-link"
|
|
|
|
href="{{ url('/dashboard/' . $menu_item[1]) }}">
|
|
|
|
|
|
|
|
{{ $menu_item[0] }}
|
2018-01-12 22:57:31 -05:00
|
|
|
</a>
|
|
|
|
</li>
|
2018-01-12 23:48:21 -05:00
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2016-01-26 23:20:08 -05:00
|
|
|
@endsection
|