-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor VM management scripts for better readability and performance
- Replaced XMLHttpRequest with fetch API for modern syntax and promise-based handling. - Extracted common code for displaying loading and success alerts into separate functions. - Created a reusable pollVMStatus function to handle status polling and avoid code duplication. - Ensured consistent padding in the SSH key input dialog. - Improved overall readability and maintainability of the script.
- Loading branch information
Showing
1 changed file
with
70 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters