diff --git a/.eslintrc.json b/.eslintrc.json
index 283fa26b..cc864d9b 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -7,11 +7,8 @@
"no-eval": 1,
"no-process-env": 0,
"no-underscore-dangle": 1,
- "react/jsx-boolean-value": [1, "always"],
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
- "react/no-multi-comp": 1,
- "react/prefer-es6-class": 1,
- "react/prop-types": 1
+ "react/prefer-es6-class": 1
}
}
diff --git a/src/browser/components/ErrorView.jsx b/src/browser/components/ErrorView.jsx
new file mode 100644
index 00000000..b1061e3a
--- /dev/null
+++ b/src/browser/components/ErrorView.jsx
@@ -0,0 +1,95 @@
+// ErrorCode: https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h
+
+const React = require('react');
+const {Grid, Row, Col} = require('react-bootstrap');
+
+const errorPage = {
+ tableStyle: {
+ display: 'table',
+ width: '100%',
+ height: '100%',
+ position: 'absolute',
+ top: '0',
+ left: '0'
+ },
+
+ cellStyle: {
+ display: 'table-cell',
+ verticalAlign: 'top',
+ paddingTop: '2em'
+ },
+
+ bullets: {
+ paddingLeft: '15px',
+ lineHeight: '1.7'
+ },
+
+ techInfo: {
+ fontSize: '12px',
+ color: '#aaa'
+ }
+};
+
+class ErrorView extends React.Component {
+ render() {
+ return (
+ {'We\'re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work please verify that:'}{'Cannot connect to Mattermost'}
+
+
+
+
+
+