apply bootstrap template