Increase widths of main page sections to 95%.
Adjust indentation.
Add a REST API path for loading flags from the SQLite database (by device): /data/device/<id>/flags
Load flags and apply them to each device series.