1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

added request code dialog

This commit is contained in:
Fedor Katurov 2019-11-25 16:08:22 +07:00
parent c0c832d158
commit 6dcb21e9e4
18 changed files with 292 additions and 88 deletions

View file

@ -67,12 +67,7 @@ const LoginDialogUnconnected: FC<IProps> = ({
const buttons = useMemo(
() => (
<Group className={styles.footer}>
<Button
className={styles.secondary_button}
iconLeft="vk"
type="button"
onClick={onSocialLogin}
>
<Button color="outline" iconLeft="vk" type="button" onClick={onSocialLogin}>
<span>Вконтакте</span>
</Button>
@ -88,7 +83,7 @@ const LoginDialogUnconnected: FC<IProps> = ({
return (
<form onSubmit={onSubmit}>
<BetterScrollDialog width={260} error={error} onClose={onRequestClose} footer={buttons}>
<BetterScrollDialog width={300} error={error} onClose={onRequestClose} footer={buttons}>
<Padder>
<div className={styles.wrap}>
<Group>
@ -98,7 +93,12 @@ const LoginDialogUnconnected: FC<IProps> = ({
<InputText title="Пароль" handler={setPassword} value={password} type="password" />
<Button className={styles.forgot_button} type="button" onClick={onRestoreRequest}>
<Button
color="link"
type="button"
onClick={onRestoreRequest}
className={styles.forgot_button}
>
Вспомнить пароль
</Button>
</Group>