|
|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
import Centered from './Centered'
|
|
|
|
|
import ErrorStore from '../stores/ErrorStore'
|
|
|
|
|
import React from 'react'
|
|
|
|
|
import Spinner from './Spinner'
|
|
|
|
|
|
|
|
|
|
export default class ErrorPage extends React.Component {
|
|
|
|
|
|
|
|
|
|
@ -20,15 +22,18 @@ export default class ErrorPage extends React.Component {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
return <div>
|
|
|
|
|
<h1>{this.state.status}</h1>
|
|
|
|
|
<p>{this.state.message}</p>
|
|
|
|
|
return <Centered ver>
|
|
|
|
|
|
|
|
|
|
<Spinner dir="up" />
|
|
|
|
|
|
|
|
|
|
<h1 className="with-subtitle">FilePizza - {this.state.status}</h1>
|
|
|
|
|
<p className="subtitle">{this.state.message}</p>
|
|
|
|
|
|
|
|
|
|
{this.state.stack
|
|
|
|
|
? <pre>{this.state.stack}</pre>
|
|
|
|
|
: null}
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</Centered>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|