{% extends "layout.html" %} {% block body %}

{% if errors %} {% for e in range(errors) %}

{{message[e]}}

{% endfor %} {% endif %}
{% if cifdict %}
Select a Structure File
{% for cifid, labels in cifdict.items() %} {% endfor %}
{{labels[0]}}
    {{ labels[1] }}
{% else %} {% endif %}
Search the American Mineralogist Crystal Structures
(example: hem*)
(example: O, Fe, Si)

{% if cifid %}
Generate XAS Input File
GENERATE FDMNES Coming Soon

CIF Text:

{{ciftext|safe}}
{% endif %}
{% if cif_link or feff_links: %}
Download Results
{% if cif_link: %} {% endif %} {% if feff_links: %} {% for link, data in feff_links.items() %} {% endfor %} {% endif %}
File Link Crystal Site/File Type
{{ cif_link[0] }}   CIF File
{{ link }}   {{ data[0] }}
{% endif %}
{% endblock %}