File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,6 +111,40 @@ <h2>{{ _("Removable Disk Drives") }}</h2>
111111{% endfor %}
112112</ tbody >
113113</ table >
114+
115+ < h2 > {{ _("Tape Drives") }}</ h2 >
116+ < table cellpadding ="3 " border ="black " summary ="List of tape drives ">
117+ < tbody >
118+ < tr >
119+ < th scope ="col "> {{ _("Name") }}</ th >
120+ < th scope ="col "> {{ _("Size (MiB)") }}</ th >
121+ < th scope ="col "> {{ _("Description") }}</ th >
122+ < th scope ="col "> {{ _("Action") }}</ th >
123+ </ tr >
124+ {% for st in drive_properties['st_conf']|sort(attribute='name') %}
125+ < tr >
126+ < td align ="center ">
127+ {% if st.url != "" %}
128+ < a href ="{{ st.url }} "> {{ st.name }}</ a >
129+ {% else %}
130+ {{ st.name }}
131+ {% endif %}
132+ </ td >
133+ < td align ="center "> {{ st.size_mb }}</ td >
134+ < td > {{ st.description }}</ td >
135+ < td >
136+ < form action ="/drive/create " method ="post ">
137+ < input type ="hidden " name ="drive_name " value ="{{ st.name }} ">
138+ < label for ="file_name_{{ st.name }} "> {{ _("Save as:") }}</ label >
139+ < input type ="text " name ="file_name " id ="file_name_{{ st.name }} " value ="{{ st.secure_name }} " required /> .{{ st.file_type }}
140+ < input type ="submit " value ="{{ _( "Create ") }}" />
141+ </ form >
142+ </ td >
143+ </ tr >
144+ {% endfor %}
145+ </ tbody >
146+ </ table >
147+
114148< p > < small > {{ _("%(disk_space)s MiB disk space remaining on the Pi", disk_space=env["free_disk_space"]) }}</ small > </ p >
115149
116150< hr />
You can’t perform that action at this time.
0 commit comments