Clean up main menu and banner UI labels

Remove (stdlib only) from banner subtitle and (serial) from menu option 1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-09 18:42:02 -04:00
parent d296659785
commit 4b31c8eb8a
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ def main():
while True: while True:
banner() banner()
draw_box([ draw_box([
f" {_c(C.BOLD, '1')} Configure Network Settings (serial)", f" {_c(C.BOLD, '1')} Configure Network Settings",
f" {_c(C.BOLD, '2')} Update IOM / Fabric Card Firmware", f" {_c(C.BOLD, '2')} Update IOM / Fabric Card Firmware",
f" {_c(C.BOLD, '3')} Query Current Configuration", f" {_c(C.BOLD, '3')} Query Current Configuration",
f" {_c(C.BOLD, '4')} Exit", f" {_c(C.BOLD, '4')} Exit",

View File

@@ -37,7 +37,7 @@ def banner():
print(_c(C.CYN, " |") + _c(C.WHT + C.BOLD, print(_c(C.CYN, " |") + _c(C.WHT + C.BOLD,
" TrueNAS ES24N IOM Configuration Tool ") + _c(C.CYN, " |")) " TrueNAS ES24N IOM Configuration Tool ") + _c(C.CYN, " |"))
print(_c(C.CYN, " |") + _c(C.DIM, print(_c(C.CYN, " |") + _c(C.DIM,
" Serial Config & Firmware Updates (stdlib only) ") + _c(C.CYN, " |")) " Serial Config & Firmware Updates ") + _c(C.CYN, " |"))
print(_c(C.CYN, " +" + "-" * w + "+")) print(_c(C.CYN, " +" + "-" * w + "+"))
print() print()