ticket:3 style and tamplate main.html changed