show MMC alpha ready
This commit is contained in:
@@ -25,23 +25,8 @@
|
||||
<td class="p-2 border border-gray-200 text-left align-top">
|
||||
{{ $top_auk->auk_name }}</td>
|
||||
<td class="p-2 border border-gray-200 text-center">
|
||||
<table class="mx-auto">
|
||||
<tr>
|
||||
<th class="p-1 border border-gray-200 text-xs">
|
||||
{{ __('File') }}
|
||||
</th>
|
||||
<th class="p-1 border border-gray-200 text-xs">
|
||||
{{ __('Size') }}
|
||||
</th>
|
||||
<th class="p-1 border border-gray-200 text-xs">
|
||||
{{ __('MTime') }}
|
||||
</th>
|
||||
<th class="p-1 border border-gray-200 text-xs">
|
||||
{{ __('Image') }}
|
||||
</th>
|
||||
</tr>
|
||||
@forelse ($top_auk->mmcs as $mmc)
|
||||
<tr>
|
||||
@if (count($top_auk->mmcs))
|
||||
{{-- <tr>
|
||||
<td class="p-1 border border-gray-200 text-xs">
|
||||
{{ $mmc->filename }}</td>
|
||||
<td class="p-1 border border-gray-200 text-xs">{{ $mmc['size'] }}
|
||||
@@ -62,24 +47,21 @@
|
||||
])
|
||||
</svg>
|
||||
@endif
|
||||
{{-- <img height="50" src="{{ route('mmc.show', $mmc->id) }}"> --}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@empty
|
||||
<tr>
|
||||
<td colspan="3" class="p-1 border border-gray-200 text-xs">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>
|
||||
</tr> --}}
|
||||
<a href="{{ route('mmc.show', [$top_auk->id,0]) }}" class="pl-2">
|
||||
<button
|
||||
class="bg-green-500 hover:bg-green-700 text-white font-bold py-2 px-4 rounded-full">
|
||||
<i class="fa fa-eye pr-2"></i>{{ __('Show mmc') }}
|
||||
</button>
|
||||
</a>
|
||||
@else
|
||||
<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>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@if (count($top_auk->childs))
|
||||
|
||||
Reference in New Issue
Block a user