admin/options: better english

Massimo Melina committed Mar 23, 2025 at 11:58 UTC 831af97b68f25f5612477f09d2ba9ef2d9863995
1 file changed +3 -3
admin/src/OptionsPage.ts
+3 -3
@@ -150,16 +150,16 @@ export default function OptionsPage() {
150 { k: 'admin_net', comp: NetmaskField, label: "Admin-panel accessible from", placeholder: "any address",
151 helperText: "IP address of browser machine"
152 },
153 - { k: 'localhost_admin', comp: BoolField, label: "Unprotected Admin-panel on localhost",
153 + { k: 'localhost_admin', comp: BoolField, xs: 12, sm: 6, label: "Unprotected Admin-panel on localhost",
154 getError: x => !x && admins?.length===0 && "First create at least one admin account",
155 helperText: "Access without entering credentials"
156 },
157
158 - { k: 'proxies', comp: NumberField, sm: 4, md: 4, max: 9, label: "Number of HTTP proxies", placeholder: "none",
158 + { k: 'proxies', comp: NumberField, xs: 12, sm: 4, md: 4, max: 9, label: "Number of incoming HTTP proxies", placeholder: "none",
159 error: proxyWarning(values, status),
160 helperText: "Wrong number will prevent detection of users' IP"
161 },
162 - { k: 'outbound_proxy', sm: 5, md: 4, placeholder: "none", helperText: "URL form",
162 + { k: 'outbound_proxy', xs: 12, sm: 5, md: 4, placeholder: "none", helperText: "URL form",
163 getError: x => try_(() => x && new URL(x) && '', () => "Invalid URL") },
164 { k: 'allowed_referer', comp: AllowedReferer, sm: 3, md: 4, placeholder: "any", label: "Links from other websites",
165 helperText: "In case another website is linking your files" },