mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
用户注册窗口。
This commit is contained in:
parent
981ab0cfef
commit
a69888fb3d
@ -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": "确认密码"
|
||||
}
|
||||
@ -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>
|
||||
|
||||
@ -0,0 +1,3 @@
|
||||
.Window.RegisterWindow>.wrap>.content>.Form>.FormControl>.Label {
|
||||
width: 120px;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user