2015-08-31 15:11:44 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2017-04-09 15:59:57 -04:00
|
|
|
<input type="hidden" name="searchTerm" value="{{$searchTerm}}">
|
|
|
|
|
|
|
|
<div id="search-system">
|
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
|
|
|
|
|
|
|
|
2017-04-09 15:59:57 -04:00
|
|
|
<div class="container" ng-non-bindable id="searchSystem">
|
2016-03-13 10:00:24 -04:00
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<h1>{{ trans('entities.search_results') }}</h1>
|
|
|
|
|
2017-04-09 15:59:57 -04:00
|
|
|
<input type="text" v-model="termString">
|
2015-08-31 15:11:44 -04:00
|
|
|
|
2016-12-04 09:08:04 -05:00
|
|
|
<div class="row">
|
2017-04-09 15:59:57 -04:00
|
|
|
|
2015-08-31 15:11:44 -04:00
|
|
|
<div class="col-md-6">
|
2017-04-09 15:59:57 -04:00
|
|
|
@include('partials/entity-list', ['entities' => $entities])
|
2015-08-31 15:11:44 -04:00
|
|
|
</div>
|
2017-04-09 15:59:57 -04:00
|
|
|
|
2015-08-31 15:11:44 -04:00
|
|
|
<div class="col-md-5 col-md-offset-1">
|
2017-04-09 15:59:57 -04: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>
|
|
|
|
|
2017-04-09 16:12:13 -04:00
|
|
|
|
|
|
|
<button type="button" class="button pos" v-on:click="updateSearch">Update Search</button>
|
|
|
|
|
2015-08-31 15:11:44 -04:00
|
|
|
</div>
|
2017-04-09 15:59:57 -04:00
|
|
|
|
2015-08-31 15:11:44 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2017-04-09 15:59:57 -04:00
|
|
|
</div>
|
|
|
|
|
2015-08-31 15:11:44 -04:00
|
|
|
@stop
|