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
about-updates
Ro 1 year ago
parent afce441001
commit 62a11168ec
Signed by untrusted user: are0h
GPG Key ID: 29B551CDBD4D3B50

@ -4,12 +4,6 @@
@section('main-content') @section('main-content')
@parent @parent
@if($errors->any())
<h4>{{$errors->first()}}</h4>
@endif
@if(session('message'))
{!! session('message') !!}
@endif
<section role="loc-index"> <section role="loc-index">
<div> <div>
<h1>Locations</h1> <h1>Locations</h1>

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title> <title>
@ -7,6 +8,7 @@
</title> </title>
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf"> <link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
</head> </head>
<body> <body>
<header> <header>
<nav> <nav>
@ -29,13 +31,22 @@
</nav> </nav>
</header> </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"> <div role="system-notice">
<i class="ti ti-alert-circle"></i> <i class="ti ti-alert-circle"></i> {!! session('message') !!}
</div> </div>
@endif
<main> <main>
@section('main-content') @section('main-content')
@show @show
</main> </main>
</body> </body>
</body> </body>
</html> </html>
Loading…
Cancel
Save