<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<title> @if(Request::has('seo_title')) {{ Request::get('seo_title') }} @else @yield('seo_title') @endif </title>
	<meta name="renderer" content="webkit">
	<meta name="csrf-token" content="{{ csrf_token() }}">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<!-- <link rel="icon" href="{{ asset('/favicon.icon') }}"> -->
	<link rel="stylesheet" href="{{ asset('frame/layui/css/layui.css') }}" media="all">
	<link rel="stylesheet" href="{{ asset('admin/css/rewrite.css') }}" media="all">
	<link rel="stylesheet" href="{{ asset('/css/tablelist.css') }}" media="all">
</head>

<body>
	<script src="{{ asset('frame/layui/layui.js')  }}" charset="utf-8"></script>
	<script type="text/javascript" src="/js/jquery.min.js"></script>
	<script type="text/javascript" src="/js/common.js"></script>
	<style>
		.layui-table-body {
			position: relative;
			overflow: hidden;
			margin-right: -1px;
		}
	</style>

	<script>
		$.ajaxSetup({
    headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    }
});

	</script>
	<div class="container">
		@yield('header') @yield('toolbar')

		<div class="layui-row">
			<div class="layui-col-xs12">
				@yield('content')
			</div>

		</div>

		@yield('footer')
	</div>
</body>

</html>
<style>
	.container {
		margin: 10px 8px;
	}
</style>