forked from projects/fipamo
ro
367f20d8fa
Brought over a template from the old build to see how the conversion process would go (it's not bad) and see if the CSS would still stick (it did) The wiring will be finished when the auth class is completed
56 lines
1.1 KiB
PHP
56 lines
1.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($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>
|