{% extends 'tom_common/base.html' %} {% load bootstrap4 targets_extras dataproduct_extras dataservices_extras %} {% load render_table from django_tables2 %} {% load i18n %} {% load crispy_forms_tags %} {% block title %}Targets{% endblock %} {% block content %}
{{ target_count }} Target{{ target_count|pluralize }}   {% catalog_query_menu %} {% update_broker_data_button %}
{# Aladin skymap -- initialized once on page load (Moon/Sun computed here). #} {# On HTMX filter updates, only the target markers are updated via OOB swap #} {# into the aladin-targets-data div below (see target_table_partial.html). #} {% aladin_skymap skymap_objects %} {# Placeholder for OOB target data updates from HTMX #}

{% csrf_token %}
{% block target_table_content %}
{# Search form (we refer to this id="filter-form" in the TargetTable.Meta.attrs) #}
{% crispy filter.form %}
{# Progress indicator #}
{# The actual table #}
{% include "tom_targets/partials/target_table_partial.html" %}

{% endblock target_table_content %}
{% endblock content %}