Get started on a trip tracker page

So far this is just a static ugly html page that gets sent to the browser.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Trip page: hook up start/stop function and create server backend

Add a new AJAX call for a single data array at a specific time and acquire
that data when the start/stop button is pressed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Deal with variable scope and start/stop confusion

It still doesn't update the button text correctly, but at least now it
correctly registers start / stop and retrieves the data.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Fixed silly bug using jQuery to change button text

Now the button text changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Use callbacks instead of trying to return data from getData

This is javascript, not C...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Disable the cost display - this isn't enabled on the back end

This is still missing the actual "storing of the named trip", but at least
it's a useful proof of concept.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Add rated range to the SOC chart

Rated range actually has higer resolution (chargeState call gets us tenths
of a mile, so that's about half a permille resolution compared to one
percent resolution on the SOC - kind of sad that we can't get higher
resolution SOC).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Make the marker flicker slightly less annoying

But it's still rather bad when the car is moving fast. This needs to be
solved differently, I think. Maybe this would be better with an overlay?

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Merge pull request #32 from dirkhh/trip

Trip