upload template.html