@extends($data->count() > 0 ?? false ? 'stisla.layouts.app-table' : 'stisla.layouts.app') {{-- @extends('stisla.layouts.app-table') --}} @section('title') {{ $title }} @endsection @section('content') @include('stisla.includes.breadcrumbs.breadcrumb-table')

{{ $title }}

{{ __('Merupakan halaman yang menampilkan kumpulan data ' . $title) }}.

@if (!session('dropbox_access_token'))

Filter Data

@csrf
@include('stisla.includes.forms.inputs.input', [ 'type' => 'text', 'id' => 'client_id', 'required' => true, 'label' => __('Masukkan Client ID'), 'value' => request('client_id', ''), ])
@include('stisla.includes.forms.inputs.input', [ 'type' => 'text', 'id' => 'client_secret', 'required' => true, 'label' => __('Masukkan Client Secret'), 'value' => request('client_secret', ''), ])
@include('stisla.includes.forms.inputs.input', [ 'type' => 'text', 'id' => 'code', 'required' => true, 'label' => __('Masukkan Code'), 'value' => request('code'), ])
@if ($isSuperAdmin ?? false)
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_user', 'name' => 'filter_user', 'label' => __('Pilih Pengguna'), 'options' => $users, 'selected' => request('filter_user'), 'with_all' => true, ])
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_role', 'name' => 'filter_role', 'label' => __('Pilih Role'), 'options' => $roles, 'selected' => request('filter_role'), 'with_all' => true, ])
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_kind', 'name' => 'filter_kind', 'label' => __('Pilih Jenis Aktivitas'), 'options' => $kinds, 'selected' => request('filter_kind'), 'with_all' => true, ])
@endif {{-- @if (count($deviceOptions) > 0)
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_device', 'name' => 'filter_device', 'label' => __('Pilih Device'), 'options' => $deviceOptions, 'selected' => request('filter_device'), 'with_all' => true, ])
@endif @if (count($platformOptions) > 0)
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_platform', 'name' => 'filter_platform', 'label' => __('Pilih Platform'), 'options' => $platformOptions, 'selected' => request('filter_platform'), 'with_all' => true, ])
@endif @if (count($browserOptions) > 0)
@include('stisla.includes.forms.selects.select2', [ 'id' => 'filter_browser', 'name' => 'filter_browser', 'label' => __('Pilih Browser'), 'options' => $browserOptions, 'selected' => request('filter_browser'), 'with_all' => true, ])
@endif --}}
@else

Unggah Berkas

@csrf
@include('stisla.includes.forms.inputs.input', [ 'type' => 'file', 'id' => 'file', 'required' => true, 'label' => __('Unggah Berkas'), ])

Buat Folder

@csrf
@include('stisla.includes.forms.inputs.input', [ 'type' => 'create_folder', 'id' => 'create_folder', 'required' => true, 'label' => __('Buat Folder'), ])
@endif {{-- @if ($data->count() > 0) --}} {{-- @if ($canExport)

{!! __('Aksi Ekspor (Server Side)') !!}

@include('stisla.includes.forms.buttons.btn-pdf-download', ['link' => $routePdf]) @include('stisla.includes.forms.buttons.btn-excel-download', ['link' => $routeExcel]) @include('stisla.includes.forms.buttons.btn-csv-download', ['link' => $routeCsv]) @include('stisla.includes.forms.buttons.btn-print', ['link' => $routePrint]) @include('stisla.includes.forms.buttons.btn-json-download', ['link' => $routeJson])
@endif --}}

{{ $title }}

{{-- @if ($canExport)
{!! __('Aksi Ekspor (Client Side)') !!}
@endif --}} {{-- --}} @foreach ($data as $item) {{-- --}} @endforeach
#..{{ __('.tag') }} {{ __('name') }} {{ __('path_lower') }} {{ __('path_display') }} {{ __('id') }} {{ __('Aksi') }}
{{ $loop->iteration }} @if ($item['.tag'] == 'folder') .. @else .. @endif {{ $item['.tag'] }} {{ $item['name'] }} @if ($item['.tag'] == 'folder') {{ $item['path_lower'] }} @else {{ $item['path_lower'] }} @endif {{ $item['path_display'] }} {{ $item['id'] }} {{-- @if ($canUpdate) @include('stisla.includes.forms.buttons.btn-edit', ['link' => route('student-hahas.edit', [$item->id])]) @endif --}} {{-- @if ($canDelete) --}} @include('stisla.includes.forms.buttons.btn-delete', ['link' => route('dropboxs.destroy', ['id' => $item['id']])]) {{-- @endif --}}
{{-- @else @include('stisla.includes.others.empty-state', [ 'title' => 'Data ' . $title, 'icon' => 'fa fa-clock-rotate-left', 'link' => $routeCreate, 'emptyDesc' => __('Maaf kami tidak dapat menemukan data apa pun'), ]) @endif --}}
@endsection @push('css') @endpush @push('js') @endpush @push('scripts') @endpush @push('modals') @endpush