Add fancy ASCII art title to status display

- Replaced simple text header with large block-style 'PINAIL' ASCII art
- Enhanced visual presentation with colored borders and better spacing
- Cyan colored top banner makes the display more eye-catching
- Deployed and verified on Pi
This commit is contained in:
2026-03-12 04:11:33 +00:00
parent 57fbd7063e
commit 4b76f9896a
+26 -7
View File
@@ -225,19 +225,38 @@ class StatusDisplay:
"""Draw the complete status display frame."""
lines = []
# Title
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
# ASCII Art Title
lines.append("")
lines.append("{}{}═════════════════════════════════════════════════════{}".format(
Colors.BOLD + Colors.CYAN,
" piNail2 STATUS DISPLAY ",
lines.append("{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
" ____ _ _ _ _ _ _ _ "))
lines.append("{}".format(
" | _ \\| | | | / \\ | | | | | | | "))
lines.append("{}".format(
" | |_) | | | |/ _ \\ | |_| | | | | "))
lines.append("{}".format(
" | __/| |_| / ___ \\| _ | |_| | "))
lines.append("{}".format(
" |_| \\___/_/ \\_\\_| |_|\\___/ "))
lines.append("{}".format(Colors.RESET))
# Timestamp and border
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
lines.append("{}{}═══════════════════════════════════════════════════════{}".format(
Colors.BRIGHT_CYAN,
"",
Colors.RESET
))
lines.append("{}═════════════════════════════════════════════════════{}".format(
lines.append("{}STATUS DISPLAY{} {}{}".format(
Colors.CYAN,
Colors.RESET,
Colors.DIM,
timestamp
))
lines.append("{}═══════════════════════════════════════════════════════{}".format(
Colors.BRIGHT_CYAN,
"",
Colors.RESET
))
lines.append("{}{}{}".format(Colors.DIM, timestamp, Colors.RESET))
lines.append("")
# Get data safely