Exemplo n.º 1
21
<?php

echo Navbar::create(null, Navbar::FIX_TOP)->with_brand(Config::get('project.name.short', 'Project'), url('/'))->with_menus(Navigation::links([[trans('navigation.home'), url('/'), null, null, null, 'home']]))->collapsible();
Exemplo n.º 2
0
<?php

$navbar = [['title' => 'Events', 'link' => URL::route('events.index')], ['title' => 'Users', 'link' => URL::route('users.index')], ['title' => 'Games', 'link' => URL::route('application-usage.index')], ['Info', $info], ['Extras', [['title' => 'Live Dashboard', 'link' => URL::route('dashboard.index')], ['title' => 'Achievements', 'link' => URL::route('achievements.index')], ['title' => 'User Achievements', 'link' => URL::route('user-achievements.index')], ['title' => 'LANs', 'link' => URL::route('lans.index')], ['title' => 'Roles', 'link' => URL::route('roles.index')], ['title' => 'User Roles', 'link' => URL::route('user-roles.index')], ['title' => 'Event Types', 'link' => URL::route('event-types.index')]]], ['Links', $links]];
echo Navbar::create(Navbar::NAVBAR_TOP)->withBrand('<img src="' . asset('img/logo.png') . '" width="82" height="29" alt="LANager Logo">')->withContent(Navigation::links($navbar))->withContent(View::make('layouts/default/auth'));