mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Fix empty group
This commit is contained in:
parent
a103aeb36b
commit
118ea63c1f
1 changed files with 9 additions and 6 deletions
|
@ -143,13 +143,16 @@ class API_Gen_HTML
|
|||
|
||||
foreach ($group_arr as $keygroup => $group)
|
||||
{
|
||||
$html = $html.'<li><a href="#">'.$keygroup.'<span class="fa arrow"></span></a>';
|
||||
$html = $html.'<ul class="nav nav-third-level">';
|
||||
foreach ($group as $cluster)
|
||||
{;
|
||||
$html = $html.'<li><a href="cluster.php?date='.$date.'&cluster='.$cluster.'">'.$cluster.'</a></li>';
|
||||
if(!empty($keygroup))
|
||||
{
|
||||
$html = $html.'<li><a href="#">'.$keygroup.'<span class="fa arrow"></span></a>';
|
||||
$html = $html.'<ul class="nav nav-third-level">';
|
||||
foreach ($group as $cluster)
|
||||
{
|
||||
$html = $html.'<li><a href="cluster.php?date='.$date.'&cluster='.$cluster.'">'.$cluster.'</a></li>';
|
||||
}
|
||||
$html = $html.'</ul></li>';
|
||||
}
|
||||
$html = $html.'</ul></li>';
|
||||
}
|
||||
|
||||
$html = $html.'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue