From e87700a2138a1054cc293589f3d1aad5a1b92b74 Mon Sep 17 00:00:00 2001 From: Faheed Date: Sun, 23 Nov 2025 14:18:31 +0300 Subject: [PATCH 1/5] career page filters --- templates/applicant/career.html | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/templates/applicant/career.html b/templates/applicant/career.html index 7d103f8..3f3da46 100644 --- a/templates/applicant/career.html +++ b/templates/applicant/career.html @@ -73,13 +73,7 @@ {% for key in job_type_keys %} {% endfor %} @@ -89,10 +83,7 @@ {% for key in workplace_type_keys %} {% endfor %} -- 2.39.5 From 9b38c07fdd1862c1820b65323948f376fd3d9ab9 Mon Sep 17 00:00:00 2001 From: Faheed Date: Sun, 23 Nov 2025 15:03:56 +0300 Subject: [PATCH 2/5] candidate submit form ui --- .../applicant/application_submit_form.html | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/templates/applicant/application_submit_form.html b/templates/applicant/application_submit_form.html index 2ee7f75..29413bc 100644 --- a/templates/applicant/application_submit_form.html +++ b/templates/applicant/application_submit_form.html @@ -35,6 +35,9 @@ #1e3a47 100% ); background-image: url("{% static 'image/vision.svg' %}"); + @media (max-width: 768px) { + background-image: none; + } background-repeat: no-repeat; background-position: 60px; background-size: 320px auto; @@ -58,11 +61,11 @@ .wizard-container { width: 100%; - max-width: 800px; /* Increased max-width slightly for content */ + max-width: 900px; /* Increased max-width slightly for content */ background: white; - border-radius: 20px; + overflow: hidden; - box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); + display: flex; flex-direction: column; /* Allow height to be determined by content, constrained by max-height */ @@ -473,7 +476,7 @@ class="navbar navbar-expand-lg sticky-top" style="background-color: var(--kaauh-teal); z-index: 1030" > - JOB ID:  {{job_id}} + {% trans "JOB ID" %}:  {{job_id}}
@@ -486,7 +489,7 @@
1 of 1
@@ -501,7 +504,7 @@ style="display: none" >

- {% translate "Review Your Application" %} + {% trans "Review Your Application" %}

@@ -513,11 +516,11 @@ class="nav-btn btn-back" style="display: none" > - {% translate "Back" %} + {% trans "Back" %} @@ -526,7 +529,7 @@ class="nav-btn btn-submit" style="display: none" > - {% translate "Submit Application" %} + {% trans "Submit Application" %} -- 2.39.5 From 99f62c21fada2097023b0a6d1f7a8b2194d41fa7 Mon Sep 17 00:00:00 2001 From: Faheed Date: Sun, 23 Nov 2025 15:24:52 +0300 Subject: [PATCH 3/5] before pull --- .env | 6 +++--- recruitment/views.py | 3 ++- templates/applicant/career.html | 2 +- templates/base.html | 23 ++++++++++++----------- templates/portal_base.html | 12 ++---------- 5 files changed, 20 insertions(+), 26 deletions(-) diff --git a/.env b/.env index b9e2bf0..8d7fbd5 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ -DB_NAME=norahuniversity -DB_USER=norahuniversity -DB_PASSWORD=norahuniversity \ No newline at end of file +DB_NAME=haikal_db +DB_USER=faheed +DB_PASSWORD=Faheed@215 \ No newline at end of file diff --git a/recruitment/views.py b/recruitment/views.py index 9f2cf2b..fe748b6 100644 --- a/recruitment/views.py +++ b/recruitment/views.py @@ -4053,7 +4053,8 @@ def portal_login(request): return render(request, "recruitment/portal_login.html", context) - +@login_required +@candidate_user_required def candidate_portal_dashboard(request): """Candidate portal dashboard""" if not request.user.is_authenticated: diff --git a/templates/applicant/career.html b/templates/applicant/career.html index 3f3da46..e0853fc 100644 --- a/templates/applicant/career.html +++ b/templates/applicant/career.html @@ -237,7 +237,7 @@ {% empty %} - {% endif %} -
-
-
-
- -
{% trans "Back to Dashboard" %}
-

{% trans "View all your applications" %}

- {% if application.hiring_agency %} - - {% trans "Go Back" %} - - {% else %} - - {% trans "Go to Dashboard" %} - - {% endif %} -
-
-
- - {% if application.resume %} -
-
-
- -
{% trans "Download Resume" %}
-

{% trans "Get your submitted resume" %}

- - - {% trans "Download" %} - -
-
-
- {% endif %} - -
+
-- 2.39.5