{% extends "base.html" %}
{% block content %}
{{ _("Current RaSCSI Configuration") }}
{{ _("ID") }} | {% if units %}{{ _("LUN") }} | {% endif %}{{ _("Device") }} | {{ _("Parameters") }} | {{ _("Product") }} | {{ _("Actions") }} | ||||||
{{ device.id }} | {% if units %}{{ device.unit }} | {% endif %}{{ device.device_name }} | {% if "No Media" in device.status %} {% else %} {% if device.params %} {% for key in device.params %} {% if key == "interface" %} ({{device.params[key]}}) {% elif key == "timeout" %} ({{key}}:{{device.params[key]}}) {% else %} {{device.params[key]}} {% endif %} {% endfor %} {% elif device.file %} {{ device.file }} {% endif %} {% endif %} | {% if device.vendor != "RaSCSI" %} {{ device.vendor }} {% endif %} {{ device.product }} {% if device.vendor != "RaSCSI" %} {{ device.revision }} {% endif %} | {% if device.device_type != "-" %} {% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %} {% endif %} {% else %} {% endif %} | {% else %}{{ device.id }} | {% if units %}{% endif %} | {{ _("Reserved ID") }} | {{ RESERVATIONS[device.id] }} | {% endif %} |
{{ _("File") }} | {{ _("Size") }} | {{ _("Actions") }} | ||
{{ file["name"] }}
|
{% elif file["archive_contents"] %}
{{ file["name"] }}
|
{% else %}
{{ file["name"] }} | {% endif %}{% if file["name"] in attached_images %} {{ _("In use") }} {% else %} {% if file["archive_contents"] %} {% else %} {% endif %} {% if not file["archive_contents"] %} {% endif %} |
{{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=env["free_disk_space"]) }}
{{ _("Device") }} | {{ _("Code") }} | {{ _("Parameters and Actions") }} |
{{ device_types[type]["name"] }}
|
{{ type }}
|
{{ _("Create a named disk image that mimics real-life drives") }}