Fixed css location to local one.
Used template for legend.