MMC continue

This commit is contained in:
Александр Бабкин
2022-07-14 12:39:41 +03:00
parent 97bacd4423
commit 58c92adfbc
4 changed files with 18 additions and 8 deletions

View File

@@ -62,20 +62,27 @@
</tr>
@forelse ($top_auks as $top_auk)
<tr class="p-2 border border-gray-200 text-center">
<td>{{ $top_auk->auk_name }}</td>
<td>
<td class="p-2 border border-gray-200 text-center">{{ $top_auk->auk_name }}</td>
<td class="p-2 border border-gray-200 text-center">
<table>
{{-- @forelse ($top_auk->mmcs as $mmc)
@forelse ($top_auk->mmcs as $mmc)
<tr>
<td>{{ $mmc->filename }}</td>
</tr>
@empty
<tr>
<td>No MMC</td>
<td>No MMC
<a href="{{ route('mmc.scan') }}">
<button
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full">
<i class="fa fa-search pr-2"></i>{{ __('Scan mmc') }}
</button>
</a>
</td>
</tr>
@endforelse --}}
@endforelse
</table>
</td>
</tr>

View File

@@ -1,8 +1,11 @@
@foreach ($childs as $child)
<tr class="p-2 border border-gray-200 text-center">
<td>
<td class="p-2 border border-gray-200 text-center">
{{ str_pad('', $level, '-') . ' ' . $child->auk_name }}
</td>
<td>
</td>
</tr>
@if (count($child->childs))
@include('mmc.tableAukChild', [