mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 07:20:23 +05:30
Добавил поддержку установки Title страницы
This commit is contained in:
parent
0f5781a3a7
commit
9aff4fb83a
@ -20,6 +20,7 @@
|
||||
"intl-messageformat": "^1.1.0",
|
||||
"react": "^0.14.0",
|
||||
"react-dom": "^0.14.3",
|
||||
"react-helmet": "^2.3.1",
|
||||
"react-intl": "^2.0.0-pr-3",
|
||||
"react-redux": "^4.0.0",
|
||||
"react-router": "^2.0.0-rc4",
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import { Panel, PanelBody, PanelFooter } from 'components/ui/Panel';
|
||||
@ -15,6 +16,8 @@ export default class Activation extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={styles.signIn}>
|
||||
<Helmet title="Activation" />
|
||||
|
||||
<Panel icon="arrowLeft" title={<Message {...messages.accountActivationTitle} />}>
|
||||
<PanelBody>
|
||||
<div className={styles.description}>
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import icons from 'components/ui/icons.scss';
|
||||
@ -16,6 +17,8 @@ export default class Login extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={styles.signIn}>
|
||||
<Helmet title="Login" />
|
||||
|
||||
<Panel title={<Message {...messages.signInTitle} />}>
|
||||
<PanelBody>
|
||||
<Input icon="envelope" type="email" placeholder="E-mail or username" />
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import icons from 'components/ui/icons.scss';
|
||||
@ -16,6 +17,8 @@ export default class Permissions extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={styles.signIn}>
|
||||
<Helmet title="App premissions" />
|
||||
|
||||
<Panel title={<Message {...messages.permissionsTitle} />}>
|
||||
<PanelBody className={styles.authBody}>
|
||||
<PanelBodyHeader className={styles.authBodyHeader}>
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
import Helmet from 'react-helmet';
|
||||
|
||||
import buttons from 'components/ui/buttons.scss';
|
||||
import icons from 'components/ui/icons.scss';
|
||||
@ -16,6 +17,8 @@ export default class Register extends Component {
|
||||
render() {
|
||||
return (
|
||||
<div className={styles.signIn}>
|
||||
<Helmet title="Register" />
|
||||
|
||||
<Panel title={<Message {...messages.signUpTitle} />}>
|
||||
<PanelBody>
|
||||
{/* TODO: E-mail i18n*/}
|
||||
|
Loading…
Reference in New Issue
Block a user