Add metric detail view and template