ticket:1 modify template

update template & css for more correct displaying
Merge branch 't1_contacts'