Skip to content
Snippets Groups Projects
Commit 285e7ef9 authored by an3-aboobakuru's avatar an3-aboobakuru
Browse files

final version code

parent e0194219
No related branches found
No related tags found
No related merge requests found
File added
File added
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
color: #007bff; /* Default color (Bootstrap's secondary color) */ color: #007bff; /* Default color (Bootstrap's secondary color) */
text-decoration: none; text-decoration: none;
margin-left: 10px; /* Adjust the spacing from other icons, e.g., the bell */ margin-left: 10px; /* Adjust the spacing from other icons, e.g., the bell */
position: relative; position: absolute;
transition: color 0.3s; transition: color 0.3s;
top: -6px; /* Adjust the vertical position */ top: -6px; /* Adjust the vertical position */
right: -880px; right: -880px;
......
...@@ -80,17 +80,13 @@ ...@@ -80,17 +80,13 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
</div>
</div>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<a href="{% url 'message_box' %}" class="fa fa-commenting custom-icon-btn position-relative"> <a href="{% url 'message_box' %}" class="fa fa-commenting custom-icon-btn position-relative">
{% if unread_notifications_count > 0 %}
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
{% endif %}
{{ unread_notifications_count }}
</span> </span>
{% endif %} {% endif %}
</a> </a>
</div>
</div>
</nav> </nav>
<!-- Login/Profile Icon --> <!-- Login/Profile Icon -->
<a href="{% url 'profile' %}" class="login-icon"> <a href="{% url 'profile' %}" class="login-icon">
......
...@@ -66,11 +66,15 @@ ...@@ -66,11 +66,15 @@
{% endif %} {% endif %}
</td> </td>
<td> <td>
{% if employer.status == "Open" %}
{% if request.user.user_type == "job_seeker" %} {% if request.user.user_type == "job_seeker" %}
<a href="{% url 'onboarding_form' employer.id %}" class="btn btn-primary">Fill Onboarding Form</a> <a href="{% url 'onboarding_form' employer.id %}" class="btn btn-primary">Fill Onboarding Form</a>
{% else %} {% else %}
<span class="text-muted">Must be Candidate</span> <span class="text-muted">Must be Candidate</span>
{% endif %} {% endif %}
{% else %}
<span class="text-muted">Closed</span>
{% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment