15 lines
986 B
HTML
15 lines
986 B
HTML
{% load i18n %}
|
|
<div class="flex justify-center items-center gap-3" hx-swap="outerHTML" hx-target="#interview-result-{{ application.pk }}"
|
|
hx-on::after-request="if (typeof closeCandidateModal === 'function') { closeCandidateModal(); }">
|
|
<a hx-post="{% url 'update_application_status' job.slug application.slug 'interview' 'Passed' %}" class="inline-flex items-center gap-2 px-4 py-2 border-2 border-gray-300 text-gray-700 hover:border-green-500 hover:text-green-600 rounded-lg text-sm font-medium transition">
|
|
<i data-lucide="check" class="w-4 h-4"></i> {% trans "Passed" %}
|
|
</a>
|
|
<a hx-post="{% url 'update_application_status' job.slug application.slug 'interview' 'Failed' %}" class="inline-flex items-center gap-2 px-4 py-2 bg-red-500 hover:bg-red-600 text-white rounded-lg text-sm font-medium transition shadow-sm hover:shadow-md">
|
|
<i data-lucide="x" class="w-4 h-4"></i> {% trans "Failed" %}
|
|
</a>
|
|
</div>
|
|
|
|
<script>
|
|
lucide.createIcons();
|
|
</script>
|