<table class="table table-bordered table-striped">
  <?php foreach ($serverEntities as $serverEntity): ?>
    <tr class="text-center">
      <th style="width: 250px">
        <?= $serviceEntity->getServerInfoUID() == $serverEntity->getPK() ? "📌" : "<a href=\"/admin/customer/service/changeServer/{$serviceEntity->getPK()}?serverinfo_uid={$serverEntity->getPK()}\">✔️</a>" ?>
        <?= $serviceCellDatas['serverPartHelper']->getFieldView('SERVER', "", ['serverEntity' => $serverEntity]) ?>
        <?= $serviceEntity->getServerInfoUID() != $serverEntity->getPK() ? "<a href=\"/admin/customer/service/terminateServer/{$serviceEntity->getPK()}?serverinfo_uid={$serverEntity->getPK()}\">❌</a>" : "" ?>
      </th>
      <th style="width: 250px">
        <?= $serviceCellDatas['serverPartHelper']->getListButton('CPU', 'CPU', ['serverinfo_uid' => $serverEntity->getPK()]) ?>
        / <?= $serviceCellDatas['serverPartHelper']->getListButton('RAM', 'RAM', ['serverinfo_uid' => $serverEntity->getPK()]) ?>
        / <?= $serviceCellDatas['serverPartHelper']->getListButton('DISK', 'DISK', ['serverinfo_uid' => $serverEntity->getPK()]) ?>
      </th>
      <th style="width: 200px"><?= $serviceCellDatas['serverPartHelper']->getListButton('IP', '추가IP', ['serverinfo_uid' => $serverEntity->getPK()]) ?></th>
      <th style="width: 200px"><?= $serviceCellDatas['serverPartHelper']->getListButton('CS', 'CS', ['serverinfo_uid' => $serverEntity->getPK()]) ?></th>
    </tr>
    <tr class="text-center">
      <td nowrap>
        <div><?= $serverEntity->getTitle() ?></div>
        <div><?= $serverEntity->getIP() ?></div>
        <div><?= $serverEntity->getOS() ?></div>
      </td>
      <?= view_cell("\App\Cells\Equipment\ServerPartCell::parttable", [
        'serverinfo_uid' => $serverEntity->getPK(),
        'types' => SERVERPART['ALL_PARTTYPES'],
        'template' => 'part_detail'
      ]) ?>
    </tr>
  <?php endforeach; ?>
</table>