112 lines
7.1 KiB
HTML
112 lines
7.1 KiB
HTML
{% extends 'forms/partials/candidate_facing_base.html'%}
|
|
{% load static i18n %}
|
|
{% block content %}
|
|
|
|
<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">{% trans "Job Overview" %}</span>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
{# ================================================= #}
|
|
{# DJANGO MESSAGE BLOCK - Placed directly below the main navbar #}
|
|
{# ================================================= #}
|
|
{% if messages %}
|
|
<div class="container-fluid message-container">
|
|
<div class="row">
|
|
{# Using responsive columns to center the message content, similar to your form structure #}
|
|
<div class="col-lg-8 offset-lg-2 col-md-10 offset-md-1 col-12">
|
|
{% for message in messages %}
|
|
{# Use 'alert-{{ message.tags }}' to apply Bootstrap styling based on Django's tag (success, error/danger, info, warning) #}
|
|
<div class="alert alert-{{ message.tags|default:'info' }} alert-dismissible fade show" role="alert">
|
|
{{ message }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
{# ================================================= #}
|
|
|
|
<div class="container">
|
|
<div class="row mb-5 mt-3 main-content-area">
|
|
|
|
<div class="col-lg-4 order-lg-2 order-1 d-none d-lg-block">
|
|
<div class="card shadow-sm sticky-top">
|
|
<div class="card-header bg-kaauh-teal-dark text-white">
|
|
<h5 class="mb-0"><i class="fas fa-file-signature me-2"></i>{% trans "Ready to Apply?" %}</h5>
|
|
</div>
|
|
<div class="card-body text-center">
|
|
<p class="text-muted">{% trans "Review the job details, then apply below." %}</p>
|
|
|
|
{% if job.form_template %}
|
|
<a href="{% url 'application_submit_form' job.form_template.slug %}" class="btn btn-main-action btn-lg w-100">
|
|
<i class="fas fa-paper-plane me-2"></i> {% trans "Apply for this Position" %}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-lg-8 order-lg-1 order-2">
|
|
<div class="card shadow-sm">
|
|
<div class="card-header bg-kaauh-teal-dark text-white d-flex justify-content-between align-items-center">
|
|
<h2 class="h3 mb-0 fw-bold">{{ job.title }}</h2>
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<h4 class="mb-3" style="color: var(--kaauh-teal-dark);">{% trans "Job Overview" %}</h4>
|
|
<div class="row row-cols-1 row-cols-md-2 g-3 mb-4 small text-secondary">
|
|
{% if job.salary_range %}
|
|
<div class="col">
|
|
<i class="fas fa-money-bill-wave text-success me-2"></i>
|
|
<strong>{% trans "Salary:" %}</strong>
|
|
<span class="fw-bold text-success">{{ job.salary_range }}</span>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="col">
|
|
<i class="fas fa-calendar-alt text-muted me-2"></i>
|
|
<strong>{% trans "Deadline:" %}</strong>
|
|
{% if job.application_deadline %}
|
|
{{ job.application_deadline|date:"M d, Y" }}
|
|
{% if job.is_expired %}
|
|
<span class="badge bg-danger ms-2">{% trans "EXPIRED" %}</span>
|
|
{% endif %}
|
|
{% else %}
|
|
<span class="text-muted">{% trans "Not specified" %}</span>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<div class="col"> <i class="fas fa-briefcase text-muted me-2"></i> <strong>{% trans "Job Type:" %}</strong> {{ job.get_job_type_display }} </div>
|
|
<div class="col"> <i class="fas fa-map-marker-alt text-muted me-2"></i> <strong>{% trans "Location:" %}</strong> {{ job.get_location_display }} </div>
|
|
<div class="col"> <i class="fas fa-building text-muted me-2"></i> <strong>{% trans "Department:" %}</strong> {{ job.department|default:"N/A" }} </div>
|
|
<div class="col"> <i class="fas fa-hashtag text-muted me-2"></i> <strong>{% trans "JOB ID:" %}</strong> {{ job.internal_job_id|default:"N/A" }} </div>
|
|
<div class="col"> <i class="fas fa-desktop text-muted me-2"></i> <strong>{% trans "Workplace:" %}</strong> {{ job.get_workplace_type_display }} </div>
|
|
</div>
|
|
|
|
{% if job.has_description_content %}<hr class="my-4"><div class="mb-4"><h5 class="fw-bold" style="color: var(--kaauh-teal-dark);"><i class="fas fa-info-circle me-2"></i>{% trans "Job Description" %}</h5><div class="text-secondary">{{ job.description|safe }}</div></div>{% endif %}
|
|
{% if job.has_qualifications_content %}<hr class="my-4"><div class="mb-4"><h5 class="fw-bold" style="color: var(--kaauh-teal-dark);"><i class="fas fa-graduation-cap me-2"></i>{% trans "Qualifications" %}</h5><div class="text-secondary">{{ job.qualifications|safe }}</div></div>{% endif %}
|
|
{% if job.has_benefits_content %}<hr class="my-4"><div class="mb-4"><h5 class="fw-bold" style="color: var(--kaauh-teal-dark);"><i class="fas fa-hand-holding-usd me-2"></i>{% trans "Benefits" %}</h5><div class="text-secondary">{{ job.benefits|safe }}</div></div>{% endif %}
|
|
{% if job.has_application_instructions_content %}<hr class="my-4"><div class="mb-4"><h5 class="fw-bold" style="color: var(--kaauh-teal-dark);"><i class="fas fa-file-alt me-2"></i>{% trans "Application Instructions" %}</h5><div class="text-secondary">{{ job.application_instructions|safe }}</div></div>{% endif %}
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mobile-fixed-apply-bar d-lg-none">
|
|
{% if job.form_template %}
|
|
<a href="{% url 'application_submit_form' job.form_template.pk %}" class="btn btn-main-action btn-lg w-100">
|
|
<i class="fas fa-paper-plane me-2"></i> {% trans "Apply for this Position" %}
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
|
|
|
|
{% endblock content%} |