2017-02-26 15:25:02 +01:00
|
|
|
<!doctype html>
|
2019-08-18 19:57:35 +02:00
|
|
|
<html lang="{{ config('app.lang') }}">
|
2017-02-26 15:25:02 +01:00
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
<title>{{ $chapter->name }}</title>
|
|
|
|
|
2020-02-15 16:34:06 +01:00
|
|
|
@include('partials.export-styles', ['format' => $format])
|
|
|
|
|
2017-02-26 15:25:02 +01:00
|
|
|
<style>
|
|
|
|
.page-break {
|
|
|
|
page-break-after: always;
|
|
|
|
}
|
|
|
|
ul.contents ul li {
|
|
|
|
list-style: circle;
|
|
|
|
}
|
|
|
|
@media screen {
|
|
|
|
.page-break {
|
|
|
|
border-top: 1px solid #DDD;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
2018-09-22 12:53:40 +02:00
|
|
|
@include('partials.custom-head')
|
2017-02-26 15:25:02 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
2019-04-07 10:57:48 +02:00
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
|
|
|
|
<h1 style="font-size: 4.8em">{{$chapter->name}}</h1>
|
|
|
|
|
|
|
|
<p>{{ $chapter->description }}</p>
|
|
|
|
|
|
|
|
@if(count($pages) > 0)
|
|
|
|
<ul class="contents">
|
|
|
|
@foreach($pages as $page)
|
|
|
|
<li><a href="#page-{{$page->id}}">{{ $page->name }}</a></li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@foreach($pages as $page)
|
|
|
|
<div class="page-break"></div>
|
|
|
|
<h1 id="page-{{$page->id}}">{{ $page->name }}</h1>
|
|
|
|
{!! $page->html !!}
|
|
|
|
@endforeach
|
|
|
|
|
2017-02-26 15:25:02 +01:00
|
|
|
</div>
|
2019-04-07 10:57:48 +02:00
|
|
|
|
2017-02-26 15:25:02 +01:00
|
|
|
</body>
|
|
|
|
</html>
|