{# CUI // SP-CTI #} {% extends "network/base.html" %} {% block title %}SOP Library — NDC{% endblock %} {% block head %} {% endblock %} {% block content %}
{{ sops | length }} SOPs
{% for s in sops %} {% else %} {% endfor %}
Title Category CSP Ver Status Classification Updated
{{ s.title }} {{ s.category | replace('_', ' ') | title }} {{ (s.csp or 'multi') | upper }} v{{ s.version }} {{ s.status }} {{ s.classification or 'CUI' }} {{ (s.updated_at or '')[:10] }}
Author: {{ s.author or '—' }} CSP: {{ (s.csp or 'multi') | upper }} Version: v{{ s.version }} Created: {{ (s.created_at or '')[:10] }} {% if s.get('approved_at') %}Approved: {{ s.approved_at[:10] }}{% endif %}

{{ s.description }}

Steps
Prerequisites
Validation
Rollback
{% if is_admin %}
History
{% endif %}
{# Steps tab #}
{% if s.steps %} {% for step in s.steps %}
{{ step.number }} {{ step.title }} · {{ step.platform }} {% if step.time_est %}⏱ {{ step.time_est }}{% endif %} {% if step.dod_ref %}{{ step.dod_ref }}{% endif %}
{% if step.actions %} {% for action in step.actions %}
{{ action.label }}
{{ action.command }}
{% endfor %} {% elif step.get('action') %}
{{ step.action }}
{% endif %} {% if step.verification %} {% for v in step.verification %}
Verification
{{ v.command }}
{% if v.expected_output %}
Expected: {{ v.expected_output }}
{% endif %}
{% endfor %} {% endif %} {% if step.rollback_commands %} {% for rc in step.rollback_commands %}
ROLLBACK — {{ rc.label }}
{{ rc.command }}
{% endfor %} {% endif %} {% if step.notes %} {% for note in step.notes %}
{{ note }}
{% endfor %} {% endif %}
{% endfor %} {% else %}

No steps defined.

{% endif %}
{# Prerequisites tab #}
{% if s.prerequisites %}
    {% for p in s.prerequisites %}
  • {{ p }}
  • {% endfor %}
{% else %}

No prerequisites listed.

{% endif %}
{# Validation tab #}
{% if s.validation %}
    {% for v in s.validation %}
  • {{ v }}
  • {% endfor %}
{% else %}

No validation criteria defined.

{% endif %} {% if s.escalation %}
Escalation
{% for e in s.escalation %} {% endfor %}
TierContactCondition
T{{ e.tier }}{{ e.contact }}{{ e.condition }}
{% endif %}
{# Rollback tab #}
{% if s.rollback and s.rollback.steps %}
⚠ Rollback Procedure {% if s.rollback.rto %}(RTO: {{ s.rollback.rto }}){% endif %}
    {% for step in s.rollback.steps %}
  1. {{ step }}
  2. {% endfor %}
{% else %}

No rollback procedure defined.

{% endif %}
{# History tab (admin only) #} {% if is_admin %}
Loading...
{% endif %}
No SOPs found matching your filters.
{% endblock %} {% block scripts %} {% endblock %}