fix: format corrections

fix: remove zone registration
fix: remove hardcoded tld list and add warning about TLD
This commit is contained in:
Stefan Warnat 2024-09-22 23:06:18 +02:00
parent a81eb3a1a8
commit 1ca7da6219
2 changed files with 104 additions and 1226 deletions

View File

@ -135,6 +135,7 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
{
provider === ConnectorProvider.AUTODNS && <>
<Alert message={t`Because of some limitations in API of AutoDNS, we suggest to create an dedicated user for API with limited rights.`} type="info" />
<Alert message={t`This provider does not provide a list of supported TLD. Please double check if the domain you want to register is supported.`} type="warning" />
<br />
<Form.Item
label={t`AutoDNS Username`}
@ -170,19 +171,9 @@ export function ConnectorForm({form, onCreate}: { form: FormInstance, onCreate:
required={false}>
<Input autoComplete='off' required={false} placeholder='4' />
</Form.Item>
<Form.Item
label={t`DNS Entry for Domain`}
name={['authData', 'dns_ip']}
help={<Typography.Text
type='secondary'>{t`It is required, that a domain, which should registerd, is available in DNS`}</Typography.Text>}
required={false}>
<Input autoComplete='off' required={false} placeholder='4' />
</Form.Item>
<Form.Item
valuePropName="checked"
valuePropName='checked'
label={t`Owner confirmation`}
name={['authData', 'ownerConfirm']}

File diff suppressed because it is too large Load Diff