Attach empty removable drives in the Web UI (#877)

* Read the drive properties file once and store it in the Flask app config. Spin out the drive properties formatting to a helper method.

* Add empty removable disk drives to the attach peripherals UI

* Refinement of UI labels and help text, moving some context to the wiki
This commit is contained in:
Daniel Markstedt
2022-10-01 16:51:30 -07:00
committed by GitHub
parent 255a6e139f
commit d969fbdcce
8 changed files with 187 additions and 84 deletions
+1 -3
View File
@@ -42,9 +42,7 @@ def test_show_named_drive_presets(http_client):
assert response.status_code == 200
assert response_data["status"] == STATUS_SUCCESS
assert "cd_conf" in response_data["data"]
assert "hd_conf" in response_data["data"]
assert "rm_conf" in response_data["data"]
assert "drive_properties" in response_data["data"]
# route("/drive/cdrom", methods=["POST"])