Fixed webui template to work with later versions of Bottle