phpvms/resources/views/layouts/default/app.blade.php

136 lines
4.5 KiB
PHP
Raw Normal View History

2017-06-09 02:28:26 +08:00
<!DOCTYPE html>
2017-07-28 20:13:52 +08:00
<html lang="en">
<head>
2020-02-01 03:32:43 +08:00
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no'
name='viewport'/>
2018-03-13 00:00:12 +08:00
2020-02-01 03:32:43 +08:00
<title>@yield('title') - {{ config('app.name') }}</title>
2020-02-01 03:32:43 +08:00
{{-- Start of required lines block. DON'T REMOVE THESE LINES! They're required or might break things --}}
<meta name="base-url" content="{!! url('') !!}">
<meta name="api-key" content="{!! Auth::check() ? Auth::user()->api_key: '' !!}">
<meta name="csrf-token" content="{!! csrf_token() !!}">
{{-- End the required lines block --}}
2020-02-01 03:32:43 +08:00
<link rel="shortcut icon" type="image/png" href="{{ public_asset('/assets/img/favicon.png') }}"/>
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet"/>
<link href="{{ public_asset('/assets/frontend/css/bootstrap.min.css') }}" rel="stylesheet"/>
<link href="{{ public_mix('/assets/frontend/css/now-ui-kit.css') }}" rel="stylesheet"/>
<link href="{{ public_asset('/assets/frontend/css/styles.css') }}" rel="stylesheet"/>
2020-02-01 03:32:43 +08:00
{{-- Start of the required files in the head block --}}
<link href="{{ public_mix('/assets/global/css/vendor.css') }}" rel="stylesheet"/>
<style type="text/css">
@yield('css')
2020-02-01 03:32:43 +08:00
</style>
2018-06-22 22:26:08 +08:00
2020-02-01 03:32:43 +08:00
<script>
2018-03-17 00:38:06 +08:00
@yield('scripts_head')
2020-02-01 03:32:43 +08:00
</script>
{{-- End of the required stuff in the head block --}}
2018-04-07 06:10:45 +08:00
2017-06-09 02:28:26 +08:00
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg " style="background: #067ec1;">
2020-02-01 03:32:43 +08:00
<a class="navbar-brand text-white" href="{{ url('/') }}" style="margin-left: 20px;">
<img src="{{ public_asset('/assets/img/logo_blue_bg.svg') }}" width="135px" alt=""/>
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation"
aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars text-white"></i>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navigation">
2020-02-01 03:32:43 +08:00
@include('nav')
</div>
2017-07-28 20:13:52 +08:00
</nav>
<!-- End Navbar -->
2018-05-05 02:59:47 +08:00
<div id="top_anchor" class="clearfix" style="height: 25px;"></div>
<div class="wrapper">
2020-02-01 03:32:43 +08:00
<div class="clear"></div>
<div class="container-fluid" style="width: 85%!important;">
2020-02-01 03:32:43 +08:00
{{-- These should go where you want your content to show up --}}
@include('flash.message')
@yield('content')
{{-- End the above block--}}
2020-02-01 03:32:43 +08:00
</div>
<div class="clearfix" style="height: 200px;"></div>
2018-01-20 07:13:59 +08:00
2020-02-01 03:32:43 +08:00
<footer class="footer footer-default">
<div class="container">
<div class="copyright">
{{--
2021-06-20 03:58:56 +08:00
This "powered by phpVMS" must be kept visible. as-per the the license
If you want to remove the attribution, a license can be purchased
https://docs.phpvms.net/#license
2020-02-01 03:32:43 +08:00
--}}
powered by <a href="http://www.phpvms.net" target="_blank">phpvms</a>
</div>
</div>
</footer>
2017-07-28 20:13:52 +08:00
</div>
2017-06-09 02:28:26 +08:00
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
{{-- Start of the required tags block. Don't remove these or things will break!! --}}
<script src="{{ public_mix('/assets/global/js/vendor.js') }}"></script>
<script src="{{ public_mix('/assets/frontend/js/vendor.js') }}"></script>
<script src="{{ public_mix('/assets/frontend/js/app.js') }}"></script>
@yield('scripts')
{{--
It's probably safe to keep this to ensure you're in compliance
with the EU Cookie Law https://privacypolicies.com/blog/eu-cookie-law
--}}
<script>
window.addEventListener("load", function () {
window.cookieconsent.initialise({
2018-09-20 22:36:15 +08:00
palette: {
popup: {
background: "#edeff5",
text: "#838391"
},
2018-09-20 22:36:15 +08:00
button: {
"background": "#067ec1"
}
},
2018-09-20 22:36:15 +08:00
position: "top",
})
});
</script>
{{-- End the required tags block --}}
2017-08-17 07:18:47 +08:00
<script>
$(document).ready(function () {
2018-04-07 06:10:45 +08:00
$(".select2").select2({width: 'resolve'});
});
2017-08-17 07:18:47 +08:00
</script>
{{--
Google Analytics tracking code. Only active if an ID has been entered
You can modify to any tracking code and re-use that settings field, or
just remove it completely. Only added as a convenience factor
--}}
@php
$gtag = setting('general.google_analytics_id');
@endphp
@if($gtag)
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id={{ $gtag }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ $gtag }}');
</script>
@endif
{{-- End of the Google Analytics code --}}
2017-06-09 02:28:26 +08:00
</body>
2017-06-09 03:16:50 +08:00
</html>