mobile responsiveness #43

Merged
ismail merged 15 commits from frontend into main 2025-12-02 13:06:04 +03:00
3 changed files with 16 additions and 12 deletions
Showing only changes of commit 8c13bccd87 - Show all commits

6
.env
View File

@ -1,3 +1,3 @@
DB_NAME=norahuniversity
DB_USER=norahuniversity
DB_PASSWORD=norahuniversity
DB_NAME=haikal_db
DB_USER=faheed
DB_PASSWORD=Faheed@215

View File

@ -440,7 +440,7 @@ urlpatterns = [
name="applicant_portal_dashboard",
),
path(
"applications/applications/<slug:slug>/",
"applications/application/<slug:slug>/",
views.applicant_application_detail,
name="applicant_application_detail",
),

View File

@ -322,21 +322,25 @@
{% comment %} <li class="nav-item">
<a class="nav-link text-secondary" href="{% url 'applicant_profile' %}">{% trans "Applications" %}</a>
</li> {% endcomment %}
{% if request.user.user_type == 'candidate' and request.user.is_authenticated and request.user.profile_image.url %}
<a href="{% url 'applicant_portal_dashboard' %}">
<li class="nav-item mx-2 mb-1">
{% if request.user.user_type == 'candidate' and request.user.is_authenticated and request.user.profile_image.url %}
<a href="{% url 'applicant_portal_dashboard' %}" class="mx-2">
<img src="{{ request.user.profile_image.url }}" alt="{{ user.username }}" class="profile-avatar"
style="width: 50px; height: 50px; object-fit: cover; background-color: var(--kaauh-teal); display: inline-block; vertical-align: middle; border-radius: 50%;"
title="{% trans 'Your account' %}">
</a>
{% else %}
<li class="nav-item">
<a class="nav-link text-secondary" href="{% url 'applicant_portal_dashboard' %}">{% trans "Profile" %}</a>
<a class="nav-link text-primary-theme" href="{% url 'applicant_portal_dashboard' %}">{% trans "Profile" %}</a>
{% endif %}
</li>
{% endif %}
<li class="nav-item">
<a class="nav-link text-secondary" href="{% url 'kaauh_career' %}">{% trans "Careers" %}</a>
<li class="nav-item mx-2 mb-1">
<a class="nav-link text-secondary text-primary-theme" href="{% url 'kaauh_career' %}">{% trans "Careers" %}</a>
</li>
<li class="nav-item dropdown">
<button class="language-toggle-btn dropdown-toggle" type="button"
data-bs-toggle="dropdown" data-bs-offset="0, 8" aria-expanded="false"