Thursday, April 21, 2016

#1026 - Progress

All of the necessary files and the thread of communication between them have been established. The html for the settings interface where the blacklist can be updated is in the serialconnection.jinja file. It will be placed in the advanced settings tab using a text input box. This jinja file works in conjunction with the settings.js file in the front end. The settings.js file calls python set functions in the settings.py file in the api folder and passes information inputted from the user when the save button is clicked.

This python file sends the updated information to the settings.py file in the octoprint folder, where it is stored in a dictionary of user settings. Finally, the data from python settings dictionary is written to the config_yaml.rst file.

No comments:

Post a Comment