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