From 7c4bcb24975dbe148a3c7bbbcbfe2ef2f892d5ee Mon Sep 17 00:00:00 2001 From: Will Nilges Date: Sat, 10 Sep 2022 10:32:21 -0400 Subject: [PATCH] Disable other task buttons These tasks are not currently reachable through the API. Given that I don't yet fully grasp what they do, that might not be a bad thing. --- proxstar/static/js/script.js | 4 +++- proxstar/templates/settings.html | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/proxstar/static/js/script.js b/proxstar/static/js/script.js index e2c9bab..2234fe1 100644 --- a/proxstar/static/js/script.js +++ b/proxstar/static/js/script.js @@ -627,12 +627,14 @@ $(".add-ignored-pool").click(function(){ }); }); +// TODO: Move these tasks so they're callable via JS? +/* $("#generate-pool-cache-task-button").click(function(){ - }); $("#process-expiring-vms-task-button").click(function(){ }); +*/ $("#cleanup-vnc-task-button").click(function(){ const vncCleanupToken = $(this).data('vnc_cleanup_token'); diff --git a/proxstar/templates/settings.html b/proxstar/templates/settings.html index 34bd502..cef6537 100644 --- a/proxstar/templates/settings.html +++ b/proxstar/templates/settings.html @@ -114,10 +114,11 @@
- - - - + +