Add colocated server type

This commit is contained in:
Peter Šurda 2024-06-08 08:04:08 +02:00
parent 162b708dbf
commit c66312c6f2
Signed by untrusted user: PeterSurda
GPG Key ID: 3E47497CF67ABB95
3 changed files with 9 additions and 0 deletions

View File

@ -106,6 +106,11 @@ class Server extends Model
return "VMware";
} elseif ($type === 7) {
return "NAT";
} elseif ($type === 8) {
if (!$short) {
return "Colocated";
}
return "COLO";
} else {
if (!$short) {
return "Semi-dedicated";

View File

@ -39,6 +39,7 @@
<option value="5">SEMI-DEDI</option>
<option value="6">VMware</option>
<option value="7">NAT</option>
<option value="8">COLO</option>
</select></div>
</div>
<div class="col-12 col-lg-3 mb-4">

View File

@ -39,6 +39,9 @@
<option value="7" {{ ($server_data->server_type === 7) ? 'selected' : '' }}>
NAT
</option>
<option value="7" {{ ($server_data->server_type === 8) ? 'selected' : '' }}>
COLO
</option>
</select></div>
</div>
<div class="col-12 col-lg-3 mb-4">