summaryrefslogtreecommitdiffstats
path: root/webui/src/App.js
blob: caaee72153b0ff08a58d4983f9ad07576c913f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React, { Component } from 'react';
import './App.scss';
import Timeline from './Timeline';
import Navigation from './Navigation';

class App extends Component {
  render() {
/*
    if(window.location.protocol !== "https:" && process.env.NODE_ENV !== 'development') {
      return (
        <div className="App">
          <div className="insecure-scheme">The Web UI is not available over HTTP. To use it; enable SSL, restart GAD and browse to this page using HTTPS.</div>
        </div>
      );
    }
*/
    return (
      <div className="App">
        <Navigation />
        <Timeline />
      </div>
    );
  }
}

export default App;