created template for floating-info directive