fipamo/resources/views/frame.blade.php

56 lines
1.1 KiB
PHP
Raw Normal View History

<!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($errors->any())
<div class="system-notice-error" role="status">
{{$errors->first()}}
</div>
@endif
@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>