mailwolt/resources/views/livewire/ui/security/rbl-card.blade.php

68 lines
3.1 KiB
PHP

<div class="glass-card p-4 rounded-2xl border border-white/10 bg-white/5">
<div class="flex items-center justify-between">
<div class="inline-flex items-center gap-2 bg-white/5 border border-white/10 px-2.5 py-1 rounded-full">
<i class="ph ph-shield-warning text-white/70 text-[13px]"></i>
<span class="text-[11px] uppercase text-white/70">Reputation / RBL</span>
</div>
<div class="text-xs text-white/70">
IP: <span class="text-white/90">{{ $ip }}</span>
</div>
</div>
<div class="mt-3">
@if($hits === 0)
<div class="flex items-center gap-2 text-emerald-300">
<i class="ph ph-shield-check-thin text-lg"></i>
<span>Deine IP ist aktuell auf keiner der geprüften Blacklists.</span>
</div>
<div class="mt-2 text-[11px] text-white/45">
Geprüfte öffentliche RBLs: Spamhaus, PSBL, UCEPROTECT-1, s5h.
</div>
@else
<div class="flex items-center gap-2 text-rose-300">
<i class="ph ph-warning-circle text-lg"></i>
<span>{{ $hits }} Treffer auf Blacklists:</span>
</div>
<ul class="mt-2 space-y-1 text-sm text-rose-300">
@foreach($lists as $l)
<li class="flex items-center gap-2">
<span class="inline-block w-1.5 h-1.5 rounded-full bg-rose-400"></span>
<span>{{ $l }}</span>
</li>
@endforeach
</ul>
@endif
</div>
<div class="mt-3">
<button wire:click="refresh"
class="inline-flex items-center gap-1.5 rounded-full text-[11px] px-3 py-1
text-white/80 bg-white/10 border border-white/15
hover:bg-white/15 hover:text-white">
<i class="ph ph-arrows-clockwise text-[12px]"></i>
Neu prüfen
</button>
</div>
</div>
{{--<div class="glass-card p-4 rounded-2xl border border-white/10 bg-white/5">--}}
{{-- <div class="flex items-center justify-between">--}}
{{-- <div class="inline-flex items-center gap-2 bg-white/5 border border-white/10 px-2.5 py-1 rounded-full">--}}
{{-- <i class="ph ph-shield-warning text-white/70 text-[13px]"></i>--}}
{{-- <span class="text-[11px] uppercase text-white/70">Reputation / RBL</span>--}}
{{-- </div>--}}
{{-- <div class="text-xs text-white/70">IP: <span class="text-white/90">{{ $ip }}</span></div>--}}
{{-- </div>--}}
{{-- <div class="mt-3">--}}
{{-- @if($hits === 0)--}}
{{-- <span class="px-2 py-0.5 rounded-full border text-emerald-300 border-emerald-400/30 bg-emerald-500/10">Keine Treffer</span>--}}
{{-- @else--}}
{{-- <div class="text-sm text-white/70">{{ $hits }} Treffer:</div>--}}
{{-- <ul class="mt-2 space-y-1 text-sm text-rose-300">--}}
{{-- @foreach($lists as $l)<li> {{ $l }}</li>@endforeach--}}
{{-- </ul>--}}
{{-- @endif--}}
{{-- </div>--}}
{{--</div>--}}