Files
librenms-librenms/resources/views/vminfo.blade.php
Tony Murray 0959df53e5 Don't use @lang() it doesn't escape the string (#13566)
* 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
2021-11-28 21:17:11 -06:00

35 lines
1.2 KiB
PHP

@extends('layouts.librenmsv1')
@section('title', __('Virtual Machines'))
@section('content')
<div class="table-responsive">
<table id="vminfo" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="deviceid" data-visible="false" data-css-class="deviceid">No</th>
<th data-column-id="sysname" data-visible="false">Sysname</th>
<th data-column-id="vmwVmDisplayName">{{ __('Device') }}</th>
<th data-column-id="vmwVmState">{{ __('Power Status') }}</th>
<th data-column-id="hostname">{{ __('Host') }}</th>
<th data-column-id="vmwVmGuestOS" data-searchable="false">{{ __('Operating System') }}</th>
<th data-column-id="vmwVmMemSize" data-searchable="false">{{ __('Memory') }}</th>
<th data-column-id="vmwVmCpus" data-searchable="false">{{ __('CPU') }}</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@endsection
@section('scripts')
<script>
$("#vminfo").bootgrid({
ajax: true,
rowCount: [50, 100, 250, -1],
url: "{{ url('/ajax/table/vminfo') }}"
});
</script>
@endsection