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 }}"> -
- - {% trans "Contact:" %} {{ agency.contact_person }} -
- {% endif %} + +| {% 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" }} + + | ++ + | +
- - {{ agency.phone }} -
- {% endif %} - - {% if agency.country %} -- - {{ agency.get_country_display }} -
- {% endif %} - - - {% if agency.website %} -- - - {{ agency.website|truncatechars:30 }} - - -
- {% endif %} - - -+ + {% 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 %} + + +