From fa171176fce176ae94387e57a5510d51b0d088d0 Mon Sep 17 00:00:00 2001 From: Adam Lamers Date: Tue, 5 May 2026 20:07:35 -0400 Subject: [PATCH] media input refinement --- backend/app/providers/tape.py | 2 +- frontend/src/routes/inventory/+page.svelte | 95 +++------------------- 2 files changed, 11 insertions(+), 86 deletions(-) diff --git a/backend/app/providers/tape.py b/backend/app/providers/tape.py index b528d73..d31d7a0 100644 --- a/backend/app/providers/tape.py +++ b/backend/app/providers/tape.py @@ -10,7 +10,7 @@ from loguru import logger class LTOProvider(AbstractStorageProvider): provider_id = "lto_tape" - name = "LTO Tape Drive" + name = "LTO Tape" description = "Hardware Linear Tape-Open (LTO) drives." capabilities = { "supports_random_access": False, diff --git a/frontend/src/routes/inventory/+page.svelte b/frontend/src/routes/inventory/+page.svelte index 7131973..9e982ee 100644 --- a/frontend/src/routes/inventory/+page.svelte +++ b/frontend/src/routes/inventory/+page.svelte @@ -1095,7 +1095,7 @@ - + {#if newMedia.media_type === 'lto_tape'} @@ -1232,27 +1232,9 @@

Configuration

{#if newMedia.media_type === 'lto_tape'} -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
- - +
+ +
@@ -1268,48 +1250,9 @@

Manage secrets in Settings.

{:else if newMedia.media_type === 'local_hdd'} -
-
- - -
-
- - -
-
-
-
- -
- - -
-
-
- -
- - -
-
-
-
- - +
+ +
@@ -1435,23 +1378,9 @@ {#if editingMedia.media_type === 'lto_tape'}

LTO Configuration

-
-
- - -
-
- - -
-
- - -
-
- - -
+
+ +
@@ -1482,10 +1411,6 @@
-
- - -