virtual-world-framework/vwf-web — pull request #12 by jessmartin (2014-02-13 18:49:46+00:00)
Title: Demos page now works with mobile styles

Had to make quite a few changes to the layouts on the demos page in order to get it working with the bootstrap mobile layouts.

It turned out to be easier to just move the page from html to haml to make the changes.

Ideally, the layout would be handled by some sort of templating engine to keep it DRY, but I doubt the content will change that often.

I also made the "Current Sessions" javascript work more like Unobtrusive JavaScript. You only have to add certain classes to the Demo blocks and an data attribute for the Current Sessions script to pick it up and do it's thing.