obfuscurity/tasseo — pull request #22 by joelittlejohn (2012-06-09 22:47:34+00:00)
Title: add support for hiding the toolbar

I'd like to hide the toolbar when we use tasseo on some of our screens (info radiators) that expect no user input. I generally zoom the browser in a lot to create a giant dashboard, but the toolbar is wasted space and adds clutter.

This patch allows you to add a line to your dashboard js to turn off toolbars:

`var toolbar = false`

I thought about adding a tiny link to the UI for this (e.g. [show]/[hide]), but the js route seemed like a simple and unobtrusive solution with no need to add more controls to the interface. It does mean that *no-one* gets controls for the dashboard, but I'm mostly happy to accept this limitation :)