Improve dashboard live loading
Right now, the dashboard refreshes itself by just reloading the full page via AJAX and extracting the dashboard div. This is very inefficient, both for the server, the network and the client device.
Several solutions, in order of preference:
- Use django-live-templates
- Really use include_by_ajax
- Rebuild include_by_ajax
While at it, widgets should get an option for how often they are refreshed, if they are not fully dynamic (like with live-templates).
I would prefer live-templates because it is least resource hungry, and we can reuse it in many other places (think of live-updating the smart plan in Chronos if something changes).