Initial Spark Install
This commit is contained in:
53
spark/resources/views/layouts/app.blade.php
Normal file
53
spark/resources/views/layouts/app.blade.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<!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>
|
44
spark/resources/views/layouts/blade/app.blade.php
Normal file
44
spark/resources/views/layouts/blade/app.blade.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<!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/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>
|
||||
<!-- Navigation -->
|
||||
@if (Auth::check())
|
||||
@include('spark::nav.blade.user')
|
||||
@else
|
||||
@include('spark::nav.guest')
|
||||
@endif
|
||||
|
||||
<!-- Main Content -->
|
||||
@yield('content')
|
||||
|
||||
<!-- JavaScript -->
|
||||
<script src="/js/app.js"></script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user