insertion of page template and update of css code