diff --git a/src/gui/components/_legacy.py b/src/gui/components/_legacy.py index 4a06989..0317995 100644 --- a/src/gui/components/_legacy.py +++ b/src/gui/components/_legacy.py @@ -105,7 +105,7 @@ _FAREWELL_SCRIPT = """ 'border-radius:12px;background:#161922;max-width:480px;">' + '

' + 'DataTools has shut down

' + - '

You can close this browser tab.

' + + '

You can close this window.

' + ''; return overlay; } @@ -143,7 +143,7 @@ def quit_button(label: str = "Quit app", *, key: str = "quit_app_button") -> Non if st.session_state.get("_app_shutting_down"): from streamlit.components.v1 import html as _components_html _components_html(_FAREWELL_SCRIPT, height=0) - st.success("Shutting down… you can close this browser tab.") + st.success("Shutting down… you can close this window.") st.stop() if st.button(label, key=key, type="secondary"): diff --git a/src/gui/pages/99_Close.py b/src/gui/pages/99_Close.py index 241b73e..a3beeb9 100644 --- a/src/gui/pages/99_Close.py +++ b/src/gui/pages/99_Close.py @@ -33,9 +33,8 @@ st.divider() st.markdown( "Clicking the button below will terminate the DataTools server. " - "Any unsaved work in other tools will be lost. The browser tab " - "will show a connection-error message — that's expected; you can " - "close the tab once it appears." + "Any unsaved work in other tools will be lost. Once the app shuts " + "down you can close this window." ) st.write("")