From 65229edbabaa1bd68d20bf84278642bdec6ad180 Mon Sep 17 00:00:00 2001 From: Ro Date: Mon, 28 Aug 2023 18:01:43 -0700 Subject: [PATCH] Added Trusted Sources Count, added meta to links Plugged in noted counts that detail how many times an instance as been suspended or silenced by members of the Trusted Sources. https://writer.oliphant.social/oliphant/trusted-source-membership Also added some additional meta data to links displaying instances lists so status and counts can be identified at a glance --- public/assets/css/front/listing.css | 7 +++++++ public/assets/css/global/colors.css | 2 ++ public/assets/css/global/frame.css | 6 +++++- public/assets/css/global/typography.css | 2 +- resources/views/frame.blade.php | 3 +++ resources/views/front/index.blade.php | 19 ++++++++++++++----- resources/views/front/listing.blade.php | 10 +++++++++- resources/views/front/location.blade.php | 3 +++ 8 files changed, 44 insertions(+), 8 deletions(-) diff --git a/public/assets/css/front/listing.css b/public/assets/css/front/listing.css index 5c6b7bc..a84f1e7 100644 --- a/public/assets/css/front/listing.css +++ b/public/assets/css/front/listing.css @@ -34,3 +34,10 @@ section[role="listings"] div[role="paginate"] span { font-weight: bold; font-size: 1.5em; } + +a.list-link { + display: grid; + grid-template-columns: 40px 450px 230px; + width: 80%; + height: 45px; +} diff --git a/public/assets/css/global/colors.css b/public/assets/css/global/colors.css index 092c4a8..76a31c5 100644 --- a/public/assets/css/global/colors.css +++ b/public/assets/css/global/colors.css @@ -7,5 +7,7 @@ --grey: #abb7b7; --black: #32302f; --error: #b62520; + --silence: #ea6010; + --suspend: #fb263a; --primary-rgb: 20 13 13; } diff --git a/public/assets/css/global/frame.css b/public/assets/css/global/frame.css index 23b5551..c9faecc 100644 --- a/public/assets/css/global/frame.css +++ b/public/assets/css/global/frame.css @@ -7,7 +7,7 @@ html { html body { background: var(--primary); - color: var(--secondary); + color: var(--white); margin: 0; padding: 0; height: 100%; @@ -26,6 +26,10 @@ a { */ } +strong { + color: var(--secondary); +} + header { width: 100%; color: var(--primary); diff --git a/public/assets/css/global/typography.css b/public/assets/css/global/typography.css index 743eb12..0ee2281 100644 --- a/public/assets/css/global/typography.css +++ b/public/assets/css/global/typography.css @@ -58,7 +58,7 @@ h2 { font-size: 1.5em; font-weight: 500; line-height: 0.8em; - color: var(--white); + color: var(--secondary); margin: 30px 0; } diff --git a/resources/views/frame.blade.php b/resources/views/frame.blade.php index 80f6a3e..8080a6d 100644 --- a/resources/views/frame.blade.php +++ b/resources/views/frame.blade.php @@ -33,6 +33,9 @@
+ + Front +
About
diff --git a/resources/views/front/index.blade.php b/resources/views/front/index.blade.php index 45d407b..57d1694 100644 --- a/resources/views/front/index.blade.php +++ b/resources/views/front/index.blade.php @@ -25,11 +25,20 @@ @endisset
diff --git a/resources/views/front/listing.blade.php b/resources/views/front/listing.blade.php index 60d4f56..c893e88 100644 --- a/resources/views/front/listing.blade.php +++ b/resources/views/front/listing.blade.php @@ -9,7 +9,15 @@ {{$pageNum}} of {{$totalPages}} NEXT
@foreach($locations as $location) - {{$location->name}} | BLOCK COUNT: {{$location->block_count}}
+ + @if($location->rating == 'silence') + + @else + + @endif + + NOTED COUNT: {{$location->block_count}} + @endforeach PREV {{$pageNum}} of {{$totalPages}} diff --git a/resources/views/front/location.blade.php b/resources/views/front/location.blade.php index 2498db2..2f76b69 100644 --- a/resources/views/front/location.blade.php +++ b/resources/views/front/location.blade.php @@ -16,6 +16,9 @@ @endforeach @endif +
+ Noted Count: {{$location->block_count}}
+ Noted Count reflects the number of times this instance has been suspended or silenced by a member of Trusted Sources
UPDATED : {{$updated}}