porting basic layout from flask-bootstrap. still a wip.