2015-08-31 21:11:44 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2017-04-09 21:59:57 +02:00
|
|
|
<input type="hidden" name="searchTerm" value="{{$searchTerm}}">
|
|
|
|
|
|
|
|
<div id="search-system">
|
2016-12-04 15:08:04 +01: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 21:11:44 +02:00
|
|
|
|
|
|
|
|
2017-04-09 21:59:57 +02:00
|
|
|
<div class="container" ng-non-bindable id="searchSystem">
|
2016-03-13 15:00:24 +01:00
|
|
|
|
2016-12-04 15:08:04 +01:00
|
|
|
<h1>{{ trans('entities.search_results') }}</h1>
|
|
|
|
|
2017-04-09 21:59:57 +02:00
|
|
|
<input type="text" v-model="termString">
|
2015-08-31 21:11:44 +02:00
|
|
|
|
2016-12-04 15:08:04 +01:00
|
|
|
<div class="row">
|
2017-04-09 21:59:57 +02:00
|
|
|
|
2015-08-31 21:11:44 +02:00
|
|
|
<div class="col-md-6">
|
2017-04-09 21:59:57 +02:00
|
|
|
@include('partials/entity-list', ['entities' => $entities])
|
2015-08-31 21:11:44 +02:00
|
|
|
</div>
|
2017-04-09 21:59:57 +02:00
|
|
|
|
2015-08-31 21:11:44 +02:00
|
|
|
<div class="col-md-5 col-md-offset-1">
|
2017-04-09 21:59:57 +02:00
|
|
|
<h3>Search Filters</h3>
|
|
|
|
|
|
|
|
<p><strong>Content Type</strong></p>
|
|
|
|
<div class="form-group">
|
|
|
|
<label><input type="checkbox" v-on:change="typeChange" v-model="search.type.page" value="page"> Page</label>
|
|
|
|
<label><input type="checkbox" v-on:change="typeChange" v-model="search.type.chapter" value="chapter"> Chapter</label>
|
|
|
|
<label><input type="checkbox" v-on:change="typeChange" v-model="search.type.book" value="book"> Book</label>
|
|
|
|
</div>
|
|
|
|
|
2015-08-31 21:11:44 +02:00
|
|
|
</div>
|
2017-04-09 21:59:57 +02:00
|
|
|
|
2015-08-31 21:11:44 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2017-04-09 21:59:57 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('scripts')
|
|
|
|
<script>
|
2015-08-31 21:11:44 +02:00
|
|
|
|
|
|
|
|
2017-04-09 21:59:57 +02:00
|
|
|
</script>
|
2015-08-31 21:11:44 +02:00
|
|
|
@stop
|