From 89cc40f564e0ef8df27201228f8ecf3b294f09cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Mon, 11 May 2026 22:48:14 +0900 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20frontend=20logic=20=D0=B4=D0=BB=D1=8F=20Pulse=20workfl?= =?UTF-8?q?ow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app.js | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 frontend/app.js diff --git a/frontend/app.js b/frontend/app.js new file mode 100644 index 0000000..2410f2d --- /dev/null +++ b/frontend/app.js @@ -0,0 +1,41 @@ +async function api(url, options = {}) { + const response = await fetch(url, options); + return await response.json(); +} + +async function loadStatus() { + const data = await api('/api/system/status'); + + document.getElementById('systemStatus').innerHTML = ` +