hazen-web-app used to implement Bootstrap3 via the Flask_Bootstrap python package. This version of Bootstrap is old and the Flask_Bootstrap package is no longer supported. Confusingly, a newer package called Bootstrap-Flasknow exists, which supports Bootstrap 4 and 5. To use this, the hazen-web-app code needed refactoring.
This should make hazen-web-app more robust going forward, and improves the functionality of the CSS which was broken. I think there are still a few corrections to make.
hazen-web-app used to implement Bootstrap3 via the
Flask_Bootstrap
python package. This version of Bootstrap is old and theFlask_Bootstrap
package is no longer supported. Confusingly, a newer package calledBootstrap-Flask
now exists, which supports Bootstrap 4 and 5. To use this, the hazen-web-app code needed refactoring.This PR:
app/main/base.html
and a couple of other files according to the migrate instructions within the documentationrequirements.txt
This should make hazen-web-app more robust going forward, and improves the functionality of the CSS which was broken. I think there are still a few corrections to make.