{% load i18n %}{% comment %} A gridded run's calculation on its Map tab (#294, the GridRun board; gridded.stages.view): the run status line (the workspace's pattern: one line, a bar, Cancel; where it failed or was cancelled, with "Change the settings" and "Forget this run"), then the stages table (each stage, its state with a bar on the one running, and its time), on failure what to change with a link to it on Set-up and the run's log, and beside them what is being calculated. A new start of a finished run (#293, ``progress.again``) shows the line above the results it will replace, with its stages in a disclosure. Polled by htmx (outerHTML) while the run calculates (gridded:progress): the status line's sentence is announced through #announcer (data-announce), no more often than the poll and every 10 s at most, at once when the run stops. When the run finishes the poll's answer puts the map in this block's place (gridded/_run_finished.html). Context: run, progress (gridded.stages.RunProgress); bar_update (the poll's answer once the run stops: the bar too, gridded/_run_bar_update.html). {% endcomment %}{% if bar_update %}{% include "gridded/_run_bar_update.html" %}{% endif %}{% with p=progress status=progress.status %}
{{ status.head }}{% if status.rest %} {{ status.rest }}{% endif %}
{% if p.active %}{% endif %}