refactor `web content` pages into submodule
move total_measurements from JS to template logic
move leaders table from JS to template logic