mirror of
https://github.com/unraid/webgui.git
synced 2026-05-02 07:49:20 -05:00
Show docker allocations in column format
This commit is contained in:
@@ -492,7 +492,7 @@ function getAllocations() {
|
||||
}
|
||||
sort($port);
|
||||
$ip = $ct['NetworkMode']=='host'||$nat ? $host : ($ip ?: DockerUtil::myIP($ct['Name']) ?: '0.0.0.0');
|
||||
$list['Port'] = "$ip : ".(implode(' ',array_unique($port)) ?: '???')." -- {$ct['NetworkMode']}";
|
||||
$list['Port'] = "<span style='display:inline-block;width:90px'>{$ct['NetworkMode']}</span><span style='display:inline-block;width:140px'>$ip</span>".(implode(', ',array_unique($port)) ?: '???');
|
||||
$ports[] = $list;
|
||||
}
|
||||
return $ports;
|
||||
|
||||
Reference in New Issue
Block a user