aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js')
-rw-r--r--server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js20
1 files changed, 11 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js b/server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js
index 5ad30878ae3..077cd721366 100644
--- a/server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js
+++ b/server/sonar-web/src/main/js/app/components/extensions/ExtensionNotFound.js
@@ -22,23 +22,25 @@ import React from 'react';
import { Link } from 'react-router';
export default class ExtensionNotFound extends React.Component {
- componentDidMount () {
+ componentDidMount() {
document.querySelector('html').classList.add('dashboard-page');
}
- componentWillUnmount () {
+ componentWillUnmount() {
document.querySelector('html').classList.remove('dashboard-page');
}
- render () {
+ render() {
return (
- <div id="bd" className="page-wrapper-simple">
- <div id="nonav" className="page-simple">
- <h2 className="big-spacer-bottom">The page you were looking for does not exist.</h2>
- <p className="spacer-bottom">You may have mistyped the address or the page may have moved.</p>
- <p><Link to="/">Go back to the homepage</Link></p>
- </div>
+ <div id="bd" className="page-wrapper-simple">
+ <div id="nonav" className="page-simple">
+ <h2 className="big-spacer-bottom">The page you were looking for does not exist.</h2>
+ <p className="spacer-bottom">
+ You may have mistyped the address or the page may have moved.
+ </p>
+ <p><Link to="/">Go back to the homepage</Link></p>
</div>
+ </div>
);
}
}