Files
sam-manage/resources/views/fcm/partials/token-table.blade.php

34 lines
1.7 KiB
PHP
Raw Normal View History

<div id="token-table-container">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">사용자</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">테넌트</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">플랫폼</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">기기/버전</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">토큰</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">상태</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">등록일</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">작업</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
@forelse($tokens as $token)
@include('fcm.partials.token-row', ['token' => $token])
@empty
<tr>
<td colspan="8" class="px-6 py-12 text-center text-gray-500">
등록된 토큰이 없습니다.
</td>
</tr>
@endforelse
</tbody>
</table>
@if($tokens->hasPages())
<div class="px-6 py-4 border-t border-gray-200">
{{ $tokens->withQueryString()->links() }}
</div>
@endif
</div>