Hello, I'm new to Mainsail and don't really know where to find the code that manages the menu items when you press the power button in the top right corner of the web interface. I kind of assumed it's part of Mainsail, but to add gpio controls to this menu list, I've added definitions in the moonraker.conf file.
In any case, I would like to know if it's possible to modify the behavior of the Host Control->Shutdown button in this menu. Specifically, is it possible to add a confirmation popup or even remove the item altogether?
Thanks,
Skrunch.