Added controller to handle the login process and session management that stores information about the person that has logged in so that info is available through out the app when logged in
49 lines
1 KiB
PHP
49 lines
1 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="theme-color" content="#d66365" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>
|
|
@yield('title')
|
|
</title>
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash/start.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
@if($status)
|
|
<nav class="top-nav">
|
|
<a href="/dashboard"><img id="the-logo" src="/assets/images/global/fipamo-logo.svg"/></a>
|
|
<h1>{{ $title }}</h1>
|
|
<div class="nav-right">
|
|
@if($status)
|
|
@include('includes.nav')
|
|
@endif
|
|
</div>
|
|
</nav>
|
|
<div class="notify" role="note">
|
|
@include('includes.notifications')
|
|
</div>
|
|
@endif
|
|
</header>
|
|
@if(session('message'))
|
|
<div class="system-notice-message" role="status">
|
|
{!! session('message') !!}
|
|
</div>
|
|
@endif
|
|
|
|
<main>
|
|
@section('main-content')
|
|
@show
|
|
</main>
|
|
<footer>
|
|
|
|
</footer>
|
|
</body>
|
|
</body>
|
|
|
|
</html>
|