fix login design
This commit is contained in:
parent
6d35886eae
commit
7a973bf141
@ -253,39 +253,45 @@ const LoginPage = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<TextInput
|
<Box>
|
||||||
autoFocus
|
<TextInput
|
||||||
name="username"
|
autoFocus
|
||||||
component={renderInput}
|
name="username"
|
||||||
label="ra.auth.username"
|
component={renderInput}
|
||||||
disabled={loading || !supportPassAuth}
|
label="ra.auth.username"
|
||||||
onBlur={handleUsernameChange}
|
disabled={loading || !supportPassAuth}
|
||||||
resettable
|
onBlur={handleUsernameChange}
|
||||||
fullWidth
|
resettable
|
||||||
className="input"
|
fullWidth
|
||||||
validate={required()}
|
className="input"
|
||||||
/>
|
validate={required()}
|
||||||
<PasswordInput
|
/>
|
||||||
name="password"
|
</Box>
|
||||||
component={renderInput}
|
<Box>
|
||||||
label="ra.auth.password"
|
<PasswordInput
|
||||||
type="password"
|
name="password"
|
||||||
disabled={loading || !supportPassAuth}
|
component={renderInput}
|
||||||
resettable
|
label="ra.auth.password"
|
||||||
fullWidth
|
type="password"
|
||||||
className="input"
|
disabled={loading || !supportPassAuth}
|
||||||
validate={required()}
|
resettable
|
||||||
/>
|
fullWidth
|
||||||
<TextInput
|
className="input"
|
||||||
name="base_url"
|
validate={required()}
|
||||||
component={renderInput}
|
/>
|
||||||
label="synapseadmin.auth.base_url"
|
</Box>
|
||||||
disabled={cfg_base_url || loading}
|
<Box>
|
||||||
resettable
|
<TextInput
|
||||||
fullWidth
|
name="base_url"
|
||||||
className="input"
|
component={renderInput}
|
||||||
validate={[required(), validateBaseUrl]}
|
label="synapseadmin.auth.base_url"
|
||||||
/>
|
disabled={cfg_base_url || loading}
|
||||||
|
resettable
|
||||||
|
fullWidth
|
||||||
|
className="input"
|
||||||
|
validate={[required(), validateBaseUrl]}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
<Box className="serverVersion">{serverVersion}</Box>
|
<Box className="serverVersion">{serverVersion}</Box>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user