retab triplist.html and layout.html