The current conf/ini system sets defaults for the python code but is not passed to the javascript. It should be used to set some of the hard coded values in the javascript, in particular the max/min/step values for the photo update interval.
One way this could be achieved is to have the jinja2 templating write a json string in to index.html that could then be parsed on load to make a CONFIG object.
This is only really used for the class that handles the update frequency box and buttons, so perhaps move it in to the python and just have the javascript handle the display.
The current conf/ini system sets defaults for the python code but is not passed to the javascript. It should be used to set some of the hard coded values in the javascript, in particular the max/min/step values for the photo update interval.
One way this could be achieved is to have the jinja2 templating write a json string in to index.html that could then be parsed on load to make a CONFIG object.