webui: automation settings panel, set-location, responsive layout

- Automation tab: settings form (define_settings) beside the editor,
  stacking above it when narrow; script/settings save split.
- Set location modal: current location + reset checkbox.
- saveScriptSettings/setSavePath API wiring; plugins panel.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ookami125 2026-06-21 23:22:00 -04:00
parent 5a5b5f4330
commit 9a1d67acd4
11 changed files with 741 additions and 13 deletions

View file

@ -430,6 +430,20 @@ export const db = {
rssRules,
searchPlugins,
runSearch,
script: {
loaded: true,
path: 'examples/anime_sort.lua',
source: `function on_file_complete(event)
naut.move_file(event.torrent_id, event.index, event.path .. ".sorted")
end
`,
queued: 12,
handled: 12,
dropped: 0,
errors: 0,
move_requests: 3,
last_error: '',
},
// server preferences (subset, advanced)
preferences: {
dl_limit: 0,