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

84 lines
4.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<div class="glass-card p-5 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 text-white/70 text-[13px]"></i>
<span class="text-[11px] uppercase text-white/70 tracking-wide">Reputation / RBL</span>
</div>
<div class="text-xs text-white/60">
<span class="opacity-70">IP:</span>
<span class="text-white/90 font-mono">{{ $ip }}</span>
</div>
</div>
<div class="mt-5">
@if($hits === 0)
<div class="flex items-center gap-3 px-4 py-3 rounded-xl bg-emerald-500/10 border border-emerald-400/20">
<div class="flex items-center justify-center w-8 h-8 rounded-full bg-emerald-500/20">
<i class="ph ph-shield-check text-emerald-300 text-lg"></i>
</div>
<div>
<div class="text-emerald-300 font-medium text-[15px]">
Deine IP ist auf keiner bekannten Blacklist.
</div>
<div class="text-[12px] text-white/50 mt-0.5">
Gute Reputation keine Auffälligkeiten gefunden.
</div>
</div>
</div>
<div class="mt-3 text-[11px] text-white/45 text-center">
Geprüfte öffentliche RBLs:
<span class="text-white/60">Spamhaus, PSBL, UCEPROTECT-1, s5h</span>
</div>
@else
<div class="flex items-center gap-3 px-4 py-3 rounded-xl bg-rose-500/10 border border-rose-400/20">
<div class="flex items-center justify-center w-8 h-8 rounded-full bg-rose-500/20">
<i class="ph ph-warning-circle text-rose-300 text-lg"></i>
</div>
<div>
<div class="text-rose-300 font-medium text-[15px]">
{{ $hits }} {{ Str::plural('Treffer', $hits) }} auf Blacklists
</div>
<ul class="mt-1 space-y-1 text-sm text-rose-300/90">
@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/80"></span>
<span>{{ $l }}</span>
</li>
@endforeach
</ul>
</div>
</div>
@endif
</div>
<div class="mt-5 flex justify-center">
<button wire:click="refresh"
class="px-3 py-1.5 text-[12px] rounded-lg bg-white/5 border border-white/10 hover:bg-white/10">
<i class="ph ph-arrows-clockwise text-[13px]"></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>--}}