{% block head %}
{% block title %}{% endblock %} - OpenGnsys
{% endblock %}
OpenGnsys
{% if current_user.is_authenticated %}
{{ _('Dashboard') }}
(current)
{{ _('Commands') }}
{{ _('Images') }}
{{ _('Scopes management') }}
{{ _('Repos') }}
{% if current_user.admin %}
{{ _('Servers') }}
{{ _('Users') }}
{% endif %} {% endif %}
{% if current_user.is_authenticated %}
{{ current_user.id }}
{{ _('Logout') }}
{% else %}
{{ _('Login') }}
{% endif %}
{% block container %}
{# The sidebar is not visible on index and login #} {% if request.endpoint not in ["index", "login", "client_list"] %}
{% block sidebar %}{% endblock %}
{% else %} {% endif %}
{% block commands %}{% endblock %}
{% block content %}{% endblock %}
{% endblock %}
{% block footer %} {% endblock %}
{% block extrabody %}{% endblock %}