From f044c6d6b22885393b2f46477c88317fdf688994 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Thu, 24 Aug 2017 10:31:18 +0200 Subject: ncp-web: use SSE to display process output in real time. Exit status green/red --- ncp-web/green-circle.svg | 34 ++++++++++++++++++ ncp-web/index.php | 5 +-- ncp-web/ncp-launcher.php | 7 ++-- ncp-web/ncp-output.php | 93 ++++++++++++++++++++++++++++++++++++++++++++++++ ncp-web/ncp.css | 12 +++++++ ncp-web/ncp.js | 35 ++++++++++++++++-- ncp-web/red-circle.svg | 33 +++++++++++++++++ 7 files changed, 213 insertions(+), 6 deletions(-) create mode 100644 ncp-web/green-circle.svg create mode 100644 ncp-web/ncp-output.php create mode 100644 ncp-web/red-circle.svg (limited to 'ncp-web') diff --git a/ncp-web/green-circle.svg b/ncp-web/green-circle.svg new file mode 100644 index 00000000..e82ffe38 --- /dev/null +++ b/ncp-web/green-circle.svg @@ -0,0 +1,34 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/ncp-web/index.php b/ncp-web/index.php index 65ceff78..7ddbed87 100644 --- a/ncp-web/index.php +++ b/ncp-web/index.php @@ -1,5 +1,5 @@