OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Python Interval Program 1 year aniversary and version 2.0 › Re: Re: Python Interval Program 1 year aniversary and version 2.
@Dan in CA wrote:
EDIT: Got an idea.
We could add a “plugins” button to the home page (or all pages) that opens a drop down menu that could be populated from a global dictionary with links to any number of plugin pages.
What do you think?
That would certainly work.
EDIT: Doh. So I’ve got too many projects going on at once and mixed up Python and PHP. Too many late nights. Anyway, I think that it would be wise to move to a better templating system. As it stands now you need to edit every single HTML page if you only want to change something simple like the footer. A more modular approach would make it easier to manage/edit the web interface and open the door to user additions. It’s really easy to do in PHP, but I’m not familiar enough with python to suggest how to implement it.