ticket:1 modify template

update template & css for more correct displaying