123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!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.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-inverse 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="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- {{ HTML::link('/', 'Dumbo', array("class" => "navbar-brand")) }}
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav">
- <li>{{ HTML::link('vorgeschlagen', 'Vorgeschlagen') }}</li>
- <li>{{ HTML::link('gesehen', 'Gesehen') }}</li>
- <li>{{ HTML::link('neu', 'Film vorschlagen')}}
- </ul>
- <ul class="nav navbar-nav pull-right">
- @if(is_null(Auth::user()))
- <li>{{ HTML::link('login', 'Login') }}</li>
- @else
- <li class="dropdown">
- <a class="dropdown-toggle" data-toggle="dropdown" href="#">{{Auth::user()->name}} <span class="caret"></span></a>
- <ul class="dropdown-menu">
- <li>{{ HTML::link('settings', 'Passwort & Email ändern')}}</li>
- @if(Auth::user()->admin)
- <li>{{ HTML::link('users', 'Benutzerverwaltung')}}</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') }}
- </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 — 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>
|