{% extends "base.html" %} {% block title %}DNC-Verlauf — Takoma{% endblock %} {% block content %}
← NC-Programme

📊 DNC-Übertragungs-Verlauf

{% if jobs %}
{% for j in jobs %} {% endfor %}
Job Richtung Programm Port Größe Status Zeit
#{{ j.id }} {% if j.direction == 'send' %}📤 Senden{% else %}📥 Empfangen{% endif %} {{ j.program_name }} {{ j.port or '—' }} · {{ j.baudrate }} {% if j.total_bytes %} {{ "%.1f"|format(j.progress_bytes / 1024) }} / {{ "%.1f"|format(j.total_bytes / 1024) }} KB {% else %}—{% endif %} {% if j.status == 'done' %} ✓ OK {% elif j.status == 'error' %} ✗ FEHLER {% elif j.status == 'running' %} ▶ LÄUFT {% elif j.status == 'aborted' %} ✗ ABBR. {% else %} {{ j.status }} {% endif %} {{ (j.started_at or '—')[:19].replace('T',' ') }}
{% else %}
📡

Noch keine DNC-Übertragungen

Sobald du Programme an CNCs schickst, erscheinen sie hier.

{% endif %}
{% endblock %}