The old web app uses CSS Bootstrap 2 and the new CSS Bootstrap 3 have a lot of things different, we need to aware:
Get into the issue/concept:
My Working Tool
There is already an existing tool written in Python (b2tob3) but for me, it’s working only for HTML (extension .html) files and there are some more rules to add into the tool to work fully for Bootstrap 2 to 3.
And then zlotnika forked the original tool above and add more support on extension and I found that it looks a bit more better but still not match to my case which is on Java application written the template on JSP/Servlet (.java) file; and there is no Font Awesome converter inside the tool as well.
So I forked from zlotnika and modified to my need which is hosted in github. I still keep updating but at this stage, it’s working almost fine for me.
Some available automatic tools, you can try:
- Original Tool that forked from: https://pypi.python.org/pypi/b2tob3/0.4
- HTML: http://code.divshot.com/bootstrap3_upgrader/