mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
0959df53e5
* Don't use @lang() it doesn't escape the string Found an issue where a string contained a single quote and broke the page. * fix regex errors * fix another style of mis-replacement * found another issue
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
@extends('device.submenu')
|
|
|
|
@section('tabcontent')
|
|
<table class="table table-hover table-condensed table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>{{ __('Server Name') }}</th>
|
|
<th>{{ __('Power Status') }}</th>
|
|
<th>{{ __('Operating System') }}</th>
|
|
<th>{{ __('Memory') }}</th>
|
|
<th>{{ __('CPU') }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($data['vms'] as $vm)
|
|
<tr>
|
|
<td>
|
|
@if ($vm->parentDevice)
|
|
<x-device-link :device="$vm->parentDevice" />
|
|
@else
|
|
{{ $vm->vmwVmDisplayName }}
|
|
@endif
|
|
</td>
|
|
<td>
|
|
<span style="min-width:40px; display:inline-block;" class="label {{ $vm->stateLabel[1] }}">{{ $vm->stateLabel[0] }}</span>
|
|
</td>
|
|
<td>{{ $vm->operatingSystem }}</td>
|
|
<td>{{ $vm->memoryFormatted }}</td>
|
|
<td>{{ $vm->vmwVmCpus }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
@endsection
|
|
|
|
|
|
|