2015-08-31 15:11:44 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<div class="faded-small toolbar">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 faded">
|
|
|
|
<div class="breadcrumbs">
|
|
|
|
<a href="{{ baseUrl("/search/all?term={$searchTerm}") }}" class="text-button"><i class="zmdi zmdi-search"></i>{{ $searchTerm }}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-31 15:11:44 -04:00
|
|
|
|
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<div class="container" ng-non-bindable>
|
2016-03-13 10:00:24 -04:00
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<h1>{{ trans('entities.search_results') }}</h1>
|
|
|
|
|
|
|
|
<p>
|
2016-03-13 10:00:24 -04:00
|
|
|
@if(count($pages) > 0)
|
2016-12-04 09:08:04 -05:00
|
|
|
<a href="{{ baseUrl("/search/pages?term={$searchTerm}") }}" class="text-page"><i class="zmdi zmdi-file-text"></i>{{ trans('entities.search_view_pages') }}</a>
|
2016-03-13 10:00:24 -04:00
|
|
|
@endif
|
|
|
|
|
2016-02-21 07:53:58 -05:00
|
|
|
@if(count($chapters) > 0)
|
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<a href="{{ baseUrl("/search/chapters?term={$searchTerm}") }}" class="text-chapter"><i class="zmdi zmdi-collection-bookmark"></i>{{ trans('entities.search_view_chapters') }}</a>
|
2016-02-21 07:53:58 -05:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(count($books) > 0)
|
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<a href="{{ baseUrl("/search/books?term={$searchTerm}") }}" class="text-book"><i class="zmdi zmdi-book"></i>{{ trans('entities.search_view_books') }}</a>
|
2016-02-21 07:53:58 -05:00
|
|
|
@endif
|
|
|
|
</p>
|
2015-08-31 15:11:44 -04:00
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<div class="row">
|
2015-08-31 15:11:44 -04:00
|
|
|
<div class="col-md-6">
|
2016-12-04 09:08:04 -05:00
|
|
|
<h3><a href="{{ baseUrl("/search/pages?term={$searchTerm}") }}" class="no-color">{{ trans('entities.pages') }}</a></h3>
|
2016-02-21 07:53:58 -05:00
|
|
|
@include('partials/entity-list', ['entities' => $pages, 'style' => 'detailed'])
|
2015-08-31 15:11:44 -04:00
|
|
|
</div>
|
|
|
|
<div class="col-md-5 col-md-offset-1">
|
|
|
|
@if(count($books) > 0)
|
2016-12-04 09:08:04 -05:00
|
|
|
<h3><a href="{{ baseUrl("/search/books?term={$searchTerm}") }}" class="no-color">{{ trans('entities.books') }}</a></h3>
|
2016-02-21 07:53:58 -05:00
|
|
|
@include('partials/entity-list', ['entities' => $books])
|
2015-08-31 15:11:44 -04:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if(count($chapters) > 0)
|
2016-12-04 09:08:04 -05:00
|
|
|
<h3><a href="{{ baseUrl("/search/chapters?term={$searchTerm}") }}" class="no-color">{{ trans('entities.chapters') }}</a></h3>
|
2016-02-21 07:53:58 -05:00
|
|
|
@include('partials/entity-list', ['entities' => $chapters])
|
2015-08-31 15:11:44 -04:00
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
@stop
|