I almost guarantee you that it is broken if you try to run main.py right now, as I certainly haven’t tried, but I’m getting a start on having some structure to the server.
More models and let’s use bootstrap
The beginnings of a flask-bootstrap interface
Check it out, trends!
Added a field for gage visibility, mainly so we can add a gage before it is setup, or possibly have non-linked pages.
Sent a default number of samples in leveltrend to 4, so it doesn’t have to be defined everywhere.
Put lots of words on the about page, and a call to action on the gages page
Fixed titles
hey! the description fields understand html now rather than always being escaped
Getting some markdown in the text fields
Starting to add some understanding of date ranges to the level plot
Got it to make the level plot for a specified date range
Did the same thing for the battery plot
Moved the whole level badge mess of markup into Gage.level_badge(). Haven’t implemented level based colors yet, but they are coming
Different badge styles between just having an unknown level correlation, and colors if it is!
started messing around with having a trend info per gage
Merge branch 'structured-app' into bootstrap to continue to try to split things out

Conflicts:
	serve.py which I’m keeping the bootstrap version
The restructured app is a big boy now… It’s alive and has already kicked the single file version to the curb with working Regions, ForeignKeyField names (had to def __unicode__ for each this that was a foreign key).

Added regions to the title bar

Changed zipcode up, it should be a varchar, but I couldn’t easily change an int to varchar, so I had to change it to text.
Added markdown/html for region descriptions, and starting to format the plots a bit nicer