2021-09-19 21:29:01 +00:00
{% extends "base.html" %}
2021-11-07 00:25:02 +00:00
{% block content %}
2021-12-26 21:36:12 +00:00
< h2 > {{ _("Disclaimer") }}< / h2 >
2022-12-05 17:58:23 +00:00
< p > {{ _("These device profiles are provided as-is with no guarantee to work equally to the actual physical device they are named after. You may need to provide appropirate device drivers and/or configuration parameters for them to function properly. If you would like to see data modified, or have additional devices to add to the list, please raise an issue ticket at < a href = \"%(url)s\" > GitHub< / a > .", url="https://github.com/PiSCSI/piscsi/issues") }}< / p >
2022-10-01 23:51:30 +00:00
< h2 > {{ _("Hard Disk Drives") }}< / h2 >
2021-09-19 21:29:01 +00:00
2022-10-07 20:13:29 +00:00
< table cellpadding = "3" border = "black" summary = "List of hard drives" >
2021-11-07 00:25:02 +00:00
< tbody >
< tr >
2022-10-07 20:13:29 +00:00
< th scope = "col" > {{ _("Name") }}< / th >
< th scope = "col" > {{ _("Size (MiB)") }}< / th >
< th scope = "col" > {{ _("Description") }}< / th >
< th scope = "col" > {{ _("Action") }}< / th >
2021-11-07 00:25:02 +00:00
< / tr >
2022-10-25 15:51:04 +00:00
{% for hd in drive_properties['hd_conf']|sort(attribute='name') %}
2021-11-07 00:25:02 +00:00
< tr >
2022-10-07 20:13:29 +00:00
< td align = "center" >
{% if hd.url != "" %}
< a href = "{{ hd.url }}" > {{ hd.name }}< / a >
{% else %}
{{ hd.name }}
{% endif %}
< / td >
< td align = "center" > {{ hd.size_mb }}< / td >
< td > {{ hd.description }}< / td >
< td >
2021-11-07 00:25:02 +00:00
< form action = "/drive/create" method = "post" >
2022-10-06 21:04:41 +00:00
< input type = "hidden" name = "drive_name" value = "{{ hd.name }}" >
2022-10-07 20:13:29 +00:00
< label for = "file_name_{{ hd.name }}" > {{ _("Save as:") }}< / label >
< input type = "text" name = "file_name" id = "file_name_{{ hd.name }}" value = "{{ hd.secure_name }}" required / > .{{ hd.file_type }}
2021-12-26 21:36:12 +00:00
< input type = "submit" value = "{{ _(" Create " ) } } " / >
2021-11-07 00:25:02 +00:00
< / form >
< / td >
< / tr >
{% endfor %}
< / tbody >
< / table >
2021-09-19 21:29:01 +00:00
2021-11-07 00:25:02 +00:00
< hr / >
2021-09-19 21:29:01 +00:00
2022-10-01 23:51:30 +00:00
< h2 > {{ _("CD/DVD Drives") }}< / h2 >
< p > < em > {{ _("This will create a properties file for the given CD-ROM or DVD image. No new image file will be created.") }}< / em > < / p >
2022-10-07 20:13:29 +00:00
< table cellpadding = "3" border = "black" summary = "List of CD-ROM or DVD drives" >
2021-11-07 00:25:02 +00:00
< tbody >
< tr >
2022-10-07 20:13:29 +00:00
< th scope = "col" > {{ _("Name") }}< / th >
< th scope = "col" > {{ _("Description") }}< / th >
< th scope = "col" > {{ _("Action") }}< / th >
2021-11-07 00:25:02 +00:00
< / tr >
2022-10-25 15:51:04 +00:00
{% for cd in drive_properties['cd_conf']|sort(attribute='name') %}
2021-11-07 00:25:02 +00:00
< tr >
2022-10-07 20:13:29 +00:00
< td align = "center" >
{% if cd.url != "" %}
< a href = "{{ cd.url }}" > {{ cd.name }}< / a >
{% else %}
{{ cd.name }}
{% endif %}
2021-11-07 00:25:02 +00:00
< / td >
2022-10-07 20:13:29 +00:00
< td > {{ cd.description }}< / td >
< td >
2021-11-07 00:25:02 +00:00
< form action = "/drive/cdrom" method = "post" >
2022-10-06 21:04:41 +00:00
< input type = "hidden" name = "drive_name" value = "{{ cd.name }}" >
2022-10-07 20:13:29 +00:00
< label for = "file_name_{{ cd.name }}" > {{ _("Create for:") }}< / label >
< select type = "select" name = "file_name" id = "file_name_{{ cd.name }}" >
2022-02-21 17:27:31 +00:00
{% for file in files|sort(attribute='name') %}
2022-10-07 20:13:29 +00:00
{% if file["name"].lower().endswith(env['cd_suffixes']) %}
< option value = "{{ file[" name " ] } } " > {{ file["name"].replace(env["image_dir"], '') }}< / option >
{% endif %}
{% endfor %}
< / select >
2021-12-26 21:36:12 +00:00
< input type = "submit" value = "{{ _(" Create " ) } } " / >
2021-11-07 00:25:02 +00:00
< / form >
< / td >
< / tr >
{% endfor %}
< / tbody >
< / table >
2021-09-19 21:29:01 +00:00
2021-11-07 00:25:02 +00:00
< hr / >
2021-09-19 21:29:01 +00:00
2022-10-01 23:51:30 +00:00
< h2 > {{ _("Removable Disk Drives") }}< / h2 >
2022-10-07 20:13:29 +00:00
< table cellpadding = "3" border = "black" summary = "List of removable disk drives" >
2021-11-07 00:25:02 +00:00
< tbody >
< tr >
2022-10-07 20:13:29 +00:00
< th scope = "col" > {{ _("Name") }}< / th >
< th scope = "col" > {{ _("Size (MiB)") }}< / th >
< th scope = "col" > {{ _("Description") }}< / th >
< th scope = "col" > {{ _("Action") }}< / th >
2021-11-07 00:25:02 +00:00
< / tr >
2022-10-25 15:51:04 +00:00
{% for rm in drive_properties['rm_conf']|sort(attribute='name') %}
2021-11-07 00:25:02 +00:00
< tr >
2022-10-07 20:13:29 +00:00
< td align = "center" >
{% if rm.url != "" %}
< a href = "{{ rm.url }}" > {{ rm.name }}< / a >
{% else %}
{{ rm.name }}
{% endif %}
2021-11-07 00:25:02 +00:00
< / td >
2022-10-07 20:13:29 +00:00
< td align = "center" > {{ rm.size_mb }}< / td >
< td > {{ rm.description }}< / td >
< td >
2021-11-07 00:25:02 +00:00
< form action = "/drive/create" method = "post" >
2022-10-06 21:04:41 +00:00
< input type = "hidden" name = "drive_name" value = "{{ rm.name }}" >
2022-10-07 20:13:29 +00:00
< label for = "file_name_{{ rm.name }}" > {{ _("Save as:") }}< / label >
< input type = "text" name = "file_name" id = "file_name_{{ rm.name }}" value = "{{ rm.secure_name }}" required / > .{{ rm.file_type }}
2021-12-26 21:36:12 +00:00
< input type = "submit" value = "{{ _(" Create " ) } } " / >
2021-11-07 00:25:02 +00:00
< / form >
< / td >
< / tr >
{% endfor %}
< / tbody >
< / table >
2022-09-27 00:44:41 +00:00
< p > < small > {{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=env["free_disk_space"]) }}< / small > < / p >
2022-11-14 17:32:15 +00:00
< p class = "home" > < a href = "/" > {{ _("Go to Home") }}< / a > < / p >
2021-09-19 21:29:01 +00:00
2021-11-07 00:25:02 +00:00
{% endblock content %}