Update detail.html

Further refinement of ui