{% extends "base.html" %} {% set active_page = 'overview' %} {% block title %}Portfolio · net-alpha{% endblock %} {% block topbar_right %}{% endblock %} {% block content %} {# accountMultiSelect() is registered globally by static/account_multi_select.js (loaded from base.html before alpine.min.js), so no inline definition is needed here. #}

Portfolio

{% if selected_accounts %}{{ selected_accounts | join(', ') }}{% else %}All accounts{% endif %} · {{ selected_period|default('YTD')|upper }}
{# The page-level verify badge is intentionally omitted here — the topbar "Data check: …" pill (see base.html) already conveys the same status site-wide, so duplicating it next to the toolbar made the header feel cluttered and ambiguous (two chips, one with no tooltip explaining what was being verified). #} {% if imports %}{% include "_portfolio_toolbar.html" %}{% endif %}
{% if not imports %} {% include "_portfolio_empty_state.html" %} {% else %} {%- set _body_qs %}period={{ selected_period }}{% for _a in selected_accounts %}&account={{ _a|urlencode }}{% endfor %}{%- endset -%}
{% with _skel_variant='kpi-row' %}{% include "_skeleton.html" %}{% endwith %} {% with _skel_variant='chart-panel' %}{% include "_skeleton.html" %}{% endwith %} {% with _skel_variant='chart-panel' %}{% include "_skeleton.html" %}{% endwith %}
{% endif %} {% endblock %}