{% load i18n %}

<div class="module">
    
    <nav class="celery-tabs">
        <a href="{% url 'dj_celery_panel:index' %}" class="celery-tab {% if current_tab == 'overview' %}celery-tab-active{% endif %}">
            {% trans 'Overview' %}
        </a>
        <a href="{% url 'dj_celery_panel:workers' %}" class="celery-tab {% if current_tab == 'workers' %}celery-tab-active{% endif %}">
            {% trans 'Workers' %}
        </a>
        <a href="{% url 'dj_celery_panel:tasks' %}" class="celery-tab {% if current_tab == 'tasks' %}celery-tab-active{% endif %}">
            {% trans 'Tasks' %}
        </a>
        <a href="{% url 'dj_celery_panel:queues' %}" class="celery-tab {% if current_tab == 'queues' %}celery-tab-active{% endif %}">
            {% trans 'Queues' %}
        </a>
        <a href="{% url 'dj_celery_panel:configuration' %}" class="celery-tab {% if current_tab == 'configuration' %}celery-tab-active{% endif %}">
            {% trans 'Configuration' %}
        </a>
    </nav>
</div>
