- integrate spatie/icalendar-generator for candidate & panelist .ics invitations (RSVP & 15m alerts)
- add StoreInterviewRequest, ScheduleInterviewDto, and invitation/reminder queued actions
- add migration for job_title, round, description, and reminder_sent_at on interviews table
- style datetime-local picker indicators to pure white on dark input backgrounds
- support button loading spinners with :showLoader="true" and loadingText
- auto-open schedule drawer on validation failure with inline @error alerts and old() bindings
156 lines
5.2 KiB
PHP
156 lines
5.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Interview Reminder - SingleLogin Assessment</title>
|
|
<style>
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: #0b0f19;
|
|
color: #e2e8f0;
|
|
margin: 0;
|
|
padding: 24px;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background: #131b2e;
|
|
border: 1px solid #1e293b;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
}
|
|
.header {
|
|
background: linear-gradient(135deg, #e11d48 0%, #881337 100%);
|
|
padding: 28px 24px;
|
|
text-align: center;
|
|
}
|
|
.header h1 {
|
|
color: #ffffff;
|
|
font-size: 20px;
|
|
margin: 0 0 6px 0;
|
|
font-weight: 700;
|
|
}
|
|
.header p {
|
|
color: #fecdd3;
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
.content {
|
|
padding: 28px 24px;
|
|
}
|
|
.greeting {
|
|
font-size: 16px;
|
|
margin-bottom: 16px;
|
|
color: #ffffff;
|
|
}
|
|
.lead-text {
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
color: #94a3b8;
|
|
margin-bottom: 20px;
|
|
}
|
|
.card {
|
|
background: #0f172a;
|
|
border: 1px solid #334155;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.card-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #1e293b;
|
|
font-size: 13px;
|
|
}
|
|
.card-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.card-label {
|
|
color: #64748b;
|
|
font-weight: 500;
|
|
}
|
|
.card-value {
|
|
color: #f1f5f9;
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
.btn-container {
|
|
text-align: center;
|
|
margin: 24px 0;
|
|
}
|
|
.btn {
|
|
background: #e11d48;
|
|
color: #ffffff !important;
|
|
padding: 12px 28px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
display: inline-block;
|
|
}
|
|
.footer {
|
|
background: #0b0f19;
|
|
padding: 16px 24px;
|
|
text-align: center;
|
|
font-size: 11px;
|
|
color: #475569;
|
|
border-top: 1px solid #1e293b;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>⏰ Assessment Reminder: Starting in 15 Minutes</h1>
|
|
<p>SingleLogin Assessment & Technical Evaluation Portal</p>
|
|
</div>
|
|
<div class="content">
|
|
<div class="greeting">
|
|
Hello {{ $recipientName ?? ($recipientType === 'interviewer' ? 'Panelist' : $interview->candidate_name) }},
|
|
</div>
|
|
<div class="lead-text">
|
|
This is a quick reminder that the technical interview assessment is scheduled to begin in <strong>15 minutes</strong>.
|
|
</div>
|
|
|
|
<div class="card">
|
|
<div class="card-row">
|
|
<span class="card-label">Candidate</span>
|
|
<span class="card-value">{{ $interview->candidate_name }}</span>
|
|
</div>
|
|
<div class="card-row">
|
|
<span class="card-label">Position / Role</span>
|
|
<span class="card-value">{{ $interview->job_title ?? 'Candidate Assessment' }}</span>
|
|
</div>
|
|
<div class="card-row">
|
|
<span class="card-label">Round</span>
|
|
<span class="card-value">{{ $interview->round ?? 'R1' }}</span>
|
|
</div>
|
|
<div class="card-row">
|
|
<span class="card-label">Scheduled Start Time</span>
|
|
<span class="card-value">{{ $interview->scheduled_at ? $interview->scheduled_at->format('M d, Y h:i A') : 'Immediate' }}</span>
|
|
</div>
|
|
@if($recipientType === 'candidate')
|
|
<div class="card-row">
|
|
<span class="card-label">Temporary Password</span>
|
|
<span class="card-value" style="color: #38bdf8; font-family: monospace;">{{ $interview->temp_password }}</span>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="btn-container">
|
|
@if($recipientType === 'interviewer')
|
|
<a href="{{ route('interview.show', $interview->id) }}" class="btn" target="_blank">Join Assessment Session</a>
|
|
@else
|
|
<a href="{{ route('interview.candidate.login') }}" class="btn" target="_blank">Enter Candidate Portal</a>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
© {{ date('Y') }} SingleLogin Assessment System. All rights reserved.
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|