mirror of
https://github.com/JackDallas/Premiumizearr.git
synced 2026-01-06 04:43:46 +01:00
Add polling settings to ui
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
Modal,
|
||||
FormGroup,
|
||||
Dropdown,
|
||||
Form,
|
||||
Checkbox,
|
||||
} from "carbon-components-svelte";
|
||||
import {
|
||||
Save,
|
||||
@@ -21,6 +23,8 @@
|
||||
|
||||
let config = {
|
||||
BlackholeDirectory: "",
|
||||
PollBlackholeDirectory: false,
|
||||
PollBlackholeIntervalMinutes: 10,
|
||||
DownloadsDirectory: "",
|
||||
UnzipDirectory: "",
|
||||
BindIP: "",
|
||||
@@ -261,6 +265,19 @@
|
||||
labelText="Blackhole Directory"
|
||||
bind:value={config.BlackholeDirectory}
|
||||
/>
|
||||
<Checkbox
|
||||
disabled={inputDisabled}
|
||||
bind:checked={config.PollBlackholeDirectory}
|
||||
labelText="Poll Blackhole Directory"
|
||||
/>
|
||||
<TextInput
|
||||
type="number"
|
||||
disabled={inputDisabled}
|
||||
labelText="Poll Blackhole Interval Minutes"
|
||||
bind:value={config.PollBlackholeIntervalMinutes}
|
||||
/>
|
||||
</FormGroup>
|
||||
<FormGroup>
|
||||
<TextInput
|
||||
disabled={inputDisabled}
|
||||
labelText="Download Directory"
|
||||
|
||||
Reference in New Issue
Block a user