add progress bar and filters notifications

This commit is contained in:
Ildar Kamalov
2018-09-19 18:58:55 +03:00
parent 0292d2b32b
commit 0e173d2f70
7 changed files with 44 additions and 2 deletions

View File

@@ -17,3 +17,10 @@ body {
min-height: calc(100vh - 117px);
}
}
.loading-bar {
position: absolute;
z-index: 103;
height: 3px;
background: linear-gradient(45deg, rgba(99, 125, 120, 1) 0%, rgba(88, 177, 101, 1) 100%);
}

View File

@@ -1,6 +1,7 @@
import React, { Component, Fragment } from 'react';
import { HashRouter, Route } from 'react-router-dom';
import PropTypes from 'prop-types';
import LoadingBar from 'react-redux-loading-bar';
import 'react-table/react-table.css';
import '../ui/Tabler.css';
@@ -31,6 +32,7 @@ class App extends Component {
return (
<HashRouter hashType='noslash'>
<Fragment>
<LoadingBar className="loading-bar" updateTime={1000} />
<Route component={Header} />
<div className="container container--wrap">
{!dashboard.processing && !dashboard.isCoreRunning &&