osb/resources/views/vendor/spark/layouts/app.blade.php
2017-11-03 16:26:07 +11:00

54 lines
1.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', config('app.name'))</title>
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<!-- CSS -->
<link href="/css/sweetalert.css" rel="stylesheet">
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
<!-- Scripts -->
@yield('scripts', '')
<!-- Global Spark Object -->
<script>
window.Spark = <?php echo json_encode(array_merge(
Spark::scriptVariables(), []
)); ?>;
</script>
</head>
<body class="with-navbar">
<div id="spark-app" v-cloak>
<!-- Navigation -->
@if (Auth::check())
@include('spark::nav.user')
@else
@include('spark::nav.guest')
@endif
<!-- Main Content -->
@yield('content')
<!-- Application Level Modals -->
@if (Auth::check())
@include('spark::modals.notifications')
@include('spark::modals.support')
@include('spark::modals.session-expired')
@endif
</div>
<!-- JavaScript -->
<script src="{{ mix('js/app.js') }}"></script>
<script src="/js/sweetalert.min.js"></script>
</body>
</html>