2016-09-21 12:10:37 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2016-10-06 11:30:39 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta name="generator" content="{{ config('app.name') }} v{{ config('app.version') }} (framework v{{ App::VERSION() }})">
|
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
<title>@yield('title') | @lang('global.app_name')</title>
|
|
|
|
<base href="{{ url('/') }}">
|
2016-10-06 11:30:39 +01:00
|
|
|
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
|
|
{{-- Cannot use $theme_url here: if a theme uses the base layout, it would also have to provide all these dependencies! --}}
|
|
|
|
{{-- As these files are shipped with core (not a theme) use the main app.version instead of the current theme's version --}}
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (App::environment() == 'production')
|
|
|
|
<link href="css/blue-twilight.min.css?v={{ $app_version_url }}" rel="stylesheet" />
|
|
|
|
@else
|
|
|
|
<link href="css/blue-twilight.css?v={{ $app_version_url }}" rel="stylesheet" />
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
|
|
|
@stack('styles')
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
@include('install.navbar')
|
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
{{-- Render breadcrumb within a container if present in the sub-view --}}
|
|
|
|
@if (View::hasSection('breadcrumb'))
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
@yield('breadcrumb')
|
|
|
|
</ol>
|
2016-10-06 11:30:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-03-24 14:43:53 +00:00
|
|
|
</div>
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (isset($error))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong><i class="fa fa-exclamation-circle fa-fw"></i></strong> {{ $error }}
|
2016-10-06 11:30:39 +01:00
|
|
|
</div>
|
2017-03-24 14:43:53 +00:00
|
|
|
</div>
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (isset($warning))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
<strong><i class="fa fa-warning fa-fw"></i></strong> {{ $warning }}
|
2016-10-06 11:30:39 +01:00
|
|
|
</div>
|
2017-03-24 14:43:53 +00:00
|
|
|
</div>
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (isset($success))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-success">
|
|
|
|
<strong><i class="fa fa-info-circle fa-fw"></i></strong> {{ $success }}
|
2016-10-06 11:30:39 +01:00
|
|
|
</div>
|
2017-03-24 14:43:53 +00:00
|
|
|
</div>
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (isset($info))
|
2016-10-06 11:30:39 +01:00
|
|
|
<div class="container">
|
2017-03-24 14:43:53 +00:00
|
|
|
<div class="alert alert-info">
|
|
|
|
<strong><i class="fa fa-info-circle fa-fw"></i></strong> {{ $info }}
|
|
|
|
</div>
|
2016-10-06 11:30:39 +01:00
|
|
|
</div>
|
2017-03-24 14:43:53 +00:00
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
<div class="container">
|
|
|
|
@yield('content')
|
2016-09-21 12:10:37 +01:00
|
|
|
</div>
|
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@include('themes.base.partials.copyright_admin')
|
|
|
|
|
2016-10-06 11:30:39 +01:00
|
|
|
{{-- Cannot use $theme_url here: if a theme uses the base layout, it would also have to provide all these dependencies! --}}
|
|
|
|
{{-- As these files are shipped with core (not a theme) use the main app.version instead of the current theme's version --}}
|
2017-03-24 14:43:53 +00:00
|
|
|
@if (App::environment() == 'production')
|
|
|
|
<script type="text/javascript" src="js/blue-twilight.min.js?v={{ $app_version_url }}"></script>
|
|
|
|
@else
|
|
|
|
<script type="text/javascript" src="js/blue-twilight.js?v={{ $app_version_url }}"></script>
|
|
|
|
@endif
|
2016-10-06 11:30:39 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
$.ajaxSetup({
|
|
|
|
headers: {
|
|
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@stack('scripts')
|
|
|
|
</body>
|
|
|
|
</html>
|