ghassan 0b2e95ea65 Add NAS file manager integration and all pending platform changes
- Installed p7h/nas-file-manager package via private VCS repo
- Published config/nas-file-manager.php with super_admin middleware restriction
- Added NAS env vars to .env.example
- Created admin/nas-storage page with connection info panel and file browser widget
- Added NAS Storage link to admin sidebar (super_admin only)
- Added SuperAdminController@nasStorage method and admin.nas-storage route
- Includes all accumulated branch changes: profile wall, 2FA, audit logs,
  settings panel, country/phone/timezone components, posts, slideshow,
  playlist shares, video downloads/shares, comment likes, notifications,
  social links, and more

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 13:24:32 +03:00

48 lines
1.6 KiB
PHP

@if ($paginator->hasPages())
<nav class="adm-pagination" aria-label="Pagination">
{{-- Prev --}}
@if ($paginator->onFirstPage())
<span class="page-item disabled">
<span class="page-link"><i class="bi bi-chevron-left"></i></span>
</span>
@else
<a class="page-item" href="{{ $paginator->previousPageUrl() }}" rel="prev">
<span class="page-link"><i class="bi bi-chevron-left"></i></span>
</a>
@endif
{{-- Pages --}}
@foreach ($elements as $element)
@if (is_string($element))
<span class="page-item disabled"><span class="page-link">{{ $element }}</span></span>
@endif
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<span class="page-item active" aria-current="page">
<span class="page-link">{{ $page }}</span>
</span>
@else
<a class="page-item" href="{{ $url }}">
<span class="page-link">{{ $page }}</span>
</a>
@endif
@endforeach
@endif
@endforeach
{{-- Next --}}
@if ($paginator->hasMorePages())
<a class="page-item" href="{{ $paginator->nextPageUrl() }}" rel="next">
<span class="page-link"><i class="bi bi-chevron-right"></i></span>
</a>
@else
<span class="page-item disabled">
<span class="page-link"><i class="bi bi-chevron-right"></i></span>
</span>
@endif
</nav>
@endif