From c86f2b723e6956a6544bf98dc5011bd303280c6e Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Fri, 25 Apr 2025 01:13:03 +0100 Subject: Restructure repository --- manage.php | 68 -------------------------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 manage.php (limited to 'manage.php') diff --git a/manage.php b/manage.php deleted file mode 100644 index c4858ca..0000000 --- a/manage.php +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - Manage container - - - - - -
-

Manage container:

- Home - Status -
- name; - //}, $services))) { - // Util\createBanner('✗', "Service '$service' is unknown", 'bad'); - // return; - //} - - $status = Util\getDockerStatus($container); - - if ($status->status === '-') { - Util\createBanner('✗', "Container '$container' not found", 'bad'); - return; - } - - if ($action === 'start' || $action === 'stop' || $action === 'restart' || $action === 'logs') { - // if ($action === 'start' || $action === 'stop' || $action === 'restart') { - $safeService = escapeshellarg($container); - Util\doShellExec('sudo docker ' . $action . ' ' . $safeService, '/manage.php?container=' . $container, $action); - } - - Util\createStatusBanner($status); - ?> -

-

- Status as reported by Docker - -
-

- -

- [Logs] - [Start] - [Stop] - [Restart] -

-
- -- cgit v1.2.3-70-g09d2