{# Title bar with stats and controls #} {% block title_bar %}

Requirements Traceability

PRD: {{ stats.prd.active }} OPS: {{ stats.ops.active }} DEV: {{ stats.dev.active }} {% if repo_stats %} | {% for prefix, counts in repo_stats.items()|sort %} {{ prefix }}: {{ counts.active }} {% endfor %} {% endif %} | Files: {{ stats.impl_files }}
v{{ version }} {# Mode toggle buttons in a unified group (REQ-d00092) #}
{% if edit_mode %} {% endif %} {% if review_mode %} {% endif %}
{% endblock %} {# Filter and view controls #} {% block filter_controls %}
{% endblock %} {# Edit mode panel (only shown in edit mode) #} {% if edit_mode %} {% block edit_mode_panel %} {% endblock %} {% endif %} {# Tree title #}

Traceability Tree - Flat View

{# Filter header with inputs #} {% block filter_header %}
REQ ID
Title
Level
Status
Cov
Topic
{% endblock %} {# Main requirements tree content #} {% block requirements_tree %}
{# Requirements will be inserted here dynamically or server-side #} {% block requirements_list %} {{ requirements_html|safe }} {% endblock %}
{% endblock %}