Repository: keen/dashboards Branch: master Commit: 348b37de6070 Files: 66 Total size: 231.6 KB Directory structure: gitextract_9ghuq6_o/ ├── .gitignore ├── .npmignore ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── assets/ │ ├── css/ │ │ ├── keen-dashboards.css │ │ └── keen-static.css │ └── js/ │ └── keen-analytics.js ├── bower.json ├── demo-data/ │ └── sample.html ├── dist/ │ └── keen-dashboards.css ├── examples/ │ ├── 2048/ │ │ ├── index.html │ │ ├── js/ │ │ │ └── game/ │ │ │ ├── animframe_polyfill.js │ │ │ ├── application.js │ │ │ ├── bind_polyfill.js │ │ │ ├── classlist_polyfill.js │ │ │ ├── game_manager.js │ │ │ ├── grid.js │ │ │ ├── html_actuator.js │ │ │ ├── keyboard_input_manager.js │ │ │ ├── local_storage_manager.js │ │ │ └── tile.js │ │ └── styles/ │ │ └── game/ │ │ ├── fonts/ │ │ │ └── clear-sans.css │ │ ├── helpers.scss │ │ ├── main.css │ │ └── main.scss │ ├── README.md │ ├── connected-devices/ │ │ ├── README.md │ │ ├── connected-devices.css │ │ ├── connected-devices.js │ │ └── index.html │ ├── customer-facing/ │ │ ├── README.md │ │ ├── customer-facing.css │ │ ├── customer-facing.js │ │ └── index.html │ ├── geo-explorer/ │ │ ├── geo-explorer.css │ │ ├── geo-explorer.js │ │ └── index.html │ ├── index.html │ ├── military-surplus-flow/ │ │ ├── index.html │ │ ├── military-surplus-flow.css │ │ └── military-surplus-flow.js │ ├── sfmta-parking/ │ │ ├── README.md │ │ ├── index.html │ │ ├── sfmta-demo.css │ │ └── sfmta-demo.js │ └── starter-kit/ │ ├── LICENSE │ ├── README.md │ ├── index.html │ ├── starter-kit.css │ └── starter-kit.js ├── index.html ├── layouts/ │ ├── README.md │ ├── hero-sidebar/ │ │ └── index.html │ ├── hero-thirds/ │ │ └── index.html │ ├── index.html │ ├── quarter-grid/ │ │ └── index.html │ ├── split-centered/ │ │ └── index.html │ ├── split-columns/ │ │ └── index.html │ ├── split-rows/ │ │ └── index.html │ ├── thirds-grid/ │ │ └── index.html │ └── two-and-one/ │ ├── LICENSE │ ├── README.md │ └── index.html └── package.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .DS_Store .sass-cache ================================================ FILE: .npmignore ================================================ .bowerrc .DS_Store .git* *.log bower.json ================================================ FILE: CONTRIBUTING.md ================================================ ## Submitting a Pull Request Use the template below. If certain testing steps are not relevant, specify that in the PR. If additional checks are needed, add 'em! Please run through all testing steps before asking for a review. ``` ## What does this PR do? How does it affect users? ## How should this be tested? Step through the code line by line. Things to keep in mind as you review: - Are there any edge cases not covered by this code? - Does this code follow conventions (naming, formatting, modularization, etc) where applicable? Fetch the branch and/or deploy to staging to test the following: - [ ] Does the code compile without warnings (check shell, console)? - [ ] Do all tests pass? - [ ] Does the UI, pixel by pixel, look exactly as expected (check various screen sizes, including mobile)? - [ ] If the feature makes requests from the browser, inspect them in the Web Inspector. Do they look as expected (parameters, headers, etc)? - [ ] If the feature sends data to Keen, is the data visible in the project if you run an extraction (include link to collection/query)? - [ ] If the feature saves data to a database, can you confirm the data is indeed created in the database? ## Related tickets? ``` ================================================ FILE: Dockerfile ================================================ FROM httpd RUN apt-get update -y WORKDIR /usr/local/apache2/htdocs/ ADD . /usr/local/apache2/htdocs/ EXPOSE 80 ================================================ FILE: LICENSE ================================================ The MIT License (MIT) Copyright (c) 2014 Keen IO Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ================================================ FILE: README.md ================================================ # Dashboards by Keen IO Building an analytics dashboard? Don’t start from scratch. Grab one of our CSS Grid-based templates and admire your data in minutes. **UPDATE: All examples in this repo have been updated to use [keen-dataviz.js](https://github.com/keen/keen-dataviz.js) and [keen-analysis.js](https://github.com/keen/keen-analysis.js), as well as CDN versions of all dependencies.** When producing charts with [keen-dataviz.js](https://github.com/keen/keen-dataviz.js), the HTML wrapper for each chart (`.chart-wrapper`, described below) is rendered automatically. Begin with a layout:  Add charts to each `chart-stage` HTML element: ```html