From ecafbee5d0fc6cc35724b678d53b83615b26a55f Mon Sep 17 00:00:00 2001 From: Karel van Klink <karel.vanklink@geant.org> Date: Fri, 16 Feb 2024 11:52:17 +0100 Subject: [PATCH] update input step labels --- gso/workflows/router/create_router.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/gso/workflows/router/create_router.py b/gso/workflows/router/create_router.py index 62836796..3ea3e162 100644 --- a/gso/workflows/router/create_router.py +++ b/gso/workflows/router/create_router.py @@ -153,11 +153,11 @@ def prompt_reboot_router(subscription: RouterProvisioning) -> FormGenerator: class Config: title = "Please reboot before continuing" - info_label: Label = ( + info_label_1: Label = ( f"Base config has been deployed. Please log in via the console using https://" # type: ignore[assignment] - f"{subscription.router.router_site.site_ts_address}.\n" - "Reboot the router, and once it is up again, press submit to continue the workflow." + f"{subscription.router.router_site.site_ts_address}." ) + info_label_2: Label = "Reboot the router, and once it is up again, press submit to continue the workflow." # type: ignore[assignment] yield RebootPrompt @@ -170,11 +170,12 @@ def prompt_console_login() -> FormGenerator: class ConsolePrompt(FormPage): class Config: - title = "Please log in before continuing" + title = "Verify local authentication" - info_label: Label = ( - "Verify that you are able to log in to the router via the console, and then continue the workflow." # type: ignore[assignment] + info_label_1: Label = ( + "Verify that you are able to log in to the router via the console using the admin account." # type: ignore[assignment] ) + info_label_2: Label = "Once this is done, press submit to continue the workflow." # type: ignore[assignment] yield ConsolePrompt @@ -187,9 +188,10 @@ def prompt_insert_in_ims() -> FormGenerator: class IMSPrompt(FormPage): class Config: - title = "Please go to IMS before continuing" + title = "Update IMS mediation server" - info_label: Label = "Insert the router into IMS, and continue the workflow once this has been completed." # type: ignore[assignment] + info_label_1: Label = "Insert the router into IMS." # type: ignore[assignment] + info_label_2: Label = "Once this is done, press submit to continue the workflow." # type: ignore[assignment] yield IMSPrompt -- GitLab