show data in all four views. refactor common ui element in separate html file.