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() }})">
|
|
|
|
|
|
|
|
<title>@lang('installer.app_name')</title>
|
|
|
|
<base href="{{ route('home', [], false) }}">
|
|
|
|
|
|
|
|
<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 --}}
|
|
|
|
<link href="themes/base/bootstrap/css/bootstrap.min.css?v={{ urlencode(config('app.version')) }}" rel="stylesheet">
|
|
|
|
<link href="themes/base/font-awesome/css/font-awesome.min.css?v={{ urlencode(config('app.version')) }}" rel="stylesheet">
|
|
|
|
<link href="themes/base/css/app.css?v={{ urlencode(config('app.version')) }}" rel="stylesheet">
|
|
|
|
<link href="themes/bootstrap3/theme.css?v={{ urlencode(config('app.version')) }}" rel="stylesheet">
|
|
|
|
|
|
|
|
@stack('styles')
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
@include('install.navbar')
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
@if (isset($error))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<strong><i class="fa fa-exclamation-circle fa-fw"></i></strong> {{ $error }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (isset($warning))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-warning">
|
|
|
|
<strong><i class="fa fa-warning fa-fw"></i></strong> {{ $warning }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (isset($success))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-success">
|
|
|
|
<strong><i class="fa fa-info-circle fa-fw"></i></strong> {{ $success }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (isset($info))
|
|
|
|
<div class="container">
|
|
|
|
<div class="alert alert-info">
|
|
|
|
<strong><i class="fa fa-info-circle fa-fw"></i></strong> {{ $info }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
@yield('content')
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@include('themes.base.partials.copyright_gallery')
|
2016-09-21 12:10:37 +01:00
|
|
|
</div>
|
|
|
|
|
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 --}}
|
|
|
|
<script src="themes/base/js/jquery.min.js?v={{ urlencode(config('app.version')) }}"></script>
|
|
|
|
<script src="themes/base/bootstrap/js/bootstrap.min.js?v={{ urlencode(config('app.version')) }}"></script>
|
|
|
|
<script src="themes/base/js/bootbox.min.js?v={{ urlencode(config('app.version')) }}"></script>
|
|
|
|
<script src="themes/base/js/knockout.min.js?v={{ urlencode(config('app.version')) }}"></script>
|
|
|
|
<script src="themes/base/js/app.js?v={{ urlencode(config('app.version')) }}"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$.ajaxSetup({
|
|
|
|
headers: {
|
|
|
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
@stack('scripts')
|
|
|
|
</body>
|
|
|
|
</html>
|