LAR_Maintenance/resources/views/maintenance/planned-detail.blade.php

21 lines
852 B
PHP
Raw Normal View History

2024-07-31 16:45:14 +00:00
<x-layout-app>
<div class="container-xl">
<div class="page-header">
<h1>{{ __('Planned Maintenance') }}</h1>
</div>
<p>{!! $maintenance_history->maintenance->description !!}</p>
@foreach ($maintenance_history->maintenance->hosts as $host)
<div class="mb-3">
<div class="btn-toggle btn py-3 w-100 bg-primary text-start" style="--bs-bg-opacity: .2;" data-bs-toggle="collapse" data-bs-target="#collapse{{ $host->id }}">
<b>{{ $host->hostname }}</b>
</div>
<div class="collapse" id="collapse{{ $host->id }}">
<div class="card card-body mt-2">
<h6>Description</h6>
</div>
</div>
</div>
@endforeach
</div>
</x-layout-app>