14 lines
1.0 KiB
HTML
14 lines
1.0 KiB
HTML
{% load i18n %}
|
|
<div class="flex justify-center items-center gap-3" hx-swap='outerHTML' hx-target="#status-result-{{ application.pk }}"
|
|
hx-on::after-request="const modal = bootstrap.Modal.getInstance(document.getElementById('candidateviewModal')); if (modal) { modal.hide(); }">
|
|
<a hx-post="{% url 'update_application_status' job.slug application.slug 'offer' 'Accepted' %}" class="inline-flex items-center gap-2 px-4 py-2 border-2 border-gray-300 text-gray-700 hover:border-temple-red hover:text-temple-red rounded-lg text-sm font-medium transition">
|
|
<i data-lucide="check" class="w-4 h-4"></i> {% trans "Accepted" %}
|
|
</a>
|
|
<a hx-post="{% url 'update_application_status' job.slug application.slug 'offer' 'Rejected' %}" 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 "Rejected" %}
|
|
</a>
|
|
</div>
|
|
|
|
<script>
|
|
lucide.createIcons();
|
|
</script> |