Closed cagabi closed 6 years ago
Mostly updated in this branch: https://github.com/emoncms/MyHomeEnergyPlanner/tree/emoncms9
There are still a couple of small issues around themeing & login screen
I also wonder if we should move back to installing MyHomeEnergyPlanner as an emoncms module and perhaps document the modifications required that are specific to MyHomeEnergyPlanner?
i.e place assessment module in modules folder and then change user/login view to MHEP theme etc?
I've got the MyHomeEnergyPlanner as emoncms module working, I think this would be a good approach to take as we can separate the core from the mhep code and have the option of adding the ability to do energy monitoring alongside again. I think I originally merged the core into the mhep repo as I wanted to change the theme completely, subsequently I then switched back to using bootstrap and so the differences are not that great any more so it probably makes sense to move it back to being an emoncms module
Here's the module branch:
Here's a screenshot of the mhep assessment module running in emoncms 9 with the blue navbar theme :)
I've done a bit of work on the left hand menu, so that you can resize the page for a smaller screen and have it hide but then the option to show/hide it by clicking on the main menu item in the toolbar. This needs the latest version of emoncms master to work, its quite nice! :)
I've now installed the MyHomeEnergyPlanner emoncms module on emoncms.org under Extras > MyHomeEnergyPlanner
Trystan, great job! Thank you very much :)
For those who move from the old version to this new one and want to keep their database you need to add a column to the users table:
ALTER TABLE users ADD startingpage VARCHAR(64) DEFAULT 'assessment/list';
To the most recent stable emonCMS branch