mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Turned on Index Search
Turned on the new preliminary search on the index page. Still pretty raw but wanted to make sure all the plumbing was there. Next stage is to clean it up a bit and make it sexy
This commit is contained in:
@ -8,8 +8,21 @@
|
||||
<button aria-label="search-button">
|
||||
<img class="button-icon" src="assets/images/global/icon-search.svg" />
|
||||
</button>
|
||||
@csrf
|
||||
</form>
|
||||
</section>
|
||||
@isset($results)
|
||||
<section>
|
||||
<article>
|
||||
<strong>
|
||||
Found {{count($results)}} results:
|
||||
</strong><br>
|
||||
@foreach($results as $location)
|
||||
<a role="listitem" href="/location/{{$location->uuid}}">{{$location->name}}</a></a><br />
|
||||
@endforeach
|
||||
</article>
|
||||
</section>
|
||||
@endisset
|
||||
<section class="index-meta">
|
||||
<article>
|
||||
<strong>{{$count}}</strong>
|
||||
|
Reference in New Issue
Block a user