diff --git a/public/assets/css/front/listing.css b/public/assets/css/front/listing.css index bf36469..2f1c32b 100644 --- a/public/assets/css/front/listing.css +++ b/public/assets/css/front/listing.css @@ -95,7 +95,7 @@ a.list-link > .item-block > .item-icon { a.list-link { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; - grid-template-rows: 100% 100px 30px 30px; + grid-template-rows: 1fr auto 30px 30px; gap: 5px; height: auto; padding-bottom: 20px; diff --git a/resources/views/frame.blade.php b/resources/views/frame.blade.php index 9da276c..bced601 100644 --- a/resources/views/frame.blade.php +++ b/resources/views/frame.blade.php @@ -2,101 +2,101 @@ - - - - - @yield('title') - - @if(isset($front) && $front == false) - - @elseif(!isset($front) || $front == true) - - @endif + + + + + @yield('title') + + @if(isset($front) && $front == false) + + @elseif(!isset($front) || $front == true) + + @endif - -
-
-
- - - -
-
-

{{$title}}

-
-
- - - -
-
+ - @if($errors->any()) -
- {{$errors->first()}} -
- @endif - @if(session('message')) -
- {!! session('message') !!} -
- @endif + @if($errors->any()) +
+ {{$errors->first()}} +
+ @endif + @if(session('message')) +
+ {!! session('message') !!} +
+ @endif -
- @section('main-content') - @show -
- +
+ @section('main-content') + @show +
+ diff --git a/resources/views/front/listing.blade.php b/resources/views/front/listing.blade.php index b34ad9b..bbed5e1 100644 --- a/resources/views/front/listing.blade.php +++ b/resources/views/front/listing.blade.php @@ -1,35 +1,35 @@ @extends('frame') @section('title', 'The Bad Space|Listings') - @section('main-content') - @parent -
-
-

Page {{$pageNum}}

- PREV - {{$pageNum}} of {{$totalPages}} - NEXT

- @foreach($locations as $location) - @php + @section('main-content') + @parent +
+ -
- @endsection \ No newline at end of file + @endphp + + {{$rating}}% + +
+ + {{$location->silence_count}} +
+
+ + {{$location->block_count}} +
+
+ @endforeach + PREV + {{$pageNum}} of {{$totalPages}} + NEXT +

+
+
+ @endsection \ No newline at end of file