From 2bfd4b8da51310da0e11d87f64f57990d93d79e0 Mon Sep 17 00:00:00 2001 From: Tayane Fernandes Date: Thu, 9 Feb 2017 13:33:30 -0200 Subject: [#922] Rename backup account flow To differentiate between the account recovery flow and the set backup email flow, we renamed all resources and url to reflect this. with @anikarni --- web-ui/src/backup_account/backup_account.html | 12 +++ web-ui/src/backup_account/backup_account.js | 35 +++++++ web-ui/src/backup_account/page.js | 60 ++++++++++++ web-ui/src/backup_account/page.scss | 127 ++++++++++++++++++++++++++ 4 files changed, 234 insertions(+) create mode 100644 web-ui/src/backup_account/backup_account.html create mode 100644 web-ui/src/backup_account/backup_account.js create mode 100644 web-ui/src/backup_account/page.js create mode 100644 web-ui/src/backup_account/page.scss (limited to 'web-ui/src/backup_account') diff --git a/web-ui/src/backup_account/backup_account.html b/web-ui/src/backup_account/backup_account.html new file mode 100644 index 00000000..997c76f8 --- /dev/null +++ b/web-ui/src/backup_account/backup_account.html @@ -0,0 +1,12 @@ + + + + + + Pixelated Backup Account + + +
+ + + diff --git a/web-ui/src/backup_account/backup_account.js b/web-ui/src/backup_account/backup_account.js new file mode 100644 index 00000000..d4e0f4e8 --- /dev/null +++ b/web-ui/src/backup_account/backup_account.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see . + */ + +import React from 'react'; +import { render } from 'react-dom'; +import a11y from 'react-a11y'; +import { I18nextProvider } from 'react-i18next'; + +import 'font-awesome/scss/font-awesome.scss'; + +import PageWrapper from './page'; +import i18n from '../i18n'; + +if (process.env.NODE_ENV === 'development') a11y(React); + +render( + + + , + document.getElementById('root') +); diff --git a/web-ui/src/backup_account/page.js b/web-ui/src/backup_account/page.js new file mode 100644 index 00000000..2ae26d12 --- /dev/null +++ b/web-ui/src/backup_account/page.js @@ -0,0 +1,60 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see . + */ + +import React from 'react'; +import { translate } from 'react-i18next'; +import SubmitButton from 'src/common/submit_button/submit_button'; +import InputField from 'src/common/input_field/input_field'; +import Footer from 'src/common/footer/footer'; +import Header from 'src/common/header/header'; + +import './page.scss'; + +export const Page = ({ t }) => ( +
+
+
+
+ {t('backup-account.image-description')} +
+

{t('backup-account.title')}

+

{t('backup-account.paragraph1')}

+

{t('backup-account.paragraph2')}

+ + +