qlcorp wrote on Friday, November 06, 2015:
We have started (yet another) user interface improvement project. We decided that instead of building off the preexisting UI improvement project, we would start over again.
OpenEMR was started prior to many innovations in web technology, and the user interface reflects this.
Like the previous project, our goal is to implement Twitter Bootstrap, but with several additional requirements.
We understand that for all of the desire to refactor the underlying code, but there are many stakeholders that have a lot working knowledge of the code. Additionally, there is a significant amount of business logic that is tied to the UI code. So, our approach is to try to preserve the code base so as not to “throw the baby out with the bath water”, so to speak.
It is the goal of this project not to change the structure of the code or materially alter the function of the system. We will also maintain backwards compatibility with the existing OpenEMR theming system.
You may view the progress of this project at our fork at github at https://github.com/practiceprovider/openemr
We are employing the following methodology, we have created an SCSS stylesheet from the style_oemr.css style, then
- Where possible, we are reusing the existing OpenEMR classes by extending the Bootstrap classes.
- If needed we apply new classes to the HTML (making sure not to interfere with existing styling)
- Worst case scenario we modify the HTML and/or PHP in a way that is backwards compatible with the existing code/theming system, an example of this was the pills in messaging.php