{% extends 'index.html' %}
{% block content %}
{% load i18n %}
{% load static %}
<section class="oh-wrapper oh-main__topbar" x-data="{searchShow: false}">
    <div class="oh-main__titlebar oh-main__titlebar--left">
        <div hx-get="{% url 'candidate-view-card' %}" class="oh-main__titlebar-title fw-bold mb-0 text-dark"
            hx-target="#section" style="cursor:pointer;">{% trans "Candidates" %}</div>
        <a class="oh-main__titlebar-search-toggle " role="button" aria-label="Toggle Search"
            @click="searchShow = !searchShow">
            <ion-icon name="search-outline" class="oh-main__titlebar-serach-icon"></ion-icon>
        </a>
    </div>

    <div class="oh-main__titlebar oh-main__titlebar--right">
        <div class="oh-btn-group ml-2">
            <div class="oh-dropdown">
                {% if perms.recruitment.add_candidate %}
                    <a href="{% url 'candidate-create' %}" class='oh-btn oh-btn--secondary'>
                        <ion-icon name="add-sharp" class="mr-1"></ion-icon>{% trans "Create" %}
                    </a>
                {% endif %}
            </div>
        </div>
    </div>
</section>

<div class="oh-wrapper">
    <div class="oh-empty">
        <img src="{% static 'images/ui/search.svg' %}" class="oh-404__image" alt="Page not found. 404." />
        <h1 class="oh-empty__title">{% trans "No Records found." %}</h1>
        <p class="oh-empty__subtitle">{% trans "There are currently no candidates to consider." %} </p>
    </div>
</div>
{% endblock %}
