Files
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

26 lines
713 B
PHP

@if($rows->isNotEmpty())
<div class="table-responsive">
<table class="table table-hover table-condensed table-striped bootgrid-table">
<thead>
<tr>
<th class="text-left">Device</th>
@foreach($headers as $header)
<th class="text-left">{{ $header }}</th>
@endforeach
</tr>
</thead>
<tbody>
@foreach($rows as $row)
<tr>
@foreach($row as $column)
<td class="text-left">{!! $column !!}</td>
@endforeach
</tr>
@endforeach
</tbody>
</table>
</div>
@else
<h4>{{ __('No devices found within interval.') }}</h4>
@endif