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
This commit is contained in:
parent
c087d00a2b
commit
65229edbab
8 changed files with 44 additions and 8 deletions
|
@ -34,3 +34,10 @@ section[role="listings"] div[role="paginate"] span {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.list-link {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 40px 450px 230px;
|
||||||
|
width: 80%;
|
||||||
|
height: 45px;
|
||||||
|
}
|
||||||
|
|
|
@ -7,5 +7,7 @@
|
||||||
--grey: #abb7b7;
|
--grey: #abb7b7;
|
||||||
--black: #32302f;
|
--black: #32302f;
|
||||||
--error: #b62520;
|
--error: #b62520;
|
||||||
|
--silence: #ea6010;
|
||||||
|
--suspend: #fb263a;
|
||||||
--primary-rgb: 20 13 13;
|
--primary-rgb: 20 13 13;
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ html {
|
||||||
|
|
||||||
html body {
|
html body {
|
||||||
background: var(--primary);
|
background: var(--primary);
|
||||||
color: var(--secondary);
|
color: var(--white);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
@ -26,6 +26,10 @@ a {
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strong {
|
||||||
|
color: var(--secondary);
|
||||||
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
|
|
|
@ -58,7 +58,7 @@ h2 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
line-height: 0.8em;
|
line-height: 0.8em;
|
||||||
color: var(--white);
|
color: var(--secondary);
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
<label for="element-toggle">
|
<label for="element-toggle">
|
||||||
<img class="menu-icon" src="/assets/images/global/close.svg" title="menu-open-toggle" />
|
<img class="menu-icon" src="/assets/images/global/close.svg" title="menu-open-toggle" />
|
||||||
</label><br>
|
</label><br>
|
||||||
|
<a href="/" title="front" class="nav-links">
|
||||||
|
Front
|
||||||
|
</a><br />
|
||||||
<a href="/about" title="about" class="nav-links">
|
<a href="/about" title="about" class="nav-links">
|
||||||
About
|
About
|
||||||
</a><br />
|
</a><br />
|
||||||
|
|
|
@ -25,11 +25,20 @@
|
||||||
@endisset
|
@endisset
|
||||||
<section class="index-meta">
|
<section class="index-meta">
|
||||||
<article>
|
<article>
|
||||||
<strong>{{$count}}</strong>
|
<h2>Bad Space Stats</h2>
|
||||||
sites tracked<br /><br />
|
<strong>{{$count}}</strong><br />
|
||||||
<strong>Recent Updates</strong><br />
|
Instances being tracked.
|
||||||
@foreach($recent as $item)
|
<h2>Recent Updates</h2>
|
||||||
{{$item->name}}<br />
|
@foreach($recent as $location)
|
||||||
|
<a class="list-link" role="listitem" href="/location/{{$location->uuid}}">
|
||||||
|
@if($location->status == 'silence')
|
||||||
|
<img class="menu-icon" src="/assets/images/global/status-silence.svg" title="status-silence" />
|
||||||
|
@else
|
||||||
|
<img class="menu-icon" src="/assets/images/global/status-suspend.svg" title="status-suspend" />
|
||||||
|
@endif
|
||||||
|
<label>{{$location->name}}</label>
|
||||||
|
<span>NOTED COUNT: {{$location->block_count}}</span>
|
||||||
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -9,7 +9,15 @@
|
||||||
{{$pageNum}} of {{$totalPages}}
|
{{$pageNum}} of {{$totalPages}}
|
||||||
<a href="/listings/{{$next}}">NEXT</a><br />
|
<a href="/listings/{{$next}}">NEXT</a><br />
|
||||||
@foreach($locations as $location)
|
@foreach($locations as $location)
|
||||||
<a role="listitem" href="/location/{{$location->uuid}}">{{$location->name}} | BLOCK COUNT: {{$location->block_count}}</a><br />
|
<a class="list-link" role="listitem" href="/location/{{$location->uuid}}">
|
||||||
|
@if($location->rating == 'silence')
|
||||||
|
<img class="menu-icon" src="/assets/images/global/status-silence.svg" title="status-silence" />
|
||||||
|
@else
|
||||||
|
<img class="menu-icon" src="/assets/images/global/status-suspend.svg" title="status-suspend" />
|
||||||
|
@endif
|
||||||
|
<label>{{$location->name}}</label>
|
||||||
|
<span>NOTED COUNT: {{$location->block_count}}</span>
|
||||||
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
<a href="/listings/{{$prev}}">PREV</a>
|
<a href="/listings/{{$prev}}">PREV</a>
|
||||||
{{$pageNum}} of {{$totalPages}}
|
{{$pageNum}} of {{$totalPages}}
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
</a>
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
<br />
|
||||||
|
<strong>Noted Count: {{$location->block_count}}</strong><br />
|
||||||
|
Noted Count reflects the number of times this instance has been suspended or silenced by a member of <a href="https://writer.oliphant.social/oliphant/trusted-source-membership">Trusted Sources</a>
|
||||||
|
|
||||||
<br />UPDATED : {{$updated}}
|
<br />UPDATED : {{$updated}}
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue