finished template inheritance and css/js