2015-09-01 22:35:11 +08:00
|
|
|
<div class="page-list">
|
|
|
|
@if(count($pages) > 0)
|
2015-09-04 02:05:45 +08:00
|
|
|
@foreach($pages as $pageIndex => $page)
|
|
|
|
<div class="anim searchResult" style="animation-delay: {{$pageIndex*50 . 'ms'}};">
|
2019-04-07 19:00:09 +08:00
|
|
|
@include('pages.list-item', ['page' => $page])
|
2015-09-01 22:35:11 +08:00
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
@else
|
2016-12-04 22:08:04 +08:00
|
|
|
<p class="text-muted">{{ trans('entities.search_no_pages') }}</p>
|
2015-09-01 22:35:11 +08:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if(count($chapters) > 0)
|
|
|
|
<div class="page-list">
|
2015-09-04 02:05:45 +08:00
|
|
|
@foreach($chapters as $chapterIndex => $chapter)
|
|
|
|
<div class="anim searchResult" style="animation-delay: {{($chapterIndex+count($pages))*50 . 'ms'}};">
|
2019-04-07 19:00:09 +08:00
|
|
|
@include('chapters.list-item', ['chapter' => $chapter, 'hidePages' => true])
|
2015-09-01 22:35:11 +08:00
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|