mega-commit: migrations, controllers, models, etc.
This commit is contained in:
parent
9732135e90
commit
2c6745e812
70 changed files with 2124 additions and 400 deletions
31
resources/views/manage/layout.blade.php
Normal file
31
resources/views/manage/layout.blade.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
{{-- Layout for admins --}}
|
||||
{{-- Will have a sidebar with links --}}
|
||||
{{-- Will have a top bar with account and link to main site--}}
|
||||
{{--@extends('layout')--}}
|
||||
|
||||
@push('head')
|
||||
<link rel="stylesheet" href="{{ asset('css/generic.css') }}">
|
||||
<link rel="stylesheet" href="{{ asset('css/manage.css') }}">
|
||||
@endpush
|
||||
|
||||
@section('body')
|
||||
<header>
|
||||
<a href="{{ route('manage') }}"><span>{{ config('app.name', 'CineFlex') }}</span></a>
|
||||
<div id="links">
|
||||
<a href="{{ route('home') }}">Main Site</a>
|
||||
<a href="{{ route('logout') }}">Logout</a>
|
||||
</div>
|
||||
</header>
|
||||
<div id="sidebar"> {{-- Page Aware --}}
|
||||
<a class="{{ Request::is('manage') ? 'active' : '' }}" href="{{ route('manage') }}">Dashboard</a>
|
||||
{{-- manage cinemas--}}
|
||||
<a class="{{ Request::is('manage/cinemas') ? 'active' : '' }}" href="{{ route('manage.cinemas') }}">Cinemas</a>
|
||||
{{-- <a class="{{ Request::is('manage/cinemas/employees') ? 'active' : '' }} child" href="{{ route('manage.cinemas.employees') }}">Employees</a>--}}
|
||||
<a class="{{ Request::is('manage/movies') ? 'active' : '' }}" href="{{ route('manage.movies') }}">Movies</a>
|
||||
<a class="{{ Request::is('manage/genres') ? 'active' : '' }}" href="{{ route('manage.genres') }}">Genres</a>
|
||||
</div>
|
||||
<main>
|
||||
@yield('content')
|
||||
@yield('main')
|
||||
</main>
|
||||
@endsection
|
Loading…
Add table
Add a link
Reference in a new issue