{% extends 'generic/base.html' %}

{% block navigation %}
    {{ block.super }}
    <div class="container-fluid px-0 mb-3 mt-1">
        <div class="d-flex justify-content-between align-items-center bg-dark bg-opacity-50 border border-secondary rounded p-2">
            <div class="d-flex align-items-center gap-2">
                <span class="text-muted small fw-semibold text-uppercase me-2"><i class="bi bi-person-workspace me-1"></i>Supervisors:</span>
                <a href="{% url 'generic:supervisor' %}" class="btn btn-sm btn-outline-info {% if request.resolver_match.url_name == 'supervisor' and 'active' not in request.GET %}active{% endif %}">
                    <i class="bi bi-person-check-fill me-1"></i>View Active
                </a>
                <a href="{% url 'generic:supervisor' %}?active=" class="btn btn-sm btn-outline-secondary {% if request.resolver_match.url_name == 'supervisor' and 'active' in request.GET %}active{% endif %}">
                    <i class="bi bi-people-fill me-1"></i>View All
                </a>
                <a href="{% url 'generic:supervisor_create' %}" class="btn btn-sm btn-outline-success {% if request.resolver_match.url_name == 'supervisor_create' %}active{% endif %}">
                    <i class="bi bi-plus-circle-fill me-1"></i>Create New
                </a>
            </div>
        </div>
    </div>
{% endblock %}

{% block js %}

{% endblock %}