diff options
author | Joe <rbo@gmx.us> | 2024-02-06 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-02-06 20:20:20 +0100 |
commit | 4a73a6d9e9237db2f2238205d7e9977fef194907 (patch) | |
tree | d6831201b7bf87d3da19ce59683d697ef19d73a3 /src/i_info.go | |
parent | ux design (diff) | |
download | hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.gz hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.bz2 hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.xz hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.tar.zst hardflip-4a73a6d9e9237db2f2238205d7e9977fef194907.zip |
qwe
Diffstat (limited to '')
-rw-r--r-- | src/i_info.go | 14 |
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 } |