write classroom table, rearrange temp .html