Moved plugged in flash messaging
Just moved system notifications to it's proper template file and layer TODO: make seperate notification display for errors, and neutral system info
This commit is contained in:
parent
afce441001
commit
62a11168ec
2 changed files with 48 additions and 43 deletions
|
@ -4,12 +4,6 @@
|
|||
|
||||
@section('main-content')
|
||||
@parent
|
||||
@if($errors->any())
|
||||
<h4>{{$errors->first()}}</h4>
|
||||
@endif
|
||||
@if(session('message'))
|
||||
{!! session('message') !!}
|
||||
@endif
|
||||
<section role="loc-index">
|
||||
<div>
|
||||
<h1>Locations</h1>
|
||||
|
|
|
@ -1,41 +1,52 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>
|
||||
@yield('title')
|
||||
</title>
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<div role="nav-left">
|
||||
<a href="/" title="home" role="nav-links">
|
||||
<i class="ti ti-biohazard-off"></i>
|
||||
</a>
|
||||
<a href="/about" title="about" role="nav-links">
|
||||
<i class="ti ti-info-circle"></i>
|
||||
</a>
|
||||
<a href="/listings/page/1" title="instance listing" role="nav-links">
|
||||
<i class="ti ti-list"></i>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div role="nav-right">
|
||||
<a href="/den" title="login" role="nav-links">
|
||||
<i class="ti ti-door-enter" title="login"></i>
|
||||
</a>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>
|
||||
@yield('title')
|
||||
</title>
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<div role="nav-left">
|
||||
<a href="/" title="home" role="nav-links">
|
||||
<i class="ti ti-biohazard-off"></i>
|
||||
</a>
|
||||
<a href="/about" title="about" role="nav-links">
|
||||
<i class="ti ti-info-circle"></i>
|
||||
</a>
|
||||
<a href="/listings/page/1" title="instance listing" role="nav-links">
|
||||
<i class="ti ti-list"></i>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div role="nav-right">
|
||||
<a href="/den" title="login" role="nav-links">
|
||||
<i class="ti ti-door-enter" title="login"></i>
|
||||
</a>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
@if($errors->any())
|
||||
<div role="system-notice">
|
||||
<i class="ti ti-alert-circle"></i> {{$errors->first()}}
|
||||
</div>
|
||||
@endif
|
||||
@if(session('message'))
|
||||
<div role="system-notice">
|
||||
<i class="ti ti-alert-circle"></i> {!! session('message') !!}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<main>
|
||||
@section('main-content')
|
||||
@show
|
||||
</main>
|
||||
</body>
|
||||
</body>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
<div role="system-notice">
|
||||
<i class="ti ti-alert-circle"></i>
|
||||
</div>
|
||||
<main>
|
||||
@section('main-content')
|
||||
@show
|
||||
</main>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue