Add colocated server type
This commit is contained in:
parent
162b708dbf
commit
c66312c6f2
|
@ -106,6 +106,11 @@ class Server extends Model
|
||||||
return "VMware";
|
return "VMware";
|
||||||
} elseif ($type === 7) {
|
} elseif ($type === 7) {
|
||||||
return "NAT";
|
return "NAT";
|
||||||
|
} elseif ($type === 8) {
|
||||||
|
if (!$short) {
|
||||||
|
return "Colocated";
|
||||||
|
}
|
||||||
|
return "COLO";
|
||||||
} else {
|
} else {
|
||||||
if (!$short) {
|
if (!$short) {
|
||||||
return "Semi-dedicated";
|
return "Semi-dedicated";
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
<option value="5">SEMI-DEDI</option>
|
<option value="5">SEMI-DEDI</option>
|
||||||
<option value="6">VMware</option>
|
<option value="6">VMware</option>
|
||||||
<option value="7">NAT</option>
|
<option value="7">NAT</option>
|
||||||
|
<option value="8">COLO</option>
|
||||||
</select></div>
|
</select></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
|
|
|
@ -39,6 +39,9 @@
|
||||||
<option value="7" {{ ($server_data->server_type === 7) ? 'selected' : '' }}>
|
<option value="7" {{ ($server_data->server_type === 7) ? 'selected' : '' }}>
|
||||||
NAT
|
NAT
|
||||||
</option>
|
</option>
|
||||||
|
<option value="7" {{ ($server_data->server_type === 8) ? 'selected' : '' }}>
|
||||||
|
COLO
|
||||||
|
</option>
|
||||||
</select></div>
|
</select></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-lg-3 mb-4">
|
<div class="col-12 col-lg-3 mb-4">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user