31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
@inject('SectionService', 'App\Services\SectionService')
|
|
@php
|
|
$param = 'services';
|
|
$technologyData = $SectionService->get($param);
|
|
@endphp
|
|
|
|
|
|
<div class="list-group list-group-flush" id="list-tab" role="tablist">
|
|
@if (isset($technologyData['serviceClasses']) && count($technologyData['serviceClasses']) > 0)
|
|
@foreach ($technologyData['serviceClasses'] as $tech)
|
|
@php
|
|
$tech['id'] = 'nav-' . $tech['id'];
|
|
@endphp
|
|
<a class="list-group-item list-group-item-action {{ $loop->first ? 'active' : '' }}" id="{{ $tech['id'] ?? 'default-id' }}-list" data-bs-toggle="list" href="#{{ $tech['id'] ?? 'default-id' }}" role="tab" aria-controls="{{ $tech['id'] ?? 'default-id' }}">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<small class="mb-1">{{ $tech['name'] ?? 'Default Name' }}</small>
|
|
</div>
|
|
</a>
|
|
@endforeach
|
|
@else
|
|
<p class="text-muted">No technology classes available.</p>
|
|
@endif
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|