vhost init...3
This commit is contained in:
parent
bab6f77ad9
commit
c70261c610
@ -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__,
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user