{% extends "base.html" %} {% block content %}
{{ _("Current RaSCSI Configuration") }}

{% if units %} {% endif %} {% for device in devices %} {% if device["id"] not in reserved_scsi_ids %} {% if units %} {% endif %} {% if device.vendor == "RaSCSI" %} {% else %} {% endif %} {% else %} {% if units %} {% endif %} {% endif %} {% endfor %}
{{ _("ID") }}{{ _("LUN") }}{{ _("Type") }} {{ _("Status") }} {{ _("File") }} {{ _("Product") }} {{ _("Actions") }}
{{ device.id }}{{ device.unit }}{{ device.device_type }} {{ device.status }} {% if "No Media" in device.status %}
{% else %} {{ device.file }} {% endif %}
{{ device.product }}{{ device.vendor }} {{ device.product }} {% if device.device_type != "-" %} {% if device.device_type in REMOVABLE_DEVICE_TYPES and "No Media" not in device.status %}
{% endif %}
{% else %}
{% endif %}
{{ device.id }} {{ _("Reserved ID") }} {{ RESERVATIONS[device.id] }}

{{ _("Image File Management") }}
{% for file in files|sort(attribute='name') %} {% if file["prop"] %} {% elif file["archive_contents"] %} {% else %} {% endif %} {% endfor %}
{{ _("File") }} {{ _("Size") }} {{ _("Parameters and Actions") }}
{{ file["name"] }}
    {% for key in file["prop"] %}
  • {{ key }}: {{ file['prop'][key] }}
  • {% endfor %}
{{ file["name"] }}
    {% for member in file["archive_contents"] %} {% if not member["is_properties_file"] %}
  • {% if member["related_properties_file"] %}
    • {{ member["related_properties_file"] }}
    {% else %}
    {% endif %}
  • {% endif %} {% endfor %}
{{ file["name"] }}
{% if file["name"] in attached_images %} {{ _("In use") }} {% else %} {% if file["archive_contents"] %}
{% set pipe = joiner("|") %}
{% else %}
{% if file["detected_type"] != "UNDEFINED" %} {{ file['detected_type_name'] }} {% else %} {% endif %} {% endif %}
{% endif %} {% if not file["archive_contents"] %}
{% endif %}

{{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=env["free_disk_space"]) }}


{{ _("Attach Peripheral Device") }}
{% for type in REMOVABLE_DEVICE_TYPES + PERIPHERAL_DEVICE_TYPES %} {% endfor %}
{{ _("Device") }} {{ _("Code") }} {{ _("Parameters and Actions") }}
{{ device_types[type]["name"] }}
{{ type }}
{% for key, value in device_types[type]["params"] | dictsort %} {% if value.isnumeric() %} {% elif key == "interface" %} {% else %} {% endif %} {% endfor %} {% if type in REMOVABLE_DEVICE_TYPES %} {% endif %}

{{ _("Upload File from Local Computer") }}


{{ _("Download File from the Web") }}

{{ _("Download File and Create CD-ROM image") }}

{{ _("Create Empty Disk Image File") }}

{{ _("Create Named Drive") }}

{{ _("Create a named disk image that mimics real-life drives") }}


{{ _("Logging") }}

{{ _("Server Log Level") }}

{{ _("Language") }}

{{ _("Raspberry Pi Operations") }}
{% if netatalk_configured == 1 %} {{ _("The AppleShare server is running. No active connections.") }} {% endif %} {% if netatalk_configured == 2 %} {{ _("%(value)d active AFP connection", value=(netatalk_configured - 1)) }} {% elif netatalk_configured > 2 %} {{ _("%(value)d active AFP connections", value=(netatalk_configured - 1)) }} {% endif %}
{% if macproxy_configured %}
{{ _("Macproxy is running at %(ip_addr)s (default port 5000)", ip_addr=env['ip_addr']) }}
{% endif %}
{% endblock content %}