diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/c_defs.go | 4 | ||||
-rw-r--r-- | src/i_info.go | 14 |
3 files changed, 10 insertions, 10 deletions
@@ -22,7 +22,7 @@ ## v0.5 - [x] single commands -- [ ] openstack +- [x] openstack ## v0.6 diff --git a/src/c_defs.go b/src/c_defs.go index 929f41b..ceb2a5b 100644 --- a/src/c_defs.go +++ b/src/c_defs.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/c_defs.go - * Fri Feb 02 10:07:55 2024 + * Thu Feb 08 14:30:35 2024 * Joe * * constants @@ -55,7 +55,7 @@ const ( CONF_FILE_NAME = "config.yml" CONF_DIR_NAME = "hf" DATA_DIR_NAME = "hf" - VERSION = "v0.4" + VERSION = "v0.5" ) const ( 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, |