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/account_recovery/account_recovery.html | 12 -- web-ui/src/account_recovery/account_recovery.js | 35 ------ web-ui/src/account_recovery/page.js | 60 ---------- web-ui/src/account_recovery/page.scss | 127 ---------------------- 4 files changed, 234 deletions(-) delete mode 100644 web-ui/src/account_recovery/account_recovery.html delete mode 100644 web-ui/src/account_recovery/account_recovery.js delete mode 100644 web-ui/src/account_recovery/page.js delete mode 100644 web-ui/src/account_recovery/page.scss (limited to 'web-ui/src/account_recovery') diff --git a/web-ui/src/account_recovery/account_recovery.html b/web-ui/src/account_recovery/account_recovery.html deleted file mode 100644 index bd451ebc..00000000 --- a/web-ui/src/account_recovery/account_recovery.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Pixelated Account Recovery - - -
- - - diff --git a/web-ui/src/account_recovery/account_recovery.js b/web-ui/src/account_recovery/account_recovery.js deleted file mode 100644 index d4e0f4e8..00000000 --- a/web-ui/src/account_recovery/account_recovery.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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/account_recovery/page.js b/web-ui/src/account_recovery/page.js deleted file mode 100644 index 2ae26d12..00000000 --- a/web-ui/src/account_recovery/page.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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')}

- - -