{% extends "base.html" %} {% block title %}AADC Monitoring{% endblock %} {% block content %}
← Designs

🔔 Portfolio Monitoring

Score drift & alert tracking · {{ data.generated_at[:19] }} UTC
{% for level, color in [('CRITICAL','danger'),('HIGH','warning'),('MEDIUM','info'),('OK','success')] %} {% set cnt = data.summary.get(level.lower(), 0) %} {{ level }}: {{ cnt }} {% endfor %}
{{ data.summary.critical }}
Critical Drift (≥20pts)
{{ data.summary.high }}
High Drift (≥10pts)
{{ data.summary.medium }}
Medium Drift (≥5pts)
{{ data.summary.total_designs }}
Total Designs ({{ data.summary.assessed }} assessed)
Design Score Monitor
{% for d in data.design_alerts %} {% endfor %}
Design Current Score Baseline Drift Alert Score History Actions
{{ d.design_name }} {% if d.current_score is not none %} {{ d.current_score }}% {% else %} {% endif %} {% if d.baseline_score is not none %}{{ d.baseline_score }}%{% else %}—{% endif %} {% if d.baseline_score is not none and d.current_score is not none %} {{ '+' if d.drift > 0 else '' }}{{ d.drift }}pts {% else %} {% endif %} {{ d.alert_level }} {% if d.history %}
{% for h in d.history %} {% set ht = (h.score / 100 * 24)|round(0)|int %}
{% endfor %}
{% else %} no history {% endif %}
{% endblock %}