{# stage_box(stage, label, icon, color) stage — Alpine store key, e.g. 'imaging' label — display heading, e.g. 'Imaging' icon — bootstrap-icons name, e.g. 'camera-fill' color — Bootstrap color name for badge/icon, e.g. 'primary' col_attrs — extra HTML attrs on the col div, e.g. x-show="..." Supports Jinja2 caller(): if invoked via {% call stage_box(...) %}, the caller block replaces the default success/fail progress bar. #} {% macro stage_box(stage, label, icon, color, col_attrs='') %}
{{ label }}
{% if caller is defined %} {{ caller() }} {% else %}
{% endif %} {{ task_list(stage) }}
{% endmacro %} {% macro task_list(stage_name) %} {% endmacro %}
Robotic Session
Sun
Threshold
Dark Window
Activity
Self-Tasking
Telescope
Ground Station
Location
Adapter
RA / Dec
Alt / Az
N S E W Homing...
Cable Wrap
Alt Limits
/
Pointing Model
Controls locked — in progress
Slewing
Optics
System busy
Focus
steps
Moving...
Position HFR
Focus HFR
Active Tasks Completed Satellites Obs Img
{{ stage_box('imaging', 'Imaging', 'camera-fill', 'primary') }}
{% call stage_box('processing', 'Processing', 'gear-fill', 'warning', 'x-show="$store.citrasense.config?.processors_enabled"') %}
{% endcall %}
{% call stage_box('uploading', 'Submission', 'cloud-upload-fill', 'success') %}
{% endcall %}
Scheduled Tasks 0 scheduled

No scheduled tasks

{# Need `index` in scope so the overlap check can compare this row's start time against the previous row's stop time. #}
Target Filter Sky Count Countdown Window Actions