move dashbar into separate template file. use in both cam and index