{% extends 'layout.html.jinja2' %} {% set menu_section = 'home' %} {% block title %}Home{% endblock %} {# This is the main template file, along with the layout. #} {# The engine is Jinja2, close to Twig (yet not as good) #} {% block content %} {% macro target_button(target) -%}
{{ target.name }} NO DATA ERROR
{%- endmacro %} {#############################################################################} {% macro icon(name,solid=false) %}{% endmacro %} {#############################################################################}

Loading Heliopropa…
This might take a while.

{{ icon('calendar') }} Time Interval

{{ icon('globe-africa') }} Planets
{% for target in planets %} {{ target_button(target) }} {% endfor %}

{# The probes and comets are not displayed in the ESA version. #} {% if not is_esa %}
{{ icon('rocket') }} Probes & Comets
{% for target in probes %} {{ target_button(target) }} {% endfor %} {% for target in comets %} {{ target_button(target) }} {% endfor %}

{% endif %} {{ icon('flask') }} Parameters
{# The following sections are not displayed in the ESA version. #} {% if not is_esa %}
{{ icon('database') }} Inputs
{% for input in config.inputs %}
{% endfor %}

{{ icon('chart-area') }} Models
{% for layer in config.layers.models %}
{% endfor %}

{{ icon('align-right') }} Campaigns
{% for layer in config.layers.campaigns %}
{% endfor %}

{{ icon('atlas', true) }} Catalogs
{% for layer in config.layers.catalogs %}
{% endfor %}
{% endif %}{# not is_esa #}
{#############################################################################}
{% if not is_esa %} {% endif %}

Drag to zoom in, double click to zoom out.

{% endblock %} {#### CSS ####################################################################} {% block styles %} {# #} {% endblock %} {#### JAVASCRIPT #############################################################} {% block scripts_footer %} {#### SAMP ###################################################################} {% endblock %}