2023-08-18 04:50:38 +02:00
|
|
|
@extends('frame')
|
|
|
|
@section('title', 'The Bad Space|Listings')
|
|
|
|
@section('main-content')
|
|
|
|
@parent
|
|
|
|
<section>
|
2023-08-19 03:50:33 +02:00
|
|
|
<article role="list">
|
2023-08-18 23:34:53 +02:00
|
|
|
<h2>Page {{$pageNum}}</h2>
|
2023-08-18 04:50:38 +02:00
|
|
|
<a href="/listings/{{$prev}}">PREV</a>
|
|
|
|
{{$pageNum}} of {{$totalPages}}
|
|
|
|
<a href="/listings/{{$next}}">NEXT</a><br />
|
|
|
|
@foreach($locations as $location)
|
2023-08-19 03:50:33 +02:00
|
|
|
<a role="listitem" href="/location/{{$location->uuid}}">{{$location->name}}</a></a><br />
|
2023-08-18 04:50:38 +02:00
|
|
|
@endforeach
|
|
|
|
<a href="/listings/{{$prev}}">PREV</a>
|
|
|
|
{{$pageNum}} of {{$totalPages}}
|
|
|
|
<a href="/listings/{{$next}}">NEXT</a>
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
@endsection
|