diff --git a/recruitment/__pycache__/forms.cpython-313.pyc b/recruitment/__pycache__/forms.cpython-313.pyc index c3d5efb..4a127ba 100644 Binary files a/recruitment/__pycache__/forms.cpython-313.pyc and b/recruitment/__pycache__/forms.cpython-313.pyc differ diff --git a/recruitment/__pycache__/models.cpython-313.pyc b/recruitment/__pycache__/models.cpython-313.pyc index 4fb5e79..eac1470 100644 Binary files a/recruitment/__pycache__/models.cpython-313.pyc and b/recruitment/__pycache__/models.cpython-313.pyc differ diff --git a/recruitment/__pycache__/urls.cpython-313.pyc b/recruitment/__pycache__/urls.cpython-313.pyc index cf45813..a4bcbcd 100644 Binary files a/recruitment/__pycache__/urls.cpython-313.pyc and b/recruitment/__pycache__/urls.cpython-313.pyc differ diff --git a/recruitment/__pycache__/views.cpython-313.pyc b/recruitment/__pycache__/views.cpython-313.pyc index 15a2a16..a45f0cd 100644 Binary files a/recruitment/__pycache__/views.cpython-313.pyc and b/recruitment/__pycache__/views.cpython-313.pyc differ diff --git a/recruitment/__pycache__/views_frontend.cpython-313.pyc b/recruitment/__pycache__/views_frontend.cpython-313.pyc index df9b9a7..b90a714 100644 Binary files a/recruitment/__pycache__/views_frontend.cpython-313.pyc and b/recruitment/__pycache__/views_frontend.cpython-313.pyc differ diff --git a/templates/recruitment/agency_list.html b/templates/recruitment/agency_list.html index 2702b8d..0f5bbce 100644 --- a/templates/recruitment/agency_list.html +++ b/templates/recruitment/agency_list.html @@ -15,6 +15,7 @@ --kaauh-info: #17a2b8; --kaauh-danger: #dc3545; --kaauh-warning: #ffc107; + --kaauh-gray-light: #f8f9fa; } /* Primary Color Overrides */ @@ -53,6 +54,17 @@ box-shadow: 0 4px 8px rgba(0,0,0,0.15); } + /* Secondary Button Style */ + .btn-outline-secondary { + color: var(--kaauh-teal-dark); + border-color: var(--kaauh-teal); + } + .btn-outline-secondary:hover { + background-color: var(--kaauh-teal-dark); + color: white; + border-color: var(--kaauh-teal-dark); + } + /* Search Form Styling */ .search-form { background-color: #f8f9fa; @@ -71,6 +83,41 @@ font-size: 0.875rem; font-weight: 600; } + + /* Table View Styling */ + .table-view .table thead th { + background-color: var(--kaauh-teal-dark); + color: white; + font-weight: 600; + border-color: var(--kaauh-border); + text-transform: uppercase; + font-size: 0.8rem; + letter-spacing: 0.5px; + padding: 1rem; + } + .table-view .table tbody td { + vertical-align: middle; + padding: 1rem; + border-color: var(--kaauh-border); + } + .table-view .table tbody tr:hover { + background-color: var(--kaauh-gray-light); + } + + /* Card View Specific Styles */ + .card-view .card { + height: 100%; + } + .card-view .card-title { + color: var(--kaauh-teal-dark); + font-weight: 700; + } + .card-view .card-body { + display: flex; + flex-direction: column; + justify-content: space-between; + flex-grow: 1; + } {% endblock %} @@ -115,7 +162,7 @@ value="{{ search_query }}"> -
+
@@ -125,78 +172,168 @@ {% if page_obj %} -
- {% for agency in page_obj %} -
-
-
- -
-
- {{ agency.name }} -
- {% if agency.email %} - - - - {% endif %} -
+
+ {% include "includes/_list_view_switcher.html" with list_id="agency-list" %} - - {% if agency.contact_person %} -

- - {% trans "Contact:" %} {{ agency.contact_person }} -

- {% endif %} + +
+
+ + + + + + + + + + + + + + + {% for agency in page_obj %} + + + + + + + + + + + {% endfor %} + +
{% trans "Agency Name" %}{% trans "Contact Person" %}{% trans "Email" %}{% trans "Phone" %}{% trans "Country" %}{% trans "Website" %}{% trans "Created" %}{% trans "Actions" %}
+ + {{ agency.name }} + + {{ agency.contact_person|default:"-" }} + {% if agency.email %} + + + {{ agency.email|truncatechars:20 }} + + {% else %} + - + {% endif %} + {{ agency.phone|default:"-" }} + {% if agency.country %} + + {{ agency.get_country_display }} + {% else %} + - + {% endif %} + + {% if agency.website %} + + {{ agency.website|truncatechars:25 }} + + + {% else %} + - + {% endif %} + + + {{ agency.created_at|date:"M d, Y" }} + + + +
+
+
- {% if agency.phone %} -

- - {{ agency.phone }} -

- {% endif %} - - {% if agency.country %} -

- - {{ agency.get_country_display }} -

- {% endif %} - - - {% if agency.website %} -

- - - {{ agency.website|truncatechars:30 }} - - -

- {% endif %} - - -
-
- - {% trans "View" %} - - - {% trans "Edit" %} + +
+ {% for agency in page_obj %} +
+
+
+ + -
- - {% trans "Created" %} {{ agency.created_at|date:"M d, Y" }} - + + + {% if agency.contact_person %} +

+ + {% trans "Contact:" %} {{ agency.contact_person }} +

+ {% endif %} + + {% if agency.phone %} +

+ + {{ agency.phone }} +

+ {% endif %} + + {% if agency.country %} +

+ + {{ agency.get_country_display }} +

+ {% endif %} + + + {% if agency.website %} +

+ + + {{ agency.website|truncatechars:30 }} + + +

+ {% endif %} + + +
+ +
+ + {% trans "Created" %} {{ agency.created_at|date:"M d, Y" }} + +
-
- {% endfor %} + {% endfor %} +
diff --git a/templates/recruitment/candidate_detail.html b/templates/recruitment/candidate_detail.html index 6ef6297..98b2003 100644 --- a/templates/recruitment/candidate_detail.html +++ b/templates/recruitment/candidate_detail.html @@ -179,7 +179,7 @@ .timeline-bg-offer { background-color: #28a745 !important; } .timeline-bg-rejected { background-color: #dc3545 !important; } - + /* ------------------------------------------- */ /* 1. Base Spinner Styling */ @@ -272,7 +272,7 @@ @@ -313,14 +313,14 @@ {% trans "Contact & Job" %} - + - +
@@ -367,7 +367,7 @@
{# TAB 2 CONTENT: RESUME #} - + {# NEW TAB 3 CONTENT: CANDIDATE JOURNEY TIMELINE #}
@@ -615,9 +615,9 @@ {# RIGHT COLUMN: ACTIONS AND CANDIDATE TIMELINE #}
- + {# ACTIONS CARD #} - +
{% trans "Management Actions" %}
@@ -631,7 +631,7 @@ {% trans "Back to List" %} {% if candidate.resume %} - + {% trans "View Actual Resume" %} @@ -640,22 +640,22 @@ {% trans "Download Resume" %} - + {% trans "View Resume AI Overview" %} - + {% endif %}
{% trans "Time to Hire: " %}{{candidate.time_to_hire|default:100}} days
- +
- - + +
@@ -668,17 +668,18 @@ {% if candidate.scoring_timeout %}
- + Resume is been Scoring... -
+
{% else %}
+ + {% trans "Unable to Parse Resume , click to retry" %} +
- {% endif %} + {% endif %} {% endif %}
diff --git a/templates/recruitment/candidate_list.html b/templates/recruitment/candidate_list.html index dc2de8b..270c7f9 100644 --- a/templates/recruitment/candidate_list.html +++ b/templates/recruitment/candidate_list.html @@ -295,11 +295,9 @@ - - {# CRITICAL: Remove the DIV and the text-nowrap class #} - {% trans "AI Scoring..." %} {% endif %}