{% extends 'base.jinja.html' %}


{% block page_title %}
    {{ l.settings_page_title }}
{% endblock %}

{% block add_js %}
    <script src="{{ STATIC_PREFIX }}js/settings.js"></script>
{% endblock %}

{% block body_class %}view-settings-list{% endblock %}

{% block page %}

    {% if request.args.get('error') %}
        <div class="alert alert-error">
            {{ t(request.args.get('error')) }}
        </div>
    {% endif %}

    {% if request.args.get('warning') %}
        <div class="alert alert-yellow">
            <i class="fa fa-warning"></i>{{ t(request.args.get('warning')) }}
        </div>
    {% endif %}

    <div class="bottom-content">
        <div class="page-content">
            <div class="inner">
                {% with variables=variables %}
                    {% include 'configuration/settings/component/table.jinja.html' %}
                {% endwith %}

                <div class="modals hidden">
                    <div class="modals-outer">
                        <div class="modals-inner">
                            {% include 'configuration/settings/modal/edit.jinja.html' %}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


{% endblock %}
