GithubHelp home page GithubHelp logo

vibster / dashboards Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keen/dashboards

0.0 0.0 0.0 1.5 MB

Responsive Dashboard Templates for Bootstrap

Home Page: http://keen.github.io/dashboards/

License: MIT License

dashboards's Introduction

Dashboards by Keen IO

Sample projects to get you started!

Go from this:

Hero Thirds Example

To this:

Sample Dashboard

Our goal for these assets is to be as helpful and familiar as possible, without getting in your way. To that end, these layouts are composed of a minimal set of custom styles on top of Bootstrap v3.2, covering the most common use cases and layout configurations we've encountered so far.

  • Examples for specific domains, data models and popular integrations
  • Layouts for pre-baked responsive dashboard views

How to use these dashboards (non-developers)

Want to use one of these awesome layouts? Here is a simple set of instructions for downloading and getting started with making your own Keen dashboard!

  1. Download the source. In the sidebar, is a Download Zip link. Click it to grab a copy of the repository.

  2. Choose which layout you want to start with. Navigate to layouts and select which template might best suit your needs. Once you have selected a template, navigate to your downloaded zip, unzip it using an decompression tool like 7-zip and navigate to the folder/layouts/(name of your chosen template).

  3. Start editing! In the destination folder will exist an .html file in which you can edit with your favorite text editor. There are three things you need to do to edit your dashboard:

  4. Setup: If you're a registered Keen.io user, navigate to your keen project or if you don't have a user at first, you can simply use some demo data that we've prepared for you. You can access those by going to the repository and navigating to demo-data. There, you will see some javascript files with some code in them. We will simply paste those in the .html file.

  5. Some copypasta. When you navigate to the bottom of the .html file, you can see that there are a bunch of script tags. Just before the end of the body tag, we're going to add in the code from sample.html. Simply copy and paste the code just before you see </body>

  6. Once you've done that we need to hook up the specific items within the template to the code that we've just pasted in to our file. In line 21 of sample.html, you will see a line of code: document.getElementById('chart-01'). That means that this query will try to find inside the html file a node with an id of 'chart-01'. In these templates, you will see lines of that resemble something like:

<div class="chart-stage"> <!-- This is where you need to put the id property in! -->
  <img data-src="holder.js/100%x650/white">
</div>

Now we're going to change those lines so that it looks like this:

<div class="chart-stage" id="chart-01"> <!-- This is where you need to put the id property in! -->
  <!-- Get rid of that img tag! -->
</div>

You're finished! Congratulations on setting up your first Keen chart! Repeat step three with the rest of the items in the template to complete your dashboard!

How to Contribute

Contributions are 11,000,000% welcome! That's a lot!

We work directly out of the gh-pages branch so contributions go live immediately, once your pull request is reviewed and approved.

Fork this repo, clone your fork, and add this repo as a remote:

$ git clone https://github.com/username/dashboards.git
$ cd dashboards
$ git remote add upstream https://github.com/keenlabs/dashboards.git

Pull frequently to keep your local copy up to date with the latest contributions:

$ git pull upstream gh-pages

Install dev dependencies with Bower

$ npm install -g bower
$ bower install

That's it! No fancy build processes yet, just keep things clean and simple :)

Additional Resources

Data Modeling Guide

API Technical Reference

API Status

Support

Need a hand with something? Join us in IRC or shoot us an email at [email protected]

dashboards's People

Contributors

dok avatar dustinlarimer avatar dzello avatar mhor avatar ritchieleeann avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.