{% extends "htmx/form_base.html" %} {% block form %}
{% if component.active_panel == "periodic_table" %} {% htmx_periodic_table_input name="search_query" %} {% elif component.active_panel == "sketcher" %} {% htmx_molecule_input name="molecule" label="Draw Molecule" %} {% elif component.active_panel == "examples" %}
Natural Language

Search using plain english descriptions to find materials with specific properties.

Formulas & Systems

Search for specific chemical formulas or combinations of elements.

SMILES Strings

Search for specific molecules using their SMILES representation.

{% endif %}
{% if component.search_results is not None %}
{% if not component.search_results %}
No results found for "{{ component.search_query }}".
{% else %} {% for table_name, data in component.search_results.items %}
{{ data.display_name }}
{% if data.has_ehull %}{% endif %} {% for entry in data.entries %} {% if data.has_ehull %}{% endif %} {% endfor %}
ID Formula SpacegroupE above Hull (eV/atom)
{% foreign_key_link entry %} {{ entry.formula_reduced|chemical_formula }} {% foreign_key_link entry.spacegroup "symbol" %}{{ entry.energy_above_hull|floatformat:3 }}
{% endfor %} {% endif %}
{% endif %}
{% endblock %}