Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Accounts Web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Accounts Web
Commits
5f0ec4b2
Commit
5f0ec4b2
authored
Apr 06, 2017
by
2breakegg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error.messages
parent
a96f7307
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
177 additions
and
162 deletions
+177
-162
.idea/workspace.xml
.idea/workspace.xml
+163
-151
i18n.json
i18n.json
+4
-2
src/routes/Index.js
src/routes/Index.js
+8
-7
src/routes/Reset.js
src/routes/Reset.js
+2
-2
No files found.
.idea/workspace.xml
View file @
5f0ec4b2
This diff is collapsed.
Click to expand it.
i18n.json
View file @
5f0ec4b2
{
"en"
:
{
"title"
:
"MoeCube"
,
"Home"
:
"Home"
,
"username"
:
"User Name"
,
"email"
:
"E-Mail"
,
"password"
:
"Password"
,
...
...
@@ -27,7 +28,7 @@
"send-email"
:
"Send Email"
,
"reset-success"
:
"reset success"
,
"reset-fail"
:
"reset fail"
,
"reset-password"
:
"Reset Password"
,
"reset-password
2
"
:
"Reset Password"
,
"remember-me"
:
"Remember me"
,
"Please-use-a-correct-E-Mail-address."
:
"Please use a correct E-Mail address."
,
"User-name-can-not-be-empty."
:
"User name can not be empty."
,
...
...
@@ -80,6 +81,7 @@
},
"zh"
:
{
"title"
:
"萌立方"
,
"Home"
:
"主页"
,
"username"
:
"用户名"
,
"email"
:
"邮箱"
,
"password"
:
"密码"
,
...
...
@@ -106,7 +108,7 @@
"send-email"
:
"发送邮件"
,
"reset-success"
:
"修改成功"
,
"reset-fail"
:
"修改失败"
,
"reset-password
"
:
"重设
密码"
,
"reset-password
2"
:
"重置
密码"
,
"remember-me"
:
"记住我"
,
"Please-use-a-correct-E-Mail-address."
:
"请填写正确的邮箱地址"
,
"User-name-can-not-be-empty."
:
"用户名不能为空"
,
...
...
src/routes/Index.js
View file @
5f0ec4b2
...
...
@@ -3,6 +3,7 @@ import { connect } from 'dva';
import
styles
from
'
./Index.less
'
;
import
Particles
from
'
react-particles-js
'
import
DocumentTitle
from
'
react-document-title
'
import
{
FormattedMessage
as
Format
}
from
'
react-intl
'
;
import
{
Layout
,
Button
,
Menu
}
from
'
antd
'
;
import
{
Link
}
from
'
dva/router
'
import
logo
from
'
../assets/MoeCube.png
'
...
...
@@ -140,7 +141,7 @@ function Index({ dispatch, children, messages }) {
style
=
{{
lineHeight
:
'
64px
'
}}
>
<
Menu
.
Item
key
=
"
1
"
>
<
Link
to
=
"
/
"
>
Home
<
Format
id
=
"
Home
"
/>
<
/Link
>
<
/Menu.Item
>
<
/Menu
>
...
...
src/routes/Reset.js
View file @
5f0ec4b2
...
...
@@ -55,7 +55,7 @@ class Reset extends React.Component {
<
Spin
spinning
=
{
isResetSubmit
}
delay
=
{
100
}
>
<
Form
onSubmit
=
{
this
.
onSubmitReset
}
className
=
"
login-form
"
>
<
FormItem
>
<
h1
><
Format
id
=
'
reset-password
'
/><
/h1
>
<
h1
><
Format
id
=
'
reset-password
2
'
/><
/h1
>
<
/FormItem
>
<
FormItem
>
{
getFieldDecorator
(
'
password
'
,
{
...
...
@@ -81,7 +81,7 @@ class Reset extends React.Component {
<
/FormItem
>
<
Button
type
=
"
primary
"
htmlType
=
"
submit
"
className
=
"
login-form-button
"
>
<
Format
id
=
'
reset-password
'
/>
<
Format
id
=
'
reset-password
2
'
/>
<
/Button
>
<
/Form
>
<
/Spin
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment