57 lines
1.9 KiB
PHP
57 lines
1.9 KiB
PHP
<!doctype html>
|
|
<html class="no-js" lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<title>@yield('pageHeading') {{isset($pageName) ? ' | '.$pageName: ''}}</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="{{asset('resources/assets/css/font-awesome.min.css')}}" />
|
|
<link rel="stylesheet" href="{{asset('resources/assets/admin/css/vendor.css')}}">
|
|
@yield('stylesheets')
|
|
<script>
|
|
window.assetsPath = "{{asset('resources/assets/admin')}}";
|
|
|
|
var themeSettings = (localStorage.getItem ('themeSettings')) ? JSON.parse (localStorage.getItem ('themeSettings')) :
|
|
{};
|
|
var themeName = themeSettings.themeName || '';
|
|
if (themeName) {
|
|
document.write ('<link rel="stylesheet" id="theme-style" href="{{asset('resources/assets/admin/css/')}}/app-' + themeName + '.css">');
|
|
} else {
|
|
document.write ('<link rel="stylesheet" id="theme-style" href="{{asset('resources/assets/admin/css/')}}/app.css">');
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
@if (session('success'))
|
|
<div class="notification alert alert-success">
|
|
<i class="fa fw fa-check"></i>
|
|
<strong>{{ session('success') }}</strong>
|
|
</div>
|
|
@endif
|
|
|
|
@if (session('error'))
|
|
<div data-alert class="notification alert alert-danger">
|
|
<i class="fa fw fa-remove"></i>
|
|
<strong>{{ session('error') }}</strong>
|
|
</div>
|
|
@endif
|
|
|
|
@yield('page')
|
|
|
|
<div class="ref" id="ref">
|
|
<div class="color-primary"></div>
|
|
<div class="chart">
|
|
<div class="color-primary"></div>
|
|
<div class="color-secondary"></div>
|
|
</div>
|
|
</div>
|
|
<script src="{{asset('resources/assets/admin/js')}}/vendor.js"></script>
|
|
<script src="{{asset('resources/assets/admin/js')}}/app.js"></script>
|
|
@yield('javascripts')
|
|
</body>
|
|
|
|
</html> |