{# SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 Proxy web UI base page template. This file is part of Hydrilla&Haketilo. Copyright (C) 2022 Wojtek Kosior Dual licensed under * GNU General Public License v3.0 or later and * Creative Commons Attribution Share Alike 4.0 International. You can choose to use either of these licenses or both. I, Wojtek Kosior, thereby promise not to sue for violation of this file's licenses. Although I request that you do not make use this code in a proprietary work, I am not going to enforce this in court. -#} {% macro button_row(buttons_data) %}
{% for classes, text, action in buttons_data %} {% if 'disabled-button' in classes %} {% else %}
{% endif %} {% endfor %}
{% endmacro %} {% block head %} {% block title required %}{% endblock %} - {{ _('web_ui.base.title.haketilo_proxy') }} {% endblock %} {% set active_endpoint = get_current_endpoint() %} {% set navigation_bar = [ ('home', _('web_ui.base.nav.home')), ('items.packages', _('web_ui.base.nav.packages')), ('items.libraries', _('web_ui.base.nav.libraries')), ('repos.repos', _('web_ui.base.nav.repos')), ('items.load_from_disk', _('web_ui.base.nav.load')) ] %}
{% block main required %}{% endblock %}