From 644a76a199fd0c7448619bf68bf50b4bb8dbac2a Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 5 Jun 2025 09:41:20 -0500 Subject: [PATCH] add update button to web control page --- web_interface.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_interface.py b/web_interface.py index a8a47458..ebf9577d 100644 --- a/web_interface.py +++ b/web_interface.py @@ -126,6 +126,8 @@ CONFIG_PAGE_TEMPLATE = """
+
+

Action Output:

@@ -352,6 +354,9 @@ def run_action_route(): elif action == 'reboot_system': command_parts = ["sudo", "reboot"] explanation_msg = "Reboots the system." + elif action == 'git_pull': + command_parts = ["git", "pull"] + explanation_msg = "Downloads the latest updates from the repository." else: return jsonify({ "status": "error",