@samitouri / QOSami-HFS / commits / 7943e668

admin/options: upload section

Massimo Melina committed May 15, 2024 at 23:25 UTC 7943e668a523183d60f1c478e3201f47c2f9d8ec
1 file changed +2 -1
admin/src/OptionsPage.ts
+2 -1
@@ -172,7 +172,7 @@ export default function OptionsPage() {
172 { k: 'favicon', comp: FileField, placeholder: "None", fileMask: '*.png|*.ico|*.jpg|*.jpeg|*.gif|*.svg', sm: 12,
173 helperText: "The icon associated to your website" },
174
175 - h(Section, { title: "Others" }),
175 + h(Section, { title: "Uploads" }),
176 { k: 'dont_overwrite_uploading', comp: BoolField, sm: 4, md: 6, label: "Don't overwrite uploading",
177 helperText: "Files will be numbered to avoid overwriting" },
178 { k: 'delete_unfinished_uploads_after', comp: NumberField, sm: 4, md: 3, min : 0, unit: "seconds", placeholder: "Never",
@@ -180,6 +180,7 @@ export default function OptionsPage() {
180 { k: 'min_available_mb', comp: NumberField, sm: 4, md: 3, min : 0, unit: "MBytes", placeholder: "None",
181 label: "Min. available disk space", helperText: "Reject uploads that don't comply" },
182
183 + h(Section, { title: "Others" }),
184 { k: 'keep_session_alive', comp: BoolField, sm: true, helperText: "Keeps you logged in while the page is left open and the computer is on" },
185 { k: 'session_duration', comp: NumberField, sm: 4, md: 3, min: 5, unit: "seconds", required: true },
186 { k: 'zip_calculate_size_for_seconds', comp: NumberField, sm: 4, md: 3, label: "Calculate ZIP size for", unit: "seconds",