2017-12-30 15:45:21 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ app()->getLocale() }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
<!-- CSRF Token -->
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
|
|
<title>@yield('title', 'LaraBBS') - Laravel 进阶教程</title>
|
2018-01-01 12:18:33 +00:00
|
|
|
<meta name="description" content="@yield('description', 'LaraBBS 爱好者社区')"/>
|
2017-12-30 15:45:21 +00:00
|
|
|
|
|
|
|
<!-- Styles -->
|
|
|
|
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
|
2018-01-01 08:32:20 +00:00
|
|
|
@yield('styles')
|
|
|
|
|
|
|
|
|
2017-12-30 15:45:21 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="app" class="{{ route_class() }}-page">
|
|
|
|
|
|
|
|
@include('layouts._header')
|
|
|
|
|
|
|
|
<div class="container">
|
2017-12-30 20:23:09 +00:00
|
|
|
@include('layouts._message')
|
2017-12-30 15:45:21 +00:00
|
|
|
@yield('content')
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@include('layouts._footer')
|
|
|
|
</div>
|
2018-02-12 13:39:52 +00:00
|
|
|
@if(app()->isLocal())
|
|
|
|
@include('sudosu::user-selector')
|
|
|
|
@endif
|
2017-12-30 15:45:21 +00:00
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
<script src="{{ asset('js/app.js') }}"></script>
|
2018-01-01 08:32:20 +00:00
|
|
|
@yield('scripts')
|
2017-12-30 15:45:21 +00:00
|
|
|
</body>
|
|
|
|
</html>
|