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:
@@ -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",
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user