{% extends "base.html" %} {% block title %}Manage gratings{% endblock %} {% block body %}

Manage gratings

Select one or more gratings to duplicate or delete. Rename a grating from its row.

Home
{% if message %}

{{ message }}

{% endif %} {% if gratings %}
0 selected
{% for grating in gratings %} {% set linked_count = grating_run_counts.get(grating.id, 0) %}
{{ grating.name }}

{{ grating.grating_type }} · {{ grating.period_lpermm }} l/mm · {{ linked_count }} linked run{{ 's' if linked_count != 1 else '' }}

Rename
Open grating
{% endfor %}

Delete selected gratings?

What should be deleted?

Deleting gratings and runs cannot be undone. Active runs block deletion with their associated runs.

{% else %}

No gratings have been saved yet.

Create a grating
{% endif %} {% endblock %}