update bootstrap to 3.x and add template