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."""
|
"""Draw the complete status display frame."""
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
# ASCII Art Title
|
# ASCII Art Title (compact)
|
||||||
lines.append("")
|
lines.append("")
|
||||||
lines.append("{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
" ____ _ _ _ _ _ _ _ "))
|
"╔═══════════════════════════════════════╗", Colors.RESET))
|
||||||
lines.append("{}".format(
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
" | _ \\| | | | / \\ | | | | | | | "))
|
"║ ║", Colors.RESET))
|
||||||
lines.append("{}".format(
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
" | |_) | | | |/ _ \\ | |_| | | | | "))
|
"║ >> PINAIL << ║", Colors.RESET))
|
||||||
lines.append("{}".format(
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
" | __/| |_| / ___ \\| _ | |_| | "))
|
"║ E-Nail Control System v2 ║", Colors.RESET))
|
||||||
lines.append("{}".format(
|
lines.append("{}{}{}".format(Colors.BRIGHT_CYAN + Colors.BOLD,
|
||||||
" |_| \\___/_/ \\_\\_| |_|\\___/ "))
|
"║ ║", Colors.RESET))
|
||||||
lines.append("{}".format(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")
|
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
lines.append("{}{}═══════════════════════════════════════════════════════{}".format(
|
lines.append("")
|
||||||
Colors.BRIGHT_CYAN,
|
lines.append("{}{} {}{}".format(
|
||||||
"═",
|
|
||||||
Colors.RESET
|
|
||||||
))
|
|
||||||
lines.append("{}STATUS DISPLAY{} {}{}".format(
|
|
||||||
Colors.CYAN,
|
|
||||||
Colors.RESET,
|
|
||||||
Colors.DIM,
|
Colors.DIM,
|
||||||
timestamp
|
timestamp,
|
||||||
))
|
Colors.RESET,
|
||||||
lines.append("{}═══════════════════════════════════════════════════════{}".format(
|
""
|
||||||
Colors.BRIGHT_CYAN,
|
|
||||||
"═",
|
|
||||||
Colors.RESET
|
|
||||||
))
|
))
|
||||||
lines.append("")
|
lines.append("")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user