volkszaehler/volkszaehler.org — pull request #104 by andig (2014-03-14 12:26:13+00:00)
Title: Beautify frontend display of entities table

Update entity-list to right-align numeric columns (header & body rows).
Adjust value rounding to reduce precision by 1 for each power of 10. I.e. with precision=2 it will format numbers like

- 1.111 -> 1.11
- 11.111 -> 11.1
- 111.111 -> 111
- 1111.111 -> 1.11 k

My editor removes trailing spaces from all lines. If this is not desired I need to provide updated patch. If this is desired I could add .editorconfig as well.