generating the html for a boostrap grid layout for easier modification and static checking