feat(arr): render subtitle settings in /settings

Adds wanted languages, translation engine (restricted to
available_engines), remote-command timeout, and an ordered
enable/disable list per provider with daily budgets, wired to
the existing GET/PUT /api/settings/subtitles from #198.
This commit is contained in:
Miguel Palhas
2026-08-25 05:08:58 +01:00
parent e0e7ddf6de
commit 6d665e7c2f
3 changed files with 283 additions and 2 deletions
+42
View File
@@ -2115,3 +2115,45 @@ select.form-input {
.band-num {
width: 4.5rem;
}
/* ---- subtitle settings (§15, issue #204) ------------------------------ */
.subtitle-panel .field-label {
display: block;
margin: var(--space-4) 0 var(--space-2);
}
.provider-list {
margin: 0 0 var(--space-3);
padding: 0;
list-style: none;
}
.provider-row {
display: flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-2) var(--space-1);
border-bottom: 1px solid oklch(from var(--line) l c h / 45%);
}
.provider-toggle {
accent-color: var(--accent);
}
.provider-name {
flex: 1;
min-width: 0;
}
.provider-budget {
width: 5.5rem;
}
.provider-move {
min-width: 3rem;
}
.provider-move:disabled {
visibility: hidden;
}