created the detail.html page