MMC alpha ready

This commit is contained in:
Александр Бабкин
2022-07-14 17:00:24 +03:00
parent 58c92adfbc
commit ba97a6afc1
10 changed files with 154 additions and 144 deletions

View File

@@ -1,9 +1,29 @@
@foreach ($childs as $child)
<tr class="p-2 border border-gray-200 text-center">
<tr class="p-2 border border-gray-200 text-left">
<td class="p-2 border border-gray-200 text-center">
{{ str_pad('', $level, '-') . ' ' . $child->auk_name }}
</td>
<td>
<table>
@forelse ($child->mmcs as $mmc)
<tr>
<td>{{ $mmc->filename }}</td>
</tr>
@empty
<tr>
<td>No MMC
<a href="{{ route('mmc.scan',$top_auk->id) }}" class="pl-2">
<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
</table>
</td>
</tr>