2015-04-25 22:28:39 +09:30
|
|
|
<!doctype html>
|
2015-02-24 20:33:18 +10:30
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<title>{{ $title }}</title>
|
|
|
|
<meta name="description" content="">
|
2015-03-03 20:30:52 +10:30
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
|
2015-02-24 20:33:18 +10:30
|
|
|
<base href="/">
|
2015-03-29 22:13:26 +10:30
|
|
|
@foreach ($styles as $file)
|
2015-04-25 22:28:39 +09:30
|
|
|
<link rel="stylesheet" href="{{ str_replace(public_path(), '', $file) }}">
|
2015-03-29 22:13:26 +10:30
|
|
|
@endforeach
|
2015-02-24 20:33:18 +10:30
|
|
|
</head>
|
2015-04-25 22:28:39 +09:30
|
|
|
|
2015-02-24 20:33:18 +10:30
|
|
|
<body>
|
2015-04-25 22:28:39 +09:30
|
|
|
{!! $layout !!}
|
2015-03-23 12:06:55 +10:30
|
|
|
|
2015-04-25 22:28:39 +09:30
|
|
|
<div id="modal"></div>
|
|
|
|
<div id="alerts"></div>
|
2015-03-23 12:06:55 +10:30
|
|
|
|
2015-03-29 22:13:26 +10:30
|
|
|
@foreach ($scripts as $file)
|
2015-04-25 22:28:39 +09:30
|
|
|
<script src="{{ str_replace(public_path(), '', $file) }}"></script>
|
2015-03-29 22:13:26 +10:30
|
|
|
@endforeach
|
2015-04-25 22:28:39 +09:30
|
|
|
<script>
|
|
|
|
var app = require('flarum/app')['default'];
|
|
|
|
app.config = {!! json_encode($config) !!};
|
|
|
|
app.preload = {
|
|
|
|
data: {!! json_encode($data) !!},
|
|
|
|
session: {!! json_encode($session) !!}
|
|
|
|
};
|
|
|
|
app.boot();
|
|
|
|
</script>
|
2015-02-24 20:33:18 +10:30
|
|
|
</body>
|
|
|
|
</html>
|