forked from projects/fipamo
ro
3d17771f76
The first part of improving the API is removing all admin functions from the front end so those no admin methods will be available client side. The urls in the FipamoAdmin js file have been changed to post directly to the system and they are handled from there. To account for this change controller routes for every standard method have been created for better organization and readability. The FipamoAdmin js file will be integrated with the rest of the front end code and will not be seperate library
46 lines
1.2 KiB
PHP
46 lines
1.2 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">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<title>
|
|
@yield('title')
|
|
</title>
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash/start.css">
|
|
<link rel="shortcut icon" href="/favicon.png" type="image/x-icon">
|
|
|
|
</head>
|
|
<body>
|
|
<script>0</script>
|
|
<header>
|
|
@if($status)
|
|
<nav class="top-nav">
|
|
<a href="/dashboard"><img alt="fipamo logo" id="the-logo" src="/assets/images/global/fipamo-logo-primary.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>
|
|
<main>
|
|
@section('main-content')
|
|
@show
|
|
</main>
|
|
<footer>
|
|
|
|
</footer>
|
|
@section('scripting')
|
|
@show
|
|
</body>
|
|
|
|
</html>
|