{% extends "ui/_layout.html" %} {% block title %}Exports - nbdmux{% endblock %} {% block subnav %} {% endblock %} {% block intro %} {# One-sentence context so an operator landing here knows what nbdmux does without hunting for the README. Same pattern bty uses on /ui/images (intro_box.html). #}
| Name | Status | Progress | File | Source | Format | Action |
|---|---|---|---|---|---|---|
{{ e.name }}
|
{# Status pill colours match the wire states the JSON /exports endpoint documents: green for ready (nbd-server picks up), red for failed (operator retries), blue for the three in-flight intermediates. #} {% if e.status == 'ready' %} ready {% elif e.status == 'failed' %} failed {% else %} {{ e.status }} {% endif %} |
{% if e.progress is not none %}
|
{{ e.file }} | {% if e.src_url %} {{ e.src_url }} {% else %} pre-warmed {% endif %} | {% if e.format %} {{ e.format }} {% else %} - {% endif %} | {# Delete: form-encoded POST so a simple button works without JavaScript. Warm-created rows also unlink the on-disk .img in the handler; pre-warmed rows leave their file alone. #} |
No exports registered yet. Operators POST to
/exports to register (see the
nbdmux.client library) or bty-web's
Pre-warm button on Images to warm one
for ramboot.
| ||||||