mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
remove all signup links
This commit is contained in:
parent
fd59166965
commit
be093091a3
@ -31,7 +31,6 @@ let LoginContainer = React.createClass({
|
|||||||
location={location}
|
location={location}
|
||||||
whitelabelName={whitelabelName} />
|
whitelabelName={whitelabelName} />
|
||||||
<div className="ascribe-login-text">
|
<div className="ascribe-login-text">
|
||||||
{getLangText(`Not a ${whitelabelName || 'ascribe'} user`)}? <Link to="/signup">{getLangText('Sign up')}...</Link><br/>
|
|
||||||
{getLangText('Forgot my password')}? <Link to="/password_reset">{getLangText('Rescue me')}...</Link>
|
{getLangText('Forgot my password')}? <Link to="/password_reset">{getLangText('Rescue me')}...</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -57,15 +57,6 @@ const PRLanding = React.createClass({
|
|||||||
if (this.state.prize && this.state.prize.active) {
|
if (this.state.prize && this.state.prize.active) {
|
||||||
return (
|
return (
|
||||||
<ButtonGroup className="enter" bsSize="large" vertical>
|
<ButtonGroup className="enter" bsSize="large" vertical>
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up to submit')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{getLangText('or, already an ascribe user?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/login">
|
<LinkContainer to="/login">
|
||||||
<Button>
|
<Button>
|
||||||
{getLangText('Log in to submit')}
|
{getLangText('Log in to submit')}
|
||||||
@ -76,13 +67,6 @@ const PRLanding = React.createClass({
|
|||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<ButtonGroup className="enter" bsSize="large" vertical>
|
<ButtonGroup className="enter" bsSize="large" vertical>
|
||||||
<a className="btn btn-default" href="https://www.ascribe.io/app/signup">
|
|
||||||
{getLangText('Sign up to ascribe')}
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{getLangText('or, already an ascribe user?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/login">
|
<LinkContainer to="/login">
|
||||||
<Button>
|
<Button>
|
||||||
{getLangText('Log in')}
|
{getLangText('Log in')}
|
||||||
|
@ -44,15 +44,6 @@ let Landing = React.createClass({
|
|||||||
if (this.state.prize && this.state.prize.active) {
|
if (this.state.prize && this.state.prize.active) {
|
||||||
return (
|
return (
|
||||||
<ButtonGroup className="enter" bsSize="large" vertical>
|
<ButtonGroup className="enter" bsSize="large" vertical>
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up to submit')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{getLangText('or, already an ascribe user?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/login">
|
<LinkContainer to="/login">
|
||||||
<Button>
|
<Button>
|
||||||
{getLangText('Log in to submit')}
|
{getLangText('Log in to submit')}
|
||||||
@ -63,13 +54,6 @@ let Landing = React.createClass({
|
|||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<ButtonGroup className="enter" bsSize="large" vertical>
|
<ButtonGroup className="enter" bsSize="large" vertical>
|
||||||
<a className="btn btn-default" href="https://www.ascribe.io/app/signup">
|
|
||||||
{getLangText('Sign up to ascribe')}
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
{getLangText('or, already an ascribe user?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/login">
|
<LinkContainer to="/login">
|
||||||
<Button>
|
<Button>
|
||||||
{getLangText('Log in')}
|
{getLangText('Log in')}
|
||||||
|
@ -28,10 +28,6 @@ let LoginContainer = React.createClass({
|
|||||||
headerMessage={getLangText('Log in with ascribe')}
|
headerMessage={getLangText('Log in with ascribe')}
|
||||||
location={this.props.location} />
|
location={this.props.location} />
|
||||||
<div className="ascribe-login-text">
|
<div className="ascribe-login-text">
|
||||||
{getLangText('I\'m not a user') + ' '}
|
|
||||||
<Link to="/signup">{getLangText('Sign up...')}</Link>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
{getLangText('I forgot my password') + ' '}
|
{getLangText('I forgot my password') + ' '}
|
||||||
<Link to="/password_reset">{getLangText('Rescue me...')}</Link>
|
<Link to="/password_reset">{getLangText('Rescue me...')}</Link>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,16 +51,6 @@ let Vivi23Landing = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,16 +43,6 @@ let ArtcityLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,16 +49,6 @@ let CylandLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,16 +46,6 @@ let DemoLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,16 +48,6 @@ let LumenusLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -52,16 +52,6 @@ let MarketLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,16 +46,6 @@ let PollineLanding = React.createClass({
|
|||||||
</Button>
|
</Button>
|
||||||
</LinkContainer>
|
</LinkContainer>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-xs-6">
|
|
||||||
<p>
|
|
||||||
{getLangText('Do you need an account?')}
|
|
||||||
</p>
|
|
||||||
<LinkContainer to="/signup">
|
|
||||||
<Button>
|
|
||||||
{getLangText('Sign up')}
|
|
||||||
</Button>
|
|
||||||
</LinkContainer>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,9 +77,6 @@ gemini.suite('Basic', (suite) => {
|
|||||||
.capture('hover on login submit', (actions, find) => {
|
.capture('hover on login submit', (actions, find) => {
|
||||||
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
||||||
})
|
})
|
||||||
.capture('hover on sign up link', (actions, find) => {
|
|
||||||
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
|
|
||||||
})
|
|
||||||
.capture('login form filled with focus', (actions, find) => {
|
.capture('login form filled with focus', (actions, find) => {
|
||||||
const emailInput = find('.ascribe-form input[name=email]');
|
const emailInput = find('.ascribe-form input[name=email]');
|
||||||
|
|
||||||
@ -94,22 +91,6 @@ gemini.suite('Basic', (suite) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
gemini.suite('Sign up', (signUpSuite) => {
|
|
||||||
signUpSuite
|
|
||||||
.setUrl('/signup')
|
|
||||||
.capture('sign up', (actions, find) => {
|
|
||||||
actions.waitForElementToShow('.ascribe-form', TIMEOUTS.NORMAL);
|
|
||||||
})
|
|
||||||
.capture('sign up form filled with focus', (actions, find) => {
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
|
|
||||||
})
|
|
||||||
.capture('sign up form filled with check', (actions, find) => {
|
|
||||||
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
gemini.suite('Password reset', (passwordResetSuite) => {
|
gemini.suite('Password reset', (passwordResetSuite) => {
|
||||||
passwordResetSuite
|
passwordResetSuite
|
||||||
.setUrl('/password_reset')
|
.setUrl('/password_reset')
|
||||||
|
@ -59,9 +59,6 @@ gemini.suite('Ikonotv', (suite) => {
|
|||||||
.capture('hover on login submit', (actions, find) => {
|
.capture('hover on login submit', (actions, find) => {
|
||||||
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
||||||
})
|
})
|
||||||
.capture('hover on sign up link', (actions, find) => {
|
|
||||||
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
|
|
||||||
})
|
|
||||||
.capture('login form filled with focus', (actions, find) => {
|
.capture('login form filled with focus', (actions, find) => {
|
||||||
const emailInput = find('.ascribe-form input[name=email]');
|
const emailInput = find('.ascribe-form input[name=email]');
|
||||||
|
|
||||||
@ -75,20 +72,6 @@ gemini.suite('Ikonotv', (suite) => {
|
|||||||
actions.click(find('.ascribe-form-header'));
|
actions.click(find('.ascribe-form-header'));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
gemini.suite('Sign up', (signUpSuite) => {
|
|
||||||
signUpSuite
|
|
||||||
.setUrl('/signup')
|
|
||||||
.capture('sign up')
|
|
||||||
.capture('sign up form filled with focus', (actions, find) => {
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
|
|
||||||
})
|
|
||||||
.capture('sign up form filled with check', (actions, find) => {
|
|
||||||
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: add more tests for ikonotv specific pages after authentication
|
// TODO: add more tests for ikonotv specific pages after authentication
|
||||||
|
@ -37,9 +37,6 @@ gemini.suite('Whitelabel basic', (suite) => {
|
|||||||
.capture('hover on login submit', (actions, find) => {
|
.capture('hover on login submit', (actions, find) => {
|
||||||
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
actions.mouseMove(find('.ascribe-form button[type=submit]'));
|
||||||
})
|
})
|
||||||
.capture('hover on sign up link', (actions, find) => {
|
|
||||||
actions.mouseMove(find('.ascribe-login-text a[href="/signup"]'));
|
|
||||||
})
|
|
||||||
.capture('login form filled with focus', (actions, find) => {
|
.capture('login form filled with focus', (actions, find) => {
|
||||||
const emailInput = find('.ascribe-form input[name=email]');
|
const emailInput = find('.ascribe-form input[name=email]');
|
||||||
|
|
||||||
@ -54,26 +51,6 @@ gemini.suite('Whitelabel basic', (suite) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
gemini.suite('Sign up', (signUpSuite) => {
|
|
||||||
signUpSuite
|
|
||||||
.setUrl('/signup')
|
|
||||||
// See Ikono
|
|
||||||
.skip(/Ikono/)
|
|
||||||
.capture('sign up', (actions, find) => {
|
|
||||||
actions.waitForElementToShow('.ascribe-form', TIMEOUTS.NORMAL);
|
|
||||||
// Wait in case the form reloads due to other assets loading
|
|
||||||
actions.wait(500);
|
|
||||||
})
|
|
||||||
.capture('sign up form filled with focus', (actions, find) => {
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=email]'), MAIN_USER.email);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password]'), MAIN_USER.password);
|
|
||||||
actions.sendKeys(find('.ascribe-form input[name=password_confirm]'), MAIN_USER.password);
|
|
||||||
})
|
|
||||||
.capture('sign up form filled with check', (actions, find) => {
|
|
||||||
actions.click(find('.ascribe-form input[type="checkbox"] ~ .checkbox'));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
gemini.suite('Password reset', (passwordResetSuite) => {
|
gemini.suite('Password reset', (passwordResetSuite) => {
|
||||||
passwordResetSuite
|
passwordResetSuite
|
||||||
.setUrl('/password_reset')
|
.setUrl('/password_reset')
|
||||||
|
Loading…
Reference in New Issue
Block a user