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