vhost init...3

This commit is contained in:
최준흠 2024-05-17 19:05:43 +09:00
parent bab6f77ad9
commit c70261c610
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class ProductCell extends BaseCell
public function beremetal(array $cellDatas = []) public function beremetal(array $cellDatas = [])
{ {
$cellDatas['device'] = []; $cellDatas['device'] = [];
$cellDatas['device']['categorys'] = ['server', 'cpu', 'memory', 'disk', 'nic', 'publicip', 'os']; $cellDatas['device']['categorys'] = ['server', 'memory', 'disk'];
$cellDatas['device']['options'] = $this->getDeviceModel()->getOptions(); $cellDatas['device']['options'] = $this->getDeviceModel()->getOptions();
return view( return view(
'Views/cells/product/' . __FUNCTION__, 'Views/cells/product/' . __FUNCTION__,

View File

@ -1,4 +1,4 @@
<table class="table table-bordered" style="width:80%;"> <table class="table table-bordered" style="width: auto;">
<tr> <tr>
<?php foreach ($cellDatas['device']['categorys'] as $category) : ?> <?php foreach ($cellDatas['device']['categorys'] as $category) : ?>
<th style="background-color:silver; text-align:center;"><?= lang('Device.CATEGORY.' . $category) . " 선택" ?></th> <th style="background-color:silver; text-align:center;"><?= lang('Device.CATEGORY.' . $category) . " 선택" ?></th>