2015-07-13 03:01:42 +08:00
|
|
|
<!DOCTYPE html>
|
2020-04-12 03:37:51 +08:00
|
|
|
<html lang="{{ config('app.lang') }}"
|
|
|
|
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
|
|
|
|
class="{{ setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '' }}@yield('body-class')">
|
2015-07-13 03:01:42 +08:00
|
|
|
<head>
|
2016-08-14 19:29:35 +08:00
|
|
|
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
|
2015-08-29 23:00:19 +08:00
|
|
|
|
2015-12-01 06:23:48 +08:00
|
|
|
<!-- Meta -->
|
2015-07-13 03:01:42 +08:00
|
|
|
<meta name="viewport" content="width=device-width">
|
2015-08-13 06:42:42 +08:00
|
|
|
<meta name="token" content="{{ csrf_token() }}">
|
2019-08-04 21:26:39 +08:00
|
|
|
<meta name="base-url" content="{{ url('/') }}">
|
2015-10-19 02:40:33 +08:00
|
|
|
<meta charset="utf-8">
|
2015-08-29 23:00:19 +08:00
|
|
|
|
|
|
|
<!-- Styles and Fonts -->
|
2018-03-17 21:03:13 +08:00
|
|
|
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
|
|
|
|
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
|
2015-08-29 23:00:19 +08:00
|
|
|
|
2015-07-13 04:31:15 +08:00
|
|
|
@yield('head')
|
2019-07-06 21:52:25 +08:00
|
|
|
|
|
|
|
<!-- Custom Styles & Head Content -->
|
2018-10-17 01:49:16 +08:00
|
|
|
@include('partials.custom-styles')
|
2018-09-22 18:53:40 +08:00
|
|
|
@include('partials.custom-head')
|
2015-08-29 23:00:19 +08:00
|
|
|
|
2019-04-14 20:01:51 +08:00
|
|
|
@stack('head')
|
2019-07-06 21:52:25 +08:00
|
|
|
|
|
|
|
<!-- Translations for JS -->
|
|
|
|
@stack('translations')
|
2018-10-17 01:49:16 +08:00
|
|
|
</head>
|
|
|
|
<body class="@yield('body-class')">
|
2015-08-31 18:43:28 +08:00
|
|
|
|
2018-10-17 01:49:16 +08:00
|
|
|
@include('partials.notifications')
|
|
|
|
@include('common.header')
|
2015-07-22 05:11:30 +08:00
|
|
|
|
2019-08-25 22:44:51 +08:00
|
|
|
<div id="content" class="block">
|
2015-07-13 03:01:42 +08:00
|
|
|
@yield('content')
|
2019-08-25 22:44:51 +08:00
|
|
|
</div>
|
2015-07-13 03:01:42 +08:00
|
|
|
|
2020-03-19 11:28:06 +08:00
|
|
|
@include('common.footer')
|
|
|
|
|
2019-08-25 18:30:26 +08:00
|
|
|
<div back-to-top class="primary-background print-hidden">
|
2016-02-09 04:42:41 +08:00
|
|
|
<div class="inner">
|
2018-02-18 03:49:00 +08:00
|
|
|
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
|
2016-02-09 04:42:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-17 01:49:16 +08:00
|
|
|
|
|
|
|
@yield('bottom')
|
|
|
|
<script src="{{ versioned_asset('dist/app.js') }}"></script>
|
|
|
|
@yield('scripts')
|
|
|
|
|
2015-07-13 03:01:42 +08:00
|
|
|
</body>
|
|
|
|
</html>
|