40 lines
1.6 KiB
PHP
40 lines
1.6 KiB
PHP
<td>
|
|
<?php foreach (['CPU', 'RAM', 'DISK'] as $type): ?>
|
|
<?php foreach ($serverPartCellDatas['entities'][$type] as $entities): ?>
|
|
<?php foreach ($entities as $entity): ?>
|
|
<?php $serverPartCellDatas['entity'] = $entity ?>
|
|
<div><?= $serverPartCellDatas['service']->getHelper()->getFieldView($type, $entity->getPK(), $serverPartCellDatas) ?></div>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
|
|
</td>
|
|
<td>
|
|
<?php foreach (['OS', 'SOFTWARE'] as $type): ?>
|
|
<?php foreach ($serverPartCellDatas['entities'][$type] as $entities): ?>
|
|
<?php foreach ($entities as $entity): ?>
|
|
<?php $serverPartCellDatas['entity'] = $entity ?>
|
|
<div><?= $serverPartCellDatas['service']->getHelper()->getFieldView($type, $entity->getPK(), $serverPartCellDatas) ?></div>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
|
|
</td>
|
|
<td>
|
|
<?php foreach ($serverPartCellDatas['entities']['IP'] as $entities): ?>
|
|
<?php foreach ($entities as $entity): ?>
|
|
<?php $serverPartCellDatas['entity'] = $entity ?>
|
|
<div><?= $serverPartCellDatas['service']->getHelper()->getFieldView('IP', $entity->getPK(), $serverPartCellDatas) ?></div>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
|
|
</td>
|
|
<td>
|
|
<?php foreach ($serverPartCellDatas['entities']['CS'] as $entities): ?>
|
|
<?php foreach ($entities as $entity): ?>
|
|
<?php $serverPartCellDatas['entity'] = $entity ?>
|
|
<div><?= $serverPartCellDatas['service']->getHelper()->getFieldView('CS', $entity->getPK(), $serverPartCellDatas) ?></div>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
|
|
</td>
|