Commit b25af76e authored by Joe's avatar Joe

css

parent 042cdaa5
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"en-US": { "en-US": {
"title":"MoeCube", "title":"MoeCube",
"Home":"Home", "Home":"Home",
"BBS":"Community", "BBS":"BBS",
"DATABASE":"DataBase", "DATABASE":"DataBase",
"username": "User Name", "username": "User Name",
"email": "E-Mail", "email": "E-Mail",
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
"title":"萌立方", "title":"萌立方",
"Home":"主页", "Home":"主页",
"BBS":"社区", "BBS":"社区",
"DATABASE":"决斗数据库", "DATABASE":"数据库",
"username": "用户名", "username": "用户名",
"email": "邮箱", "email": "邮箱",
"password": "密码", "password": "密码",
......
...@@ -165,11 +165,11 @@ function Index({ children, messages, dispatch, client, language }) { ...@@ -165,11 +165,11 @@ function Index({ children, messages, dispatch, client, language }) {
defaultSelectedKeys={['1']} defaultSelectedKeys={['1']}
style={{ lineHeight: '64px' }} style={{ lineHeight: '64px' }}
> >
<Menu.Item key="1"> {/*<Menu.Item key="1">
<Link to="/"> <Link to="/">
<Format id="Home"/> <Format id="Home"/>
</Link> </Link>
</Menu.Item> </Menu.Item>*/}
<Menu.Item key="2"> <Menu.Item key="2">
<Link href="https://ygobbs.com/"> <Link href="https://ygobbs.com/">
<Format id="BBS"/> <Format id="BBS"/>
......
...@@ -107,7 +107,7 @@ class Profiles extends React.Component { ...@@ -107,7 +107,7 @@ class Profiles extends React.Component {
<Form onSubmit={this.onUpdateSubmit}> <Form onSubmit={this.onUpdateSubmit}>
<FormItem style={{ display: 'flex', justifyContent: 'center' }}> <FormItem style={{ display: 'flex', justifyContent: 'center' }}>
<div style={{ display: isUpload ? 'flex' : 'none', flexDirection: 'column' }}> <div style={{ display: isUpload ? 'flex' : 'none', flexDirection: 'column'}}>
<Cropper <Cropper
ref={(cropper) => { ref={(cropper) => {
this.cropper = cropper; this.cropper = cropper;
...@@ -118,6 +118,7 @@ class Profiles extends React.Component { ...@@ -118,6 +118,7 @@ class Profiles extends React.Component {
aspectRatio={1 / 1} aspectRatio={1 / 1}
guides guides
/> />
<br/>
<Button type="primary" onClick={this.handleUpload}> <Button type="primary" onClick={this.handleUpload}>
<Icon type="upload"/> <Format id="upload"/> <Icon type="upload"/> <Format id="upload"/>
</Button> </Button>
......
...@@ -26,3 +26,4 @@ ...@@ -26,3 +26,4 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment