{% extends "base.html" %}
{% block content %}

<div class="mt-3">
    <div id="settingsButtonRow" class="row mb-3">
        <div class="col-auto me-auto pt-3">
            {% module Template("widgets/refresh-timer.html", web_ui_options=web_ui_options) %}
        </div>
        <div class="col-auto">
            <div class="d-inline-flex gap-1">
                {% module Template("widgets/filters-display-buttons.html", web_ui_options=web_ui_options) %}
            </div>
        </div>
    </div>

    <div id="filters-area" class="appearing-panel card mb-3">
        {% module Template("widgets/filters-area-header.html", web_ui_options=web_ui_options) %}
        <div class="card-body">
            <div class="row row-cols-1 g-4 mb-4 row-cols-md-3">
                <div class="col">
                    {% module Template("cards/bands.html", web_ui_options=web_ui_options) %}
                </div>
                <div class="col">
                    {% module Template("cards/sigs.html", web_ui_options=web_ui_options) %}
                </div>
                <div class="col">
                    {% module Template("cards/sources.html", web_ui_options=web_ui_options) %}
                </div>
            </div>
            <div class="row row-cols-1 row-cols-md-3 g-4">
                <div class="col">
                    {% module Template("cards/dx-continent.html", web_ui_options=web_ui_options) %}
                </div>
                <div class="col">
                    {% module Template("cards/de-continent.html", web_ui_options=web_ui_options) %}
                </div>
                <div class="col">
                    {% module Template("cards/modes.html", web_ui_options=web_ui_options) %}
                </div>
            </div>
        </div>
    </div>

    <div id="display-area" class="appearing-panel card mb-3">
        {% module Template("widgets/display-area-header.html", web_ui_options=web_ui_options) %}
        <div class="card-body">
            <div id="display-container" class="row row-cols-1 row-cols-md-4 g-4">
                <div class="col">
                    {% module Template("cards/spot-age.html", web_ui_options=web_ui_options) %}
                </div>
                <div class="col">
                    {% module Template("cards/color-scheme-and-band-color-scheme.html", web_ui_options=web_ui_options) %}
                </div>
            </div>
        </div>
    </div>

    <div id="bands-container"></div>

</div>

<script>
    let spotProvidersEnabledByDefault = {% raw json_encode(web_ui_options["spot-providers-enabled-by-default"]) %};
</script>
<script src="/js/common.js?v=1775236305"></script>
<script src="/js/spotsbandsandmap.js?v=1775236305"></script>
<script src="/js/bands.js?v=1775236305"></script>
<script>$(document).ready(function() { $("#nav-link-bands").addClass("active"); }); <!-- highlight active page in nav --></script>

{% end %}