diff --git a/README.md b/README.md index 71a5fdf..298c54f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Simple dashboard that taps into the [opensensemap](http://opensensemap.org/) api to show the measurements for a specific [sensebox](www.sensebox.de/en/). -![devseed-sense-dashboard.png](devseed-sense-dashboard.png) +![devseed-sense-dashboard.png](app/assets/graphics/meta/default-meta-image.png) ## Development environment To set up the development environment for this website, you'll need to install the following on your system: diff --git a/app/assets/graphics/layout/devseed-logo-symbol.svg b/app/assets/graphics/layout/devseed-logo-symbol.svg deleted file mode 100644 index 459cb1a..0000000 --- a/app/assets/graphics/layout/devseed-logo-symbol.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/graphics/layout/ds-logo-neg.svg b/app/assets/graphics/layout/ds-logo-neg.svg deleted file mode 100644 index e98378f..0000000 --- a/app/assets/graphics/layout/ds-logo-neg.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/graphics/layout/ds-logo-pos.svg b/app/assets/graphics/layout/ds-logo-pos.svg deleted file mode 100644 index f3c056b..0000000 --- a/app/assets/graphics/layout/ds-logo-pos.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/assets/graphics/layout/favicon.svg b/app/assets/graphics/layout/favicon.svg new file mode 100644 index 0000000..b86b136 --- /dev/null +++ b/app/assets/graphics/layout/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/app/assets/graphics/meta/apple-touch-icon-114x114.png b/app/assets/graphics/meta/apple-touch-icon-114x114.png deleted file mode 100755 index 56bde37..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-114x114.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-120x120.png b/app/assets/graphics/meta/apple-touch-icon-120x120.png deleted file mode 100755 index 900c6b2..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-120x120.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-144x144.png b/app/assets/graphics/meta/apple-touch-icon-144x144.png deleted file mode 100755 index 56b9959..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-144x144.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-152x152.png b/app/assets/graphics/meta/apple-touch-icon-152x152.png deleted file mode 100755 index b9cc96e..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-152x152.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-57x57.png b/app/assets/graphics/meta/apple-touch-icon-57x57.png deleted file mode 100755 index 2e05523..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-57x57.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-72x72.png b/app/assets/graphics/meta/apple-touch-icon-72x72.png deleted file mode 100755 index 22e9671..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-72x72.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon-76x76.png b/app/assets/graphics/meta/apple-touch-icon-76x76.png deleted file mode 100755 index ce55e80..0000000 Binary files a/app/assets/graphics/meta/apple-touch-icon-76x76.png and /dev/null differ diff --git a/app/assets/graphics/meta/apple-touch-icon.png b/app/assets/graphics/meta/apple-touch-icon.png old mode 100755 new mode 100644 index 2e05523..16d8740 Binary files a/app/assets/graphics/meta/apple-touch-icon.png and b/app/assets/graphics/meta/apple-touch-icon.png differ diff --git a/app/assets/graphics/meta/default-meta-image.png b/app/assets/graphics/meta/default-meta-image.png index d69c080..472476c 100644 Binary files a/app/assets/graphics/meta/default-meta-image.png and b/app/assets/graphics/meta/default-meta-image.png differ diff --git a/app/assets/graphics/meta/favicon.ico b/app/assets/graphics/meta/favicon.ico old mode 100755 new mode 100644 index 8e72680..d10e605 Binary files a/app/assets/graphics/meta/favicon.ico and b/app/assets/graphics/meta/favicon.ico differ diff --git a/app/assets/scripts/views/app.js b/app/assets/scripts/views/app.js index f020e37..1e7e779 100644 --- a/app/assets/scripts/views/app.js +++ b/app/assets/scripts/views/app.js @@ -2,6 +2,8 @@ import React from 'react'; import config from '../config'; +document.title += ` - ${config.title}`; + var App = React.createClass({ displayName: 'App', @@ -27,7 +29,7 @@ var App = React.createClass({ {this.props.children} ); diff --git a/app/assets/scripts/views/home.js b/app/assets/scripts/views/home.js index 4e04e49..cffe46a 100644 --- a/app/assets/scripts/views/home.js +++ b/app/assets/scripts/views/home.js @@ -150,8 +150,8 @@ var Home = React.createClass({ let sensorTemperatureData = this.prepareData(this.props.sensorTemperature.data); let sensorHumidityData = this.prepareData(this.props.sensorHumidity.data); let sensorUvData = this.prepareData(this.props.sensorUv.data); - let sensorLuminosityData = this.prepareData(this.props.sensorLuminosity.data); - let sensorPressureData = this.prepareData(this.props.sensorPressure.data); + // let sensorLuminosityData = this.prepareData(this.props.sensorLuminosity.data); + // let sensorPressureData = this.prepareData(this.props.sensorPressure.data); let sensorPm10Data = this.prepareData(this.props.sensorPm10.data); let sensorPm25Data = this.prepareData(this.props.sensorPm25.data); @@ -211,7 +211,7 @@ var Home = React.createClass({ unit=' μW/cm²' /> - + /> */} - + - Begga Weer - - - - - - - - + openSenseMap dashboard - - + + - + + - - - - - - - - +