{% extends 'base.html' %} {% block content %}

{{ _("Machine Types") }}

{{ _("This page defines the categories of machines in the LAB.") }}

{{ _("Add Machine Type") }} {% for machine_type in machine_types %} {% endfor %}
ID {{ _("Machine type") }} {{ _("Auto-logoff") }} {{ _("Power-off") }} {{ _("Access control") }} {{ _("Action") }}
{{ machine_type.type_id }} {{ machine_type.type_name }} {% if machine_type.type_timeout_min > 0 %} {{ machine_type.type_timeout_min }} min {% else %} {{ _("disabled") }} {% endif %} {% if machine_type.grace_period_min is not none and machine_type.grace_period_min > 0 %} {{ machine_type.grace_period_min }} min {% else %} {{ _("disabled") }} {% endif %} {% if machine_type.access_management == machine_type.MANAGEMENT_WITH_AUTHORIZATION %} {{ _("Machines need to be authorized for user") }} {% endif %} {% if machine_type.access_management == machine_type.MANAGEMENT_WITHOUT_AUTHORIZATION %} {{ _("No authorization required for machines") }} {% endif %} {{ _("Edit") }} {{ _("Delete") }}
{% endblock %}