generate details page