Skip to content

Commit

Permalink
update bootstrap, react, react-router, add buttons page, adjust error…
Browse files Browse the repository at this point in the history
… message
  • Loading branch information
okendoken committed Jan 25, 2019
1 parent 1ee0533 commit 1a359db
Show file tree
Hide file tree
Showing 63 changed files with 741 additions and 7,945 deletions.
4 changes: 2 additions & 2 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
"version": "0.0.0",
"private": true,
"engines": {
"node": ">=6.5",
"npm": ">=3.10"
"node": "8.10.0"
},
"browserslist": [">1%", "last 4 versions", "Firefox ESR", "not ie < 9"],
"dependencies": {
"@babel/polyfill": "7.0.0-beta.32",
"awesome-bootstrap-checkbox": "^1.0.1",
"bluebird": "^3.5.1",
"body-parser": "^1.18.2",
"bootstrap": "^4.1.1",
"bootstrap": "4.2.1",
"bundle-loader": "^0.5.5",
"classnames": "^2.2.5",
"cookie-parser": "^1.4.3",
Expand All @@ -39,15 +38,15 @@
"pretty-error": "^2.1.1",
"prop-types": "^15.6.1",
"query-string": "^5.0.1",
"react": "^16.1.1",
"react": "16.7.0",
"react-cookie": "^1.0.5",
"react-dom": "^16.1.1",
"react-dom": "16.7.0",
"react-google-maps": "^9.4.5",
"react-redux": "^5.0.4",
"react-router": "^4.0.0",
"react-router-dom": "^4.0.0",
"react-router": "4.3.1",
"react-router-dom": "4.3.1",
"react-sparklines": "^1.7.0",
"reactstrap": "^6.0.1",
"reactstrap": "7.1.0",
"recharts": "^1.0.0-beta.10",
"redux": "^3.6.0",
"redux-logger": "^3.0.1",
Expand Down
4 changes: 2 additions & 2 deletions src/DOMUtils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/App.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand All @@ -28,7 +28,7 @@ class Footer extends React.Component {
return (
<footer className={cx(s.root, this.props.className)}>
<div className={s.container}>
<span>© 2017 &nbsp;Flatlogic LLC </span>
<span>© 2019 &nbsp;Flatlogic LLC </span>
<span className={s.spacer}>·</span>
<Link to="/app/tos">Terms of Service</Link>
<span className={s.spacer}>·</span>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/Footer.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/Html.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
7 changes: 5 additions & 2 deletions src/components/Layout/Layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand All @@ -19,6 +19,7 @@ import loadPrivacy from 'bundle-loader?lazy!../../pages/privacy';
import loadProfile from 'bundle-loader?lazy!../../pages/profile';
import loadTypography from 'bundle-loader?lazy!../../pages/typography';
import loadTables from 'bundle-loader?lazy!../../pages/tables';
import loadButtons from 'bundle-loader?lazy!../../pages/buttons';
import loadNotifications from 'bundle-loader?lazy!../../pages/notifications';
import loadCharts from 'bundle-loader?lazy!../../pages/charts';
import loadIcons from 'bundle-loader?lazy!../../pages/icons';
Expand All @@ -40,6 +41,7 @@ const PrivacyBundle = Bundle.generateBundle(loadPrivacy);
const ProfileBundle = Bundle.generateBundle(loadProfile);
const TypographyBundle = Bundle.generateBundle(loadTypography);
const TablesBundle = Bundle.generateBundle(loadTables);
const ButtonsBundle = Bundle.generateBundle(loadButtons);
const NotificationsBundle = Bundle.generateBundle(loadNotifications);
const ChartsBundle = Bundle.generateBundle(loadCharts);
const IconsBundle = Bundle.generateBundle(loadIcons);
Expand Down Expand Up @@ -78,6 +80,7 @@ class Layout extends React.Component {
<Route path="/app/typography" exact component={TypographyBundle} />
<Route path="/app/tables" exact component={TablesBundle} />
<Route path="/app/notifications" exact component={NotificationsBundle} />
<Route path="/app/components/buttons" exact component={ButtonsBundle} />
<Route path="/app/components/charts" exact component={ChartsBundle} />
<Route path="/app/components/icons" exact component={IconsBundle} />
<Route path="/app/components/maps" exact component={MapsBundle} />
Expand Down
4 changes: 2 additions & 2 deletions src/components/Layout/Layout.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/Page/Page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/components/Page/Page.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 4 additions & 0 deletions src/components/Sidebar/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const Sidebar = () => (
header="Components"
headerLink="/app/components"
childrenLinks={[
{
name: 'Buttons',
link: '/app/components/buttons',
},
{
name: 'Charts',
link: '/app/components/charts',
Expand Down
4 changes: 2 additions & 2 deletions src/components/Widget/Widget.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/createFetch.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/models/User.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/models/UserClaim.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/models/UserLogin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/models/UserProfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/models/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/queries/me.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/queries/news.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/sequelize.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/types/NewsItemType.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/data/types/UserType.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/history.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions src/pages/about/About.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* React Starter Kit (https://www.reactstarterkit.com/)
* Flatlogic Dashboards (https://flatlogic.com/admin-dashboards)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
* Copyright © 2015-present Flatlogic, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
Expand Down
Loading

0 comments on commit 1a359db

Please sign in to comment.