123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!DOCTYPE html>
- <html lang="de">
- <head>
- <meta charset="utf-8">
- <title>@yield('title') Dumbo</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link href="{{ asset('css/bootstrap-superhero.min.css') }}" type="text/css" rel="stylesheet">
- <link href="{{ asset('css/general.css') }}" type="text/css" rel="stylesheet">
- @yield('styles')
- </head>
- <body><div id="wrap">
- <div class="navbar navbar-inversex navbar-static-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="glyphicon glyphicon-menu-hamburger" aria-hidden="true"></span>
- </button>
- {{ HTML::link('/', 'Dumbo', array("class" => "navbar-brand")) }}
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav">
- <li>{{ HTML::link('beliebt', 'Beliebt (Wertung)') }}</li>
- <li>{{ HTML::link('vorgeschlagen', 'Vorgeschlagen (Datum)') }}</li>
- <li>{{ HTML::link('gesehen', 'Gesehen') }}</li>
- <li>{{ HTML::link('neu', 'Film vorschlagen')}}</li>
- <li>{{ HTML::link('stats', 'Statistiken') }}</li>
- </ul>
- <ul class="nav navbar-nav pull-right">
- <li><a href="http://git.ascarion.org/daniel/dumbo">Quellcode</a></li>
- @if(is_null(Auth::user()))
- <li>{{ HTML::link('login', 'Login') }}</li>
- @else
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">
- <img src="{{ Auth::user()->getAvatar() }}" height="25" }}>
- {{Auth::user()->name}} <span class="caret"></span></a>
- <ul class="dropdown-menu">
- <li>{{ HTML::link('settings', 'Einstellungen')}}</li>
- @if(Auth::user()->admin)
- <li>{{ HTML::link('users', 'Benutzerverwaltung')}}</li>
- <li>{{ HTML::link('news', 'News erstellen')}}</li>
- @endif
- <li class="divider"></li>
- <li>{{ HTML::link('logout', "Logout")}}
- </ul>
- </li>
- @endif
- </ul>
- </div>
- </div>
- </div>
- @if(isset($message))
- <div class="container">
- <div class="alert alert-success alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- {{ $message }}
- </div>
- </div>
- @endif
- @if(Session::has('message'))
- <div class="container">
- <div class="alert alert-success alert-dismissable">
- <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
- {{ Session::get('message') }} <?php Session::forget('message'); ?>
- </div>
- </div>
- @endif
- <div class="container" id="content">
- @yield('content')
- </div>
- <div id="push"></div>
- </div>
- <footer id="footer">
- <div class="container">
- <hr>
- <small>© 2013-{{ date("Y") }} — Daniel Müllers</small>
- </div>
- </footer>
- <script type="text/javascript" src="{{ asset('js/jquery-2.0.3.min.js') }}"></script>
- <script type="text/javascript" src="{{ asset('js/bootstrap.min.js') }}"></script>
- @yield('script')
- </body>
- </html>
|