aboutsummaryrefslogtreecommitdiffstats
path: root/src/i_info.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-02-06 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-02-06 20:20:20 +0100
commit4a73a6d9e9237db2f2238205d7e9977fef194907 (patch)
treed6831201b7bf87d3da19ce59683d697ef19d73a3 /src/i_info.go
parentux design (diff)
downloadhardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.gz
hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.bz2
hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.xz
hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.zst
hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.zip
qwe
Diffstat (limited to 'src/i_info.go')
-rw-r--r--src/i_info.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/i_info.go b/src/i_info.go
index 1620e05..1064e2d 100644
--- a/src/i_info.go
+++ b/src/i_info.go
@@ -336,6 +336,20 @@ func i_info_openstack(ui HardUI, host *HostNode, line int) int {
(ui.dim[W] / 3) + 13, line, ui.dim[W] - 2, line,
ui.style[STYLE_DEF], host.Host)
if line += 1; line > ui.dim[H] - 3 { return line }
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_TITLE], "User domain ID: ")
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 13, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_DEF], host.Stack.UserDomainID)
+ if line += 1; line > ui.dim[H] - 3 { return line }
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_TITLE], "Project ID: ")
+ i_draw_text(ui.s,
+ (ui.dim[W] / 3) + 13, line, ui.dim[W] - 2, line,
+ ui.style[STYLE_DEF], host.Stack.ProjectID)
+ if line += 1; line > ui.dim[H] - 3 { return line }
return line
}