]> BookStack Code Mirror - bookstack/blob - resources/views/chapters/export.blade.php
Fixed failing test after drawio default url change
[bookstack] / resources / views / chapters / export.blade.php
1 @extends('layouts.export')
2
3 @section('title', $chapter->name)
4
5 @section('content')
6     <h1 style="font-size: 4.8em">{{$chapter->name}}</h1>
7
8     <p>{{ $chapter->description }}</p>
9
10     @if(count($pages) > 0)
11         <ul class="contents">
12             @foreach($pages as $page)
13                 <li><a href="#page-{{$page->id}}">{{ $page->name }}</a></li>
14             @endforeach
15         </ul>
16     @endif
17
18     @foreach($pages as $page)
19         <div class="page-break"></div>
20         <h1 id="page-{{$page->id}}">{{ $page->name }}</h1>
21         {!! $page->html !!}
22     @endforeach
23 @endsection