{% extends "network/base.html" %} {% block title %}NDC Demo Runner — Network Design Canvas{% endblock %} {% block content %}
{{ runs|length }}
Total Runs
{% if last_run %} {% if last_run.status == 'pass' %}
PASS
{% elif last_run.status == 'partial' %}
PARTIAL
{% else %}
FAIL
{% endif %} {% else %}
{% endif %}
Last Run
{% if last_run %}
{{ last_run.scenarios_passed }}/{{ last_run.scenarios_total }}
{% else %}
{% endif %}
Scenarios Passed
{% if last_run %}
{{ (last_run.elapsed_ms / 1000)|round(1) }}s
{% else %}
{% endif %}
Last Duration

Demo Control Panel

Audience
Scenarios

Results

{% if last_result %} {% for key, val in last_result.items() if val is mapping %} {% set sid = key[1:] if key|length == 2 and key[0] == 's' else '' %} {% set meta = scenario_meta.get(sid, {}) %}
{% if val.status == 'pass' %} {% else %} {% endif %} {{ meta.title or key }}
{% for mk, mv in val.items() if mk != 'status' and mk != 'elapsed_ms' and mv is not none %} {{ mk }}: {{ mv }} {% endfor %}
{% endfor %} {% endif %}

Executive Demo Flow (15 min)

{% set acts = [ ('A', '#e74c3c', '1:04', 'EOL Fire Drill', 'Risk → Replace
→ Runbook'), ('B', '#3498db', '1:05', 'Multi-Cloud', 'Hybrid overlay
→ Cost attribution'), ('C', '#f39c12', '1:06', 'Compliance', 'STIG → Remediate
→ cATO ready'), ] %} {% for sid, color, icon, title, desc in acts %}
{{ icon }}
{{ title }}
{{ desc | safe }}
{% if not loop.last %}
{% endif %} {% endfor %}

Run History

{% if runs %} {% for run in runs %} {% endfor %}
# Date / Time (UTC) Audience Scenarios Status Duration
{{ loop.index }} {{ run.created_at[:19].replace('T',' ') if run.created_at else '—' }} {% if run.audience == 'tech' %} TECH {% else %} EXEC {% endif %} {{ run.scenarios_passed }}/{{ run.scenarios_total }} {% if run.status == 'pass' %} ✓ PASS {% elif run.status == 'partial' %} ~ PARTIAL {% else %} ✗ {{ run.status|upper }} {% endif %} {{ (run.elapsed_ms / 1000)|round(1) }}s
{% else %}
No runs yet — click Run Demo to execute your first scenario.
{% endif %}
{% include "includes/iqe_query_widget.html" %} {% endblock %} {% block scripts %} {% endblock %}