show containers mod
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
root
2024-09-13 18:28:19 +02:00
parent 452af042bf
commit 6898ced53c
2 changed files with 13 additions and 8 deletions

View File

@@ -145,6 +145,19 @@ function get_vpn_url($domain,$passkey) {
return $url;
}
function show_service($name, $containers) {
$str = '<div>'.$name."</div>";
$str .= '<div id="'.$name.'" style="padding-left: 20px">';
$containers = trim($containers);
$arr = explode(" ",$containers);
foreach ($arr as $container) {
$str .= $container."<br>";
}
$str .= '</div>';
echo $str;
}
// not in use
function put_install_envs() {