BookStack/resources/views/search/all.blade.php

58 lines
1.6 KiB
PHP
Raw Normal View History

@extends('base')
@section('content')
<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>
<div class="container" ng-non-bindable id="searchSystem">
2016-12-04 15:08:04 +01:00
<h1>{{ trans('entities.search_results') }}</h1>
<input type="text" v-model="termString">
2016-12-04 15:08:04 +01:00
<div class="row">
<div class="col-md-6">
@include('partials/entity-list', ['entities' => $entities])
</div>
<div class="col-md-5 col-md-offset-1">
<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>
</div>
</div>
</div>
</div>
@stop
@section('scripts')
<script>
</script>
@stop