sls/resources/views/components/audit-log.blade.php
kushal.saha 1c84a162ac refactor(UI): interviewer panel
- overhaul the interviewer panel setup for more compact design
- assesment scheduling is now in a drawer
- replaced emojies with icon in candidate panel
2026-08-18 06:07:17 +00:00

22 lines
776 B
PHP

@props([
'logs' => [],
])
<div {{ $attributes->twMerge(['class' => 'bg-[#0d1220] border border-[#1b2233] rounded-[9px] overflow-y-auto']) }}>
@if(is_array($logs) && count($logs) > 0)
@foreach($logs as $log)
<x-audit-log-item
:type="$log['type'] ?? 'violation'"
:details="$log['details'] ?? ''"
:timestamp="$log['timestamp'] ?? null"
:screenshotUrl="$log['screenshot_url'] ?? null"
:aiVerdict="$log['ai_verdict'] ?? null"
/>
@endforeach
@else
<div class="p-4 text-center text-[#21c274] text-xs font-medium">
<i class="fa-solid fa-circle-check mr-1"></i> Zero proctoring violations recorded.
</div>
@endif
</div>