docker image name
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
root
2024-10-01 11:53:15 +02:00
parent 8bcf0d35be
commit 62fd9a03ed
2 changed files with 4 additions and 3 deletions

View File

@@ -147,12 +147,12 @@ function get_vpn_url($domain,$passkey) {
function show_service($name, $containers) {
$str = '<table id="'.$name.'">';
$str .= "<tr><th>{$name}</th><td><b>Container name</b></td><td><b>Status</b></td><td><b>Action</b></td></tr>";
$str .= "<tr><th>{$name}</th></tr>";
$containers = trim($containers);
$arr = explode("|",$containers);
foreach ($arr as $container) {
$c_arr = explode(":",$container);
$str .= "<tr><td>&nbsp;</td><td>".$c_arr[0]."</td><td>".$c_arr[1]."</td><td>RESTART</td></tr>";
$c_arr = explode("#",$container);
$str .= "<tr><td>".$c_arr[0]."</td><td>".$c_arr[1]."</td><td>".$c_arr[2]."</td><td>RESTART</td></tr>";
}
$str .= '</table>';

View File

@@ -74,6 +74,7 @@ switch ($_GET["op"]) {
if ($key=="services") {
if ($data["INSTALL_STATUS"]==2) echo "NEW";
elseif ($data["INSTALL_STATUS"]==1) {
echo "<table><tr><td>Service/Container</td><td><b>Image</b></td><td><b>Status</b></td><td><b>Action</b></td></tr></table>";
foreach ($data["INSTALLED_SERVICES"] as $service_name => $object) {
//echo base64_decode($object["content"]);
show_service($service_name, $object["running"].":Up");