{% extends 'ase/db/templates/layout.html' %} {% set n1, n2, n3 = d.size %} {% macro atoms() %} {% if row.numbers|length %}
{% endif %} {% endmacro %} {% macro cell() %} {% for axis in d.cell %} {% for a in axis %} {% endfor %} {% endfor %}
Axis x (Å) y (Å) z (Å) Periodic
{{ loop.index }}{{ a }}{{ row.pbc[loop.index0] }}
{% for L in d.lengths %} {% endfor %}{% for a in d.angles %} {% endfor %}
Lengths (Å):{{ L }}
Angles (°):{{ a }}
{% endmacro %} {% macro table(data) %} {% for title in data.header %} {% endfor %} {% for row in data.rows %} {% for value in row %} {% endfor %} {% endfor %}
{{ title }}
{{ value|safe }}
{% endmacro %} {% block title %} Summary {% endblock %} {% block head %} {% endblock %} {% block content %}

{{ d.formula|safe }}

{% for title, things in d.layout %}
{% for column in things %}
{% for data in column %}
{% if data.type == 'atoms' %} {{ atoms() }} {% elif data.type == 'cell' %} {{ cell() }} {% elif data.type == 'table' %} {{ table(data) }} {% else %} {% if data.link %} {% if data.link == 'empty' %}
{% else %}
Interactive mode
{% endif %} {% endif %} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock content %}