Adapt bootstrap template to v3