mirror of
https://github.com/aclist/dztui.git
synced 2026-11-10 20:10:38 +01:00
feat: populate ServerTreeViews
This commit is contained in:
1 parent
4a3d407e5f
commit
37dab3e83b
9 files changed
+140
-130
No files matched your search
+16
-1
@@ -53,8 +53,9 @@ copy_name = "Copy name to clipboard"
|
||||
copy_ip = "Copy IP to clipboard"
|
||||
copy_log = "Copy record(s) to clipboard"
|
||||
add = "Add to my servers"
|
||||
remove = "Remove from my servers"
|
||||
remove = "Remove from Saved Servers"
|
||||
remove_history = "Remove from history"
|
||||
connect = "Connect"
|
||||
|
||||
# Columns
|
||||
server_mod_cols = ["Mod", "ID", "Installed"]
|
||||
@@ -496,3 +497,17 @@ developers = DevelopersPage(
|
||||
prefs_label="Boot preferences",
|
||||
columns=["Key", "Value"]
|
||||
)
|
||||
|
||||
@dataclass(slots=True, frozen=True)
|
||||
class ServerLabels:
|
||||
browser: str
|
||||
saved: str
|
||||
recent: str
|
||||
lan: str
|
||||
|
||||
server_labels = ServerLabels(
|
||||
browser="Server Browser",
|
||||
saved="Saved Servers",
|
||||
recent="Recent",
|
||||
lan="LAN",
|
||||
)
|
||||
Reference in new issue
Block a user