1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +01:00

Fix small issues

This commit is contained in:
Brett Sun 2016-01-19 15:15:33 +01:00
parent efbc605fc8
commit 86ff1f88d0
2 changed files with 32 additions and 34 deletions

View File

@ -21,7 +21,7 @@ let ErrorNotFoundPage = React.createClass({
componentDidMount() { componentDidMount() {
// The previous page, if any, is the second item in the locationQueue // The previous page, if any, is the second item in the locationQueue
const { locationQueue: [ _, previousPage ] } = this.history; const { locationQueue: [ , previousPage ] } = this.history;
if (previousPage) { if (previousPage) {
console.logGlobal('Page not found', { console.logGlobal('Page not found', {

View File

@ -57,40 +57,38 @@ let CylandLanding = React.createClass({
setDocumentTitle('CYLAND MediaArtLab'); setDocumentTitle('CYLAND MediaArtLab');
return ( return (
<div className="container"> <div className="ascribe-form-wrapper cyland-landing">
<div className="ascribe-form-wrapper cyland-landing"> <div className="row">
<div className="row"> <div className="col-xs-12">
<div className="col-xs-12"> <div className="row" style={{border: '1px solid #CCC', padding: '2em'}}>
<div className="row" style={{border: '1px solid #CCC', padding: '2em'}}> <img src={this.state.whitelabel.logo} width="400px"/>
<img src={this.state.whitelabel.logo} width="400px"/> <div style={{marginTop: '1em'}}>
<div style={{marginTop: '1em'}}> {getLangText('Submissions to Cyland Archive are powered by') + ' '}
{getLangText('Submissions to Cyland Archive are powered by') + ' '} <span>
<span> <span className="icon-ascribe-logo"></span>
<span className="icon-ascribe-logo"></span> </span>
</span>
</div>
</div> </div>
<div className="row" style={{border: '1px solid #CCC', borderTop: 'none', padding: '2em'}}> </div>
<div className="col-xs-6"> <div className="row" style={{border: '1px solid #CCC', borderTop: 'none', padding: '2em'}}>
<p> <div className="col-xs-6">
{getLangText('Existing ascribe user?')} <p>
</p> {getLangText('Existing ascribe user?')}
<LinkContainer to="/login"> </p>
<Button> <LinkContainer to="/login">
{getLangText('Log in')} <Button>
</Button> {getLangText('Log in')}
</LinkContainer> </Button>
</div> </LinkContainer>
<div className="col-xs-6"> </div>
<p> <div className="col-xs-6">
{getLangText('Do you need an account?')} <p>
</p> {getLangText('Do you need an account?')}
<LinkContainer to="/signup"> </p>
<Button> <LinkContainer to="/signup">
{getLangText('Sign up')} <Button>
</Button> {getLangText('Sign up')}
</LinkContainer> </Button>
</div> </LinkContainer>
</div> </div>
</div> </div>
</div> </div>