201 lines
8.4 KiB
HTML
201 lines
8.4 KiB
HTML
{% load static i18n %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% translate "Application Submitted - Thank You" %}</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
<style>
|
|
/* ---------------------------------------------------------------------- */
|
|
/* THEME & UTILITY VARIABLES (Copied from your reference) */
|
|
/* ---------------------------------------------------------------------- */
|
|
:root {
|
|
--kaauh-teal: #00636e;
|
|
--kaauh-teal-dark: #004a53;
|
|
--success: #198754;
|
|
--light-bg: #f8f9fa;
|
|
--navbar-height: 56px;
|
|
--navbar-gap: 16px;
|
|
--sticky-navbar-total-height: 128px;
|
|
}
|
|
|
|
.btn-main-action {
|
|
background-color: var(--kaauh-teal);
|
|
color: white;
|
|
border: none;
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
box-shadow: 0 4px 12px rgba(0, 99, 110, 0.3);
|
|
}
|
|
|
|
.btn-main-action:hover {
|
|
background-color: var(--kaauh-teal-dark);
|
|
color: white;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.bg-kaauh-teal-dark {
|
|
background-color: var(--kaauh-teal-dark) !important;
|
|
}
|
|
|
|
/* ---------------------------------------------------------------------- */
|
|
/* LAYOUT & STICKY POSITIONING FIXES (Copied from your reference) */
|
|
/* ---------------------------------------------------------------------- */
|
|
|
|
#bottomNavbar {
|
|
top: calc(var(--navbar-height) + var(--navbar-gap));
|
|
z-index: 1030;
|
|
}
|
|
|
|
.main-content-area {
|
|
margin-top: calc(var(--sticky-navbar-total-height) + 12px);
|
|
/* Center content vertically for a clean thank-you page */
|
|
min-height: calc(100vh - var(--sticky-navbar-total-height) - 40px);
|
|
display: flex;
|
|
align-items: flex-start; /* Aligns content to the top within the min-height */
|
|
}
|
|
|
|
/* Center the card within the column */
|
|
.thank-you-card-wrapper {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.thank-you-card {
|
|
max-width: 750px; /* Optional: Limit width for readability */
|
|
padding: 0;
|
|
border-radius: 0.75rem;
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* Custom styles for the success icon background */
|
|
.success-icon-bg {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: #d4edda; /* Light green/success background */
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.text-success-custom {
|
|
color: var(--success);
|
|
}
|
|
|
|
.text-success-header {
|
|
color: var(--success) !important;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.job-info-block {
|
|
background: var(--light-bg);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin: 25px 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.job-info-block p {
|
|
margin-bottom: 0.5rem; /* Tighter spacing for info lines */
|
|
}
|
|
.job-info-block p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* ---------------------------------------------------------------------- */
|
|
/* MOBILE RESPONSIVE STYLES */
|
|
/* ---------------------------------------------------------------------- */
|
|
@media (max-width: 991.98px) {
|
|
/* Mobile styles from your reference here... */
|
|
.main-content-area {
|
|
margin-top: calc(var(--sticky-navbar-total-height) / 2);
|
|
padding-bottom: 20px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<nav id="topNavbar" class="navbar navbar-expand-lg sticky-top" style="background-color: white; z-index: 1030;">
|
|
<div class="container-fluid">
|
|
<span class="navbar-brand text-white fw-bold">
|
|
<img src="{% static 'image/kaauh.jpeg' %}" alt="{% translate 'KAAUH IMAGE' %}" style="height: 50px; margin-right: 10px;">
|
|
</span>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
|
|
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
<ul class="navbar-nav ms-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link text-secondary" href="/applications/">{% translate "Applications" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-secondary" href="/profile/">{% translate "Profile" %}</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-secondary" href="https://kaauh.edu.sa/career">{% translate "Careers" %}</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<nav id="bottomNavbar" class="navbar navbar-expand-lg sticky-top" style="background-color: var(--kaauh-teal); z-index: 1030;">
|
|
<div class="container-fluid">
|
|
<span class="navbar-text text-white fw-bold">{% translate "Application Confirmation" %}</span>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container">
|
|
<div class="row mb-5 mt-5 main-content-area">
|
|
|
|
<div class="col-12 thank-you-card-wrapper">
|
|
<div class="card shadow-lg thank-you-card">
|
|
<div style="text-align: center; padding: 40px 20px;">
|
|
|
|
{# SUCCESS ICON #}
|
|
<div class="success-icon-bg">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" fill="var(--success)" viewBox="0 0 16 16">
|
|
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
|
|
</svg>
|
|
</div>
|
|
|
|
<h1 class="text-success-header">{% translate "Thank You!" %}</h1>
|
|
<h2 class="h4" style="color: #333;">{% translate "Your application has been submitted successfully" %}</h2>
|
|
|
|
{% comment %} {# JOB INFO BLOCK #}
|
|
<div class="job-info-block">
|
|
<p class="mb-2"><strong>{% translate "Position" %}:</strong> <span class="fw-bold">{{ job.title }}</span></p>
|
|
<p class="mb-2"><strong>{% translate "Job ID" %}:</strong> {{ job.internal_job_id }}</p>
|
|
<p class="mb-2"><strong>{% translate "Department" %}:</strong> {{ job.department|default:"Not specified" }}</p>
|
|
{% if job.application_deadline %}
|
|
<p><strong>{% translate "Application Deadline" %}:</strong> {{ job.application_deadline|date:"F j, Y" }}</p>
|
|
{% endif %}
|
|
</div> {% endcomment %}
|
|
|
|
<p style="font-size: 1rem; line-height: 1.6; color: #555;">
|
|
{% translate "We appreciate your interest in joining our team. Our hiring team will review your application and contact you if there's a potential match for this position." %}
|
|
</p>
|
|
|
|
<div style="margin-top: 30px;">
|
|
<a href="https://kaauh.edu.sa/career" class="btn btn-main-action btn-lg">
|
|
<i class="fas fa-arrow-left me-2"></i> {% translate "Return to Job Listings" %}
|
|
</a>
|
|
{# You can add a link to view the saved application here if applicable #}
|
|
{% comment %} <a href="{% url 'jobs:job_detail' job.internal_job_id %}" class="btn btn-secondary">View Job Details</a> {% endcomment %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html> |