aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components')
-rw-r--r--ui/src/components/SettingsView.svelte23
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/src/components/SettingsView.svelte b/ui/src/components/SettingsView.svelte
index 9f260c1..fc4fe46 100644
--- a/ui/src/components/SettingsView.svelte
+++ b/ui/src/components/SettingsView.svelte
@@ -117,6 +117,29 @@
</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"
+ 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 files to download simultaneously. Higher values can speed up downloads but may consume more bandwidth. Recommended: 16-64
+ </p>
+ </div>
+ </div>
+
<div class="pt-4">
<button
onclick={() => settingsState.saveSettings()}