-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #140 - make collapsable drawer default to closed, but with a larger, more obvious, control mechanism; also fix bug #145 by including when necessary in graph URL
- Loading branch information
1 parent
c0529ed
commit 0c82406
Showing
9 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.Error { | ||
min-height: 5vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 1vmin); | ||
} | ||
|
||
.Error-logo-full { | ||
height: auto; | ||
width: auto; | ||
margin: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import { withRouter } from 'react-router-dom'; | ||
import { withStyles } from '@material-ui/core/styles'; | ||
|
||
import './ErrorPage.css'; | ||
import logo from './katlas-logo-blue-300px.png'; | ||
|
||
const styles = () => ({ | ||
title: { | ||
textAlign: 'center' | ||
} | ||
}); | ||
|
||
class ErrorPage extends React.Component { | ||
render() { | ||
const { classes } = this.props; | ||
return ( | ||
<div className='Error'> | ||
<div className={classes.title}> | ||
<h3>Something appears to have gone wrong. Please retry your operation.</h3> | ||
</div> | ||
<img src={logo} className='Error-logo-full' alt='logo' /> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default withStyles(styles)(withRouter(ErrorPage)); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.splitter-layout > .layout-splitter { | ||
width: 12px; | ||
background-image: url("./grabIcon.png"); | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.