{% macro usage_bar(s) -%}
{%- endmacro %} {# Scale headroom of one subnet (headroom.SubnetHeadroom): status, IPs left at max scale and the demand's contributors as the tooltip. #} {% macro headroom_badge(hr) -%} {% if hr %} {{ hr.status_label }} · {{ hr.left }} left {% else %}–{% endif %} {%- endmacro %} {# Import "with context": needs active_account, active_label and csrf_token. #} {% macro no_data() -%} {% if active_account %} {% else %}