webui: category default download location in add modal
The add-torrent save path now shows the selected category's default location (its own save path, else the global default), greyed and read-only. Clicking makes it editable; an overridden path then stays put when the category changes. Resolves the "category default location does nothing" issue by feeding the category's save path into the add. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
d55fc35c72
commit
d8c4a96e88
2 changed files with 35 additions and 1 deletions
|
|
@ -433,6 +433,10 @@ code.inline { background: var(--bg-3); border: 1px solid var(--line); border-rad
|
|||
}
|
||||
.field input[type=text]:focus, .field input[type=password]:focus, .field textarea:focus, .field select:focus,
|
||||
.field input[type=file]:focus { outline: none; border-color: var(--accent); }
|
||||
/* greyed default-location field: shows the category default until clicked */
|
||||
.field input[type=text].path-default {
|
||||
color: var(--txt-faint); background: var(--bg-2); cursor: pointer; }
|
||||
.field input[type=text].path-default:hover { border-color: var(--accent); }
|
||||
.field textarea { min-height: 70px; font-family: var(--mono); font-size: 12px; resize: vertical; }
|
||||
|
||||
/* themed file picker */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue