Skip to content

Commit b2ffc56

Browse files
author
Andrei Neagu
committed
ui touches
1 parent 12fa00a commit b2ffc56

File tree

2 files changed

+5
-2
lines changed
  • services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/routes

2 files changed

+5
-2
lines changed

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/routes/_index.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def _render_buttons(node_id: NodeID, service: TrackedServiceModel) -> None:
7373

7474
async def stop_process_task():
7575
confirm_dialog.submit("Yes")
76-
ui.notify(f"Started service stop request for {node_id}")
7776

7877
await httpx.AsyncClient(timeout=10).get(
7978
f"http://localhost:{DEFAULT_FASTAPI_PORT}/service/{node_id}:stop"

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/api/frontend/routes/_service.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ async def service_details(node_id: NodeID):
4747
ui.markdown("**Raw serialized data (the one used to render the above**")
4848
ui.code(service_model.model_dump_json(indent=2), language="json")
4949

50-
ui.markdown("**Dangerous Zone, beware!**")
50+
ui.separator()
51+
52+
ui.markdown(
53+
"**Dangerous Zone, beware!**\nThese actions can damage the system!"
54+
).classes("text-red-700")
5155

5256
with ui.dialog() as confirm_dialog, ui.card():
5357

0 commit comments

Comments
 (0)