2015-08-31 21:11:44 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2015-12-30 22:38:20 +01:00
|
|
|
<div class="container anim fadeIn" ng-non-bindable>
|
2015-08-31 21:11:44 +02:00
|
|
|
|
2016-08-14 13:29:35 +02:00
|
|
|
<h1>Search Results <span class="text-muted">{{ $searchTerm }}</span></h1>
|
2015-08-31 21:11:44 +02:00
|
|
|
|
2016-02-21 13:53:58 +01:00
|
|
|
<p>
|
2016-03-13 15:00:24 +01:00
|
|
|
|
|
|
|
@if(count($pages) > 0)
|
2016-08-14 13:29:35 +02:00
|
|
|
<a href="{{ baseUrl("/search/pages?term={$searchTerm}") }}" class="text-page"><i class="zmdi zmdi-file-text"></i>View all matched pages</a>
|
2016-03-13 15:00:24 +01:00
|
|
|
@endif
|
|
|
|
|
2016-02-21 13:53:58 +01:00
|
|
|
|
|
|
|
@if(count($chapters) > 0)
|
|
|
|
|
2016-08-14 13:29:35 +02:00
|
|
|
<a href="{{ baseUrl("/search/chapters?term={$searchTerm}") }}" class="text-chapter"><i class="zmdi zmdi-collection-bookmark"></i>View all matched chapters</a>
|
2016-02-21 13:53:58 +01:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(count($books) > 0)
|
|
|
|
|
2016-08-14 13:29:35 +02:00
|
|
|
<a href="{{ baseUrl("/search/books?term={$searchTerm}") }}" class="text-book"><i class="zmdi zmdi-book"></i>View all matched books</a>
|
2016-02-21 13:53:58 +01:00
|
|
|
@endif
|
|
|
|
</p>
|
2015-08-31 21:11:44 +02:00
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
2016-08-14 13:29:35 +02:00
|
|
|
<h3><a href="{{ baseUrl("/search/pages?term={$searchTerm}") }}" class="no-color">Matching Pages</a></h3>
|
2016-02-21 13:53:58 +01:00
|
|
|
@include('partials/entity-list', ['entities' => $pages, 'style' => 'detailed'])
|
2015-08-31 21:11:44 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-5 col-md-offset-1">
|
|
|
|
|
|
|
|
@if(count($books) > 0)
|
2016-08-14 13:29:35 +02:00
|
|
|
<h3><a href="{{ baseUrl("/search/books?term={$searchTerm}") }}" class="no-color">Matching Books</a></h3>
|
2016-02-21 13:53:58 +01:00
|
|
|
@include('partials/entity-list', ['entities' => $books])
|
2015-08-31 21:11:44 +02:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(count($chapters) > 0)
|
2016-08-14 13:29:35 +02:00
|
|
|
<h3><a href="{{ baseUrl("/search/chapters?term={$searchTerm}") }}" class="no-color">Matching Chapters</a></h3>
|
2016-02-21 13:53:58 +01:00
|
|
|
@include('partials/entity-list', ['entities' => $chapters])
|
2015-08-31 21:11:44 +02:00
|
|
|
@endif
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|