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

.{{ CONFIG_FILE_SUFFIX }}

{% if units %} {% endif %} {% for device in devices | sort(attribute='id') %} {% if device["id"] in reserved_scsi_ids %} {% elif device.device_type %} {% else %} {% endif %} {% if device["id"] not in reserved_scsi_ids %} {% if units %} {% endif %} {% else %} {% if units %} {% endif %} {% endif %} {% endfor %}
{{ _("ID") }}{{ _("LUN") }}{{ _("Device") }} {{ _("Parameters") }} {{ _("Product") }} {{ _("Actions") }}
{{ device.id }}{{ device.unit }}{{ 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 != "PiSCSI" %} {{ device.vendor }} {% endif %} {{ device.product }} {% if device.vendor != "PiSCSI" %} {{ device.revision }} {% endif %} {% if device.id in scsi_ids["occupied_ids"] %} {% 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") }}
{% if not files|length: %}
{{ _("The images directory is currently empty.") }}
{% else %}
{% for subdir, group in formatted_image_files.items() %}
{{ subdir }} {% for file in group|sort(attribute='name') %} {% if file["prop"] %} {% elif file["archive_contents"] %} {% else %} {% endif %} {% endfor %}
{{ _("File") }} {{ _("Size") }} {{ _("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 %}
{% endfor %}
{% endif %}

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


{{ _("Transfer Files to the PiSCSI") }}
{% if file_server_dir_exists %} {% endif %}

{{ _("Upload Files (new tab)") }}


{{ _("Create CD-ROM Image") }}

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

{{ _("Create Disk Image With Properties") }}


{{ _("Attach Peripheral Device") }}
    {% if bridge_configured %}
  • {{ _("The piscsi_bridge network bridge is active and ready to be used by an emulated network adapter!") }}
  • {% else %}
  • {{ _("Please configure the piscsi_bridge network bridge before attaching an emulated network adapter!") }}
  • {% endif %}
  • {{ _("To browse the modern web, install a vintage web proxy such as Macproxy.", url="https://github.com/PiSCSI/piscsi/wiki/Vintage-Web-Proxy#macproxy") }}
  • {{ _("Read more about supported device types on the wiki.", url="https://github.com/PiSCSI/piscsi/wiki/Supported-Device-Types") }}
{% for type in REMOVABLE_DEVICE_TYPES + PERIPHERAL_DEVICE_TYPES %} {% endfor %}
{{ _("Device") }} {{ _("Key") }} {{ _("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 %}

{{ _("Logging") }}

{{ _("System Operations") }}

{{ _("Read the PiSCSI Manual") }}

{% endblock content %}