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:
parent
5a5b5f4330
commit
9a1d67acd4
11 changed files with 741 additions and 13 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue