UI Cleanup

This commit is contained in:
2025-10-24 16:52:08 -04:00
parent 629f6b510d
commit c52767b3a3
3 changed files with 14 additions and 7 deletions
+2
View File
@@ -41,6 +41,7 @@ from utils.utils import (
locked,
open_directory,
printEnforceChecklist,
clear_screen
)
logger = logging.getLogger(__name__)
@@ -51,6 +52,7 @@ def menu_main(api: AirlockAPIWrapper):
working_dir = load_env("WORKING_DIR")
extras = load_env("EXTRAS")
while True:
clear_screen()
displayIntro()
# Add Settings, and give option to change working dir
print(colorText("1. ✅ - Move Device(s) to local approval", "yellow"))
+9 -4
View File
@@ -121,9 +121,8 @@ def regulator(paths, case_insensitive=True):
pattern = "(?i)" + pattern # Add inline case-insensitive flag
print(f"Regulator is providing: {pattern}")
return pattern
def displayIntro():
print(
def irtang():
print(
colorText(
r"""
███
@@ -152,6 +151,8 @@ def displayIntro():
"yellow",
)
)
def displayIntro():
print(
colorText(
r"""
@@ -618,4 +619,8 @@ def open_directory(path):
def print_x_wide(items: list, width: int):
for i in range(0, len(items), width):
row = items[i:i+width]
print(" | ".join(row))
print(" | ".join(row))
def clear_screen():
os.system('cls' if os.name == 'nt' else 'clear')