NOW MANAGED ON CODEBERG
Added mobile search bar on search page
Dan Brown0c3dc50cd99a
diff --git a/resources/views/search/all.blade.php b/resources/views/search/all.blade.phpindex fba67abf9..03c0b93e7 100644--- a/resources/views/search/all.blade.php+++ b/resources/views/search/all.blade.php@@ -190,6 +190,11 @@<div><div v-pre class="card content-wrap"><h1 class="list-heading">{{ trans('entities.search_results') }}</h1>+ <form action="{{ baseUrl('/search') }}" method="GET" class="search-box flexible hide-over-l">+ <input value="{{$searchTerm}}" type="text" name="term" placeholder="{{ trans('common.search') }}">+ <button type="submit">@icon('search')</button>+ <button v-if="searching" v-cloak class="search-box-cancel text-neg" v-on:click="clearSearch" type="button">@icon('close')</button>+ </form><h6 class="text-muted">{{ trans_choice('entities.search_total_results_found', $totalResults, ['count' => $totalResults]) }}</h6><div class="book-contents">@include('partials.entity-list', ['entities' => $entities, 'showPath' => true])