New header and footer plus templates cleanup

Still need to fix all the leaflet apps
Desc. cooming soon.
Please, put hex values in lower case.