用户注册窗口。

This commit is contained in:
tengge1 2019-10-06 15:55:53 +08:00
parent 981ab0cfef
commit a69888fb3d
3 changed files with 15 additions and 3 deletions

View File

@ -779,5 +779,6 @@
"Border Thickness": "边框粗细",
"Confirm password is not allowed to be empty.": "确认密码不允许为空。",
"Password and confirm password is not the same.": "密码和确认密码不相同。",
"Register successfully!": "注册成功!"
"Register successfully!": "注册成功!",
"Confirm Password": "确认密码"
}

View File

@ -24,9 +24,9 @@ class RegisterWindow extends React.Component {
const { username, password } = this.state;
return <Window
className={_t('RegisterWindow')}
className={'RegisterWindow'}
title={_t('Register')}
style={{ width: '320px', height: '200px' }}
style={{ width: '400px', height: '240px' }}
mask={false}
onClose={this.handleClose}>
<Content>
@ -39,6 +39,14 @@ class RegisterWindow extends React.Component {
<Label>{_t('Password')}</Label>
<Input name={'password'} value={password} onChange={this.handleChange}></Input>
</FormControl>
<FormControl>
<Label>{_t('Confirm Password')}</Label>
<Input name={'password'} value={password} onChange={this.handleChange}></Input>
</FormControl>
<FormControl>
<Label>{_t('Name')}</Label>
<Input name={'password'} onChange={this.handleChange}></Input>
</FormControl>
</Form>
</Content>
<Buttons>

View File

@ -0,0 +1,3 @@
.Window.RegisterWindow>.wrap>.content>.Form>.FormControl>.Label {
width: 120px;
}