diff options
| author | 2026-01-14 14:24:25 +0800 | |
|---|---|---|
| committer | 2026-01-14 14:24:25 +0800 | |
| commit | 80bd692e633002e1920c9ddae7cabc7ec2eadb6a (patch) | |
| tree | 36d59d2fcd87d118c6db443c9208bf34b1025eff /ui/src/components/SettingsView.svelte | |
| parent | e8e139c07d05e2f29f04906019dff5f3c520f8cc (diff) | |
| parent | 561469b5a895d7c99fe6c9e73266b49ebe4237b8 (diff) | |
| download | DropOut-80bd692e633002e1920c9ddae7cabc7ec2eadb6a.tar.gz DropOut-80bd692e633002e1920c9ddae7cabc7ec2eadb6a.zip | |
Merge pull request #20 from HsiangNianian/dev
Diffstat (limited to 'ui/src/components/SettingsView.svelte')
| -rw-r--r-- | ui/src/components/SettingsView.svelte | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ui/src/components/SettingsView.svelte b/ui/src/components/SettingsView.svelte index 9f260c1..801970b 100644 --- a/ui/src/components/SettingsView.svelte +++ b/ui/src/components/SettingsView.svelte @@ -117,6 +117,30 @@ </div> </div> + <!-- Download Settings --> + <div class="bg-zinc-800/50 p-6 rounded-lg border border-zinc-700"> + <h3 + class="block text-sm font-bold text-zinc-400 mb-4 uppercase tracking-wide" + >Download Settings</h3> + <div> + <label for="download-threads" class="block text-xs text-zinc-500 mb-1" + >Concurrent Download Threads</label + > + <input + id="download-threads" + bind:value={settingsState.settings.download_threads} + type="number" + min="1" + max="128" + step="1" + class="bg-zinc-950 text-white w-full p-3 rounded border border-zinc-700 focus:border-indigo-500 outline-none" + /> + <p class="text-xs text-zinc-500 mt-2"> + Number of concurrent download threads (1-128). Higher values increase download speed but use more bandwidth and system resources. Default: 32 + </p> + </div> + </div> + <div class="pt-4"> <button onclick={() => settingsState.saveSettings()} |