applying bootstrap templates