From b9e333d581809884efcfeef4deff962201a0e45a Mon Sep 17 00:00:00 2001 From: host Date: Sat, 25 Jul 2026 03:34:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/InstanceDetail.jsx | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/frontend/src/pages/InstanceDetail.jsx b/frontend/src/pages/InstanceDetail.jsx index 1fd57a1..aeeeb10 100644 --- a/frontend/src/pages/InstanceDetail.jsx +++ b/frontend/src/pages/InstanceDetail.jsx @@ -1,13 +1,11 @@ import React, { useEffect, useState, useCallback } from "react"; import { useParams, useNavigate } from "react-router-dom"; import { api } from "../api.js"; -import ConsoleViewer from "../components/ConsoleViewer.jsx"; export default function InstanceDetail() { const { id } = useParams(); const navigate = useNavigate(); const [instance, setInstance] = useState(null); - const [showConsole, setShowConsole] = useState(false); const [error, setError] = useState(""); const [busy, setBusy] = useState(false); @@ -75,20 +73,20 @@ export default function InstanceDetail() { - - {showConsole && ( -
- -
- )} +
+

Подключение

+

+ Для доступа к виртуальной машине используйте SSH с IP-адресом, + который отображается в дашборде, и учётными данными cloud-init, + заданными при создании. +

+
); -} +} \ No newline at end of file