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}}
|
2023-08-29 20:40:58 +02:00
|
|
|
<a href="/listings/{{$next}}">NEXT</a><br /><br />
|
2023-08-18 04:50:38 +02:00
|
|
|
@foreach($locations as $location)
|
2023-08-29 03:01:43 +02:00
|
|
|
<a class="list-link" role="listitem" href="/location/{{$location->uuid}}">
|
|
|
|
@if($location->rating == 'silence')
|
2023-08-29 20:37:52 +02:00
|
|
|
<span>{{$location->block_count}}</span>
|
|
|
|
<img class="menu-icon" src="/assets/images/global/status-silence.svg" title="silenced" />
|
2023-08-29 03:01:43 +02:00
|
|
|
@else
|
2023-08-29 20:37:52 +02:00
|
|
|
<span>{{$location->block_count}}</span>
|
|
|
|
<img class="menu-icon" src="/assets/images/global/status-suspend.svg" title="suspended" />
|
2023-08-29 03:01:43 +02:00
|
|
|
@endif
|
|
|
|
<label>{{$location->name}}</label>
|
|
|
|
</a>
|
2023-08-18 04:50:38 +02:00
|
|
|
@endforeach
|
2023-08-29 20:40:58 +02:00
|
|
|
<br />
|
2023-08-18 04:50:38 +02:00
|
|
|
<a href="/listings/{{$prev}}">PREV</a>
|
|
|
|
{{$pageNum}} of {{$totalPages}}
|
|
|
|
<a href="/listings/{{$next}}">NEXT</a>
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
@endsection
|