Progression
This commit is contained in:
parent
065655ca7e
commit
9abc4c4961
@ -83,7 +83,9 @@ private static function getMaintenanceHistory(int $maintenanceHistoryId){
|
||||
return Cache::remember("maintenance_history_{$maintenanceHistoryId}", 60, function () use ($maintenanceHistoryId) {
|
||||
return MaintenanceHistory::with([
|
||||
'maintenance.tasks',
|
||||
'maintenance.hosts',
|
||||
'historyHosts',
|
||||
'historyHosts.host',
|
||||
'historyHosts.historyTasks',
|
||||
'historyHosts.historyTasks.maintenanceTask',
|
||||
'historyHosts.historyTasks.maintenanceTask.task'
|
||||
|
@ -1,8 +1,9 @@
|
||||
<div>
|
||||
@foreach ($maintenanceHistory->historyHosts as $historyHost)
|
||||
<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{{ $historyHost->id }}">
|
||||
<div class="btn-toggle btn py-3 w-100 bg-primary text-start d-flex justify-content-between" style="--bs-bg-opacity: .2;" data-bs-toggle="collapse" data-bs-target="#collapse{{ $historyHost->id }}">
|
||||
<b>{{ $historyHost->host->hostname }}</b>
|
||||
<x-form::checkbox groupClass="ms-auto" wire:key="{{ $historyHost->id . 'skip' }}" name="test[{{ $historyHost->id }}][skip]" id="test-{{ $historyHost->id }}-skip" label="{{ __('Skip') }}" />
|
||||
</div>
|
||||
<div class="collapse" id="collapse{{ $historyHost->id }}" wire:ignore.self>
|
||||
<div class="card card-body mt-2">
|
||||
|
Loading…
Reference in New Issue
Block a user