diff options
author | Joe <rbo@gmx.us> | 2024-02-08 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-02-08 20:20:20 +0100 |
commit | 7f7f7a2c031a7423f2203a90ba3371c3b8a15942 (patch) | |
tree | a74866e37020eb2c2758c5c2ff36d73a1db8638c /src/i_info.go | |
parent | text (diff) | |
download | hardflip-7f7f7a2c031a7423f2203a90ba3371c3b8a15942.tar.gz hardflip-7f7f7a2c031a7423f2203a90ba3371c3b8a15942.tar.bz2 hardflip-7f7f7a2c031a7423f2203a90ba3371c3b8a15942.tar.xz hardflip-7f7f7a2c031a7423f2203a90ba3371c3b8a15942.tar.zst hardflip-7f7f7a2c031a7423f2203a90ba3371c3b8a15942.zip |
0.5
Diffstat (limited to 'src/i_info.go')
-rw-r--r-- | src/i_info.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/i_info.go b/src/i_info.go index 0950d76..85929b4 100644 --- a/src/i_info.go +++ b/src/i_info.go @@ -327,13 +327,6 @@ func i_info_openstack(ui HardUI, host *HostNode, line int) int { i_draw_text(ui.s, (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], "Region name: ") - i_draw_text(ui.s, - (ui.dim[W] / 3) + 16, line, ui.dim[W] - 2, line, - ui.style[STYLE_DEF], host.Stack.RegionName) if line += 2; line > ui.dim[H] - 3 { return line } i_draw_text(ui.s, (ui.dim[W] / 3) + 3, line, ui.dim[W] - 2, line, @@ -348,6 +341,13 @@ func i_info_openstack(ui HardUI, host *HostNode, line int) int { i_draw_text(ui.s, (ui.dim[W] / 3) + 15, line, ui.dim[W] - 2, line, ui.style[STYLE_DEF], host.Stack.ProjectID) + 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], "Region name: ") + i_draw_text(ui.s, + (ui.dim[W] / 3) + 16, line, ui.dim[W] - 2, line, + ui.style[STYLE_DEF], host.Stack.RegionName) if line += 2; line > ui.dim[H] - 3 { return line } // user infos i_draw_text(ui.s, |