{% extends "htmx/form_base.html" %} {% block form %}
{% if component.is_submission_confirmed %}

Successfully Submitted!

Your workflows are now queued or running in the cloud. You can track their progress or view the results on your profile page.

Track Calculations
All Workflows (Profile)
{% for status in component.statuses %} {{ status.workflow_name_display }} {% endfor %}
{% htmx_button method_name="reset_form" label="Submit Another Workflow" theme="primary" icon="plus-circle" css_class="rounded-pill px-4 py-2 fw-bold shadow" %}
{% else %}
{% if not component.form_data.primary_input_type %}

Please select an input type to continue.

{% else %}
{% if component.primary_input_icon %} {% endif %}
Selected Input Type

{{ component.primary_input_label }}

{% htmx_button method_name="clear_input_type" label="Change" theme="outline-secondary" icon="arrow-counterclockwise" css_class="btn-sm rounded-pill px-3" %}
1
Provide Input {% if component.form_data.structure or component.form_data.molecule or component.form_data.composition %} {% endif %}
{% if component.form_data.primary_input_type == "structure" %} {% htmx_structure_input name="structure" label="Upload Structure" allow_database_input=True %} {% elif component.form_data.primary_input_type == "molecule" %} {% htmx_molecule_input name="molecule" label="Draw Molecule" %} {% elif component.form_data.primary_input_type == "composition" %}
  • For Fixed-Composition Search, enter a formula like LiCoO2.
  • For Chemical System Search, enter elements separated by dashes like Li-Co-O.
{% endif %}
{% if component.form_data.structure or component.form_data.molecule or component.form_data.composition %}
2
Select Workflows {% if component.form_data.calculation_types %}{% endif %}
{% if component.form_data.primary_input_type == "molecule" %}
Workflows for molecules are currently under development.
{% else %}
{% for option in component.calculation_type_options %} {% endfor %}
{% if component.form_data.calculation_types %}
{% htmx_button method_name="submit_workflow" label="Submit Workflows" theme="primary" icon="rocket-takeoff-fill" css_class="w-100 shadow rounded-pill py-3 fw-bold fs-5" %}
{% endif %} {% endif %} {% else %}
2
Select Workflows

Provide input first

{% endif %}
{% endif %}
{% endif %}
{% endblock %}