Kpis

Adding js and html file for the kpis page, adding the necessary function in views, adding a few useful functions to common.js.

No rush.
kill with fire :bomb: