mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-15 09:49:01 +05:30
Создал директории для каждого компонента auth
This commit is contained in:
parent
518901fb57
commit
41015ca336
@ -3,7 +3,7 @@
|
||||
*/
|
||||
import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import AuthError from './AuthError';
|
||||
import AuthError from 'components/auth/authError/AuthError';
|
||||
import { userShape } from 'components/user/User';
|
||||
|
||||
export default class BaseAuthBody extends Component {
|
||||
|
@ -6,7 +6,7 @@ import Helmet from 'react-helmet';
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Input } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import styles from './activation.scss';
|
||||
import messages from './Activation.messages';
|
||||
|
@ -6,7 +6,7 @@ import Helmet from 'react-helmet';
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Input } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import messages from './ForgotPassword.messages';
|
||||
|
||||
import styles from './forgotPassword.scss';
|
@ -7,9 +7,9 @@ import { Link } from 'react-router';
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Input } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import passwordMessages from 'components/auth/password/Password.messages';
|
||||
import messages from './Login.messages';
|
||||
import passwordMessages from './Password.messages';
|
||||
|
||||
class Body extends BaseAuthBody {
|
||||
static displayName = 'LoginBody';
|
@ -8,7 +8,7 @@ import buttons from 'components/ui/buttons.scss';
|
||||
import icons from 'components/ui/icons.scss';
|
||||
import { Input, Checkbox } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import styles from './password.scss';
|
||||
import messages from './Password.messages';
|
||||
|
@ -6,7 +6,7 @@ import Helmet from 'react-helmet';
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Input } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import passwordChangedMessages from './PasswordChange.messages';
|
||||
|
||||
import icons from 'components/ui/icons.scss';
|
@ -7,7 +7,7 @@ import buttons from 'components/ui/buttons.scss';
|
||||
import icons from 'components/ui/icons.scss';
|
||||
import { PanelBodyHeader } from 'components/ui/Panel';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import styles from './permissions.scss';
|
||||
import messages from './Permissions.messages';
|
||||
|
@ -6,9 +6,9 @@ import Helmet from 'react-helmet';
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Input, Checkbox } from 'components/ui/Form';
|
||||
|
||||
import BaseAuthBody from './BaseAuthBody';
|
||||
import BaseAuthBody from 'components/auth/BaseAuthBody';
|
||||
import activationMessages from 'components/auth/activation/Activation.messages';
|
||||
import messages from './Register.messages';
|
||||
import activationMessages from './Activation.messages';
|
||||
|
||||
// TODO: password and username can be validate for length and sameness
|
||||
|
@ -2,7 +2,7 @@ import React, { Component, PropTypes } from 'react';
|
||||
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import AppInfo from 'components/auth/AppInfo';
|
||||
import AppInfo from 'components/auth/appInfo/AppInfo';
|
||||
import PanelTransition from 'components/auth/PanelTransition';
|
||||
|
||||
import styles from './auth.scss';
|
||||
|
@ -8,14 +8,14 @@ import AuthPage from 'pages/auth/AuthPage';
|
||||
import { authenticate } from 'components/user/actions';
|
||||
|
||||
import OAuthInit from 'components/auth/OAuthInit';
|
||||
import Register from 'components/auth/Register';
|
||||
import Login from 'components/auth/Login';
|
||||
import Permissions from 'components/auth/Permissions';
|
||||
import Activation from 'components/auth/Activation';
|
||||
import Password from 'components/auth/Password';
|
||||
import Register from 'components/auth/register/Register';
|
||||
import Login from 'components/auth/login/Login';
|
||||
import Permissions from 'components/auth/permissions/Permissions';
|
||||
import Activation from 'components/auth/activation/Activation';
|
||||
import Password from 'components/auth/password/Password';
|
||||
import Logout from 'components/auth/Logout';
|
||||
import PasswordChange from 'components/auth/PasswordChange';
|
||||
import ForgotPassword from 'components/auth/ForgotPassword';
|
||||
import PasswordChange from 'components/auth/passwordChange/PasswordChange';
|
||||
import ForgotPassword from 'components/auth/forgotPassword/ForgotPassword';
|
||||
|
||||
import authFlow from 'services/authFlow';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user