{% extends 'layout.html' %} {% macro atoms() %} {% if d.numbers|length %}
{% if open_ase_gui %} {% endif %}
{% if open_ase_gui %} Open ASE's GUI {% endif %}
{% endif %} {% endmacro %} {% macro cell() %} {% for axis in s.cell %} {% for a in axis %} {% endfor %} {% endfor %}
Axis x y z Periodic
{{ loop.index }}{{ a }}{{ d.pbc[loop.index0] }}
{% for L in s.lengths %} {% endfor %}{% for a in s.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 %} {{proj}} - Summary {% endblock %} {% set d = s.row %} {% block head %} {% if not open_ase_gui %} {% endif %} {% endblock %} {% block content %}

{{ s.formula|safe }}

{% for title, things in s.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 %}