Replace large ASCII art with compact box-style header
- Replaced multi-line block ASCII art with compact boxed header - New design: compact box with 'PINAIL' text and version info - Better suited for smaller screens and TTY displays - Cleaner, more readable layout - Deployed and verified on Pi
This commit is contained in:
@@ -228,37 +228,29 @@ class StatusDisplay:
|
||||
"""Draw the complete status display frame."""
|
||||
lines = []
|
||||
|
||||
# ASCII Art Title
|
||||
# ASCII Art Title (compact)
|
||||
lines.append("")
|
||||
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))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"╔═══════════════════════════════════════╗", Colors.RESET))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"║ ║", Colors.RESET))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"║ >> PINAIL << ║", Colors.RESET))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"║ E-Nail Control System v2 ║", Colors.RESET))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"║ ║", Colors.RESET))
|
||||
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||
"╚═══════════════════════════════════════╝", Colors.RESET))
|
||||
|
||||
# Timestamp and border
|
||||
# Timestamp
|
||||
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
lines.append("{}{}═══════════════════════════════════════════════════════{}".format(
|
||||
Colors.BRIGHT_CYAN,
|
||||
"═",
|
||||
Colors.RESET
|
||||
))
|
||||
lines.append("{}STATUS DISPLAY{} {}{}".format(
|
||||
Colors.CYAN,
|
||||
Colors.RESET,
|
||||
lines.append("")
|
||||
lines.append("{}{} {}{}".format(
|
||||
Colors.DIM,
|
||||
timestamp
|
||||
))
|
||||
lines.append("{}═══════════════════════════════════════════════════════{}".format(
|
||||
Colors.BRIGHT_CYAN,
|
||||
"═",
|
||||
Colors.RESET
|
||||
timestamp,
|
||||
Colors.RESET,
|
||||
""
|
||||
))
|
||||
lines.append("")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user