sls/resources/views/interview/index.blade.php
kushal.saha b787f04914 refactor(UI): improve global screenshot capture and onboarding
- compact ui
- fix routing after toggling settings
2026-08-18 06:45:10 +00:00

49 lines
2.2 KiB
PHP

<x-layouts.interview title="Candidate Live Assessment Portal">
<!-- Global Admin Settings & Proctoring Control Panel -->
<x-interview.admin-settings-card />
<!-- Page Header Row -->
<div class="flex justify-between items-center mb-6">
<div>
<h2 class="font-outfit text-2xl font-bold text-white m-0">Live Interview Assessments</h2>
<div class="text-xs text-slate-400 mt-0.5">Temporary Candidate Access, Real-Time Proctored IDE, and Unique Code Records</div>
</div>
<x-button onclick="document.getElementById('create-interview-drawer').classList.add('active')" variant="primary" size="md" icon="fa-solid fa-plus">
Schedule Candidate Assessment
</x-button>
</div>
<!-- Assessment Table Card -->
<x-card class="pt-4">
<div class="overflow-x-auto w-full">
<table class="w-full text-left text-xs border-collapse">
<thead>
<tr class="border-b border-slate-700/60 text-slate-400 uppercase text-[0.7rem] tracking-wider">
<th class="pb-4 px-4">Candidate & Temp Pass</th>
<th class="pb-4 px-4">Unique Submission ID</th>
<th class="pb-4 px-4">Status & Validity</th>
<th class="pb-4 px-4">Language</th>
<th class="pb-4 px-4">Proctoring Alerts</th>
<th class="pb-4 px-4 text-right">Review & Actions</th>
</tr>
</thead>
<tbody class="divide-y divide-white/5">
@forelse($interviews as $inv)
<x-interview.session-row :interview="$inv" />
@empty
<tr>
<td colspan="6" class="text-center text-slate-400 py-8">
No candidate interview sessions found. Click "+ Schedule Candidate Assessment" above to create one.
</td>
</tr>
@endforelse
</tbody>
</table>
</div>
</x-card>
<!-- Drawer: Schedule Candidate Assessment -->
<x-interview.schedule-drawer :interviewers="$interviewers" />
</x-layouts.interview>