@extends('stisla.layouts.app-table') @section('title') Dashboard @endsection @section('content')

{{ __('Dashboard') }}

@include('stisla.includes.others.alert-password')

{{ __('Selamat Datang') }}, {{ Auth::user()->name ?? 'Your Name' }}

{{ $_app_description }}

@if (auth_user()->can('Profil')) @endif
@foreach ($widgets ?? range(1, 8) as $item)
route ?? false) onclick="openTo('{{ $item->route }}')" style="cursor: pointer;" @endif> @if (isset($item->bg_color))
@else
@endif

{{ $item->title ?? 'Nama Modul' }}

{{ $item->count ?? $loop->iteration . '00' }}
@endforeach @if ($user->can('Log Aktivitas'))

{{ __('Log Aktivitas Terbaru') }}

@foreach ($logs as $item) @endforeach
# {{ __('Judul') }} {{ __('Jenis') }} {{ __('Request Data') }} {{ __('Before') }} {{ __('After') }} {{ __('IP') }} {{ __('User Agent') }} {{ __('Pengguna') }} {{ __('Role') }} {{ __('Created At') }}
{{ $loop->iteration }} {{ $item->title }} {{ $item->activity_type }} @include('stisla.includes.forms.buttons.btn-primary', [ 'data_target' => '#logModal', 'data_toggle' => 'modal', 'label' => __('Lihat'), 'onclick' => "showLogData(this, '#rd" . $item->id . "');", 'size' => 'sm', ]) @include('stisla.includes.forms.buttons.btn-primary', [ 'data_target' => '#logModal', 'data_toggle' => 'modal', 'label' => __('Lihat'), 'onclick' => "showLogData(this, '#b" . $item->id . "');", 'size' => 'sm', ]) @include('stisla.includes.forms.buttons.btn-primary', [ 'data_target' => '#logModal', 'data_toggle' => 'modal', 'label' => __('Lihat'), 'onclick' => "showLogData(this, '#a" . $item->id . "');", 'size' => 'sm', ]) {{ $item->ip }} {{ $item->user_agent }} {{ $item->user->name }} @foreach ($item->roles as $role) {{ $role }} @endforeach {{ $item->created_at }}
@endif
@endsection @include('stisla.activity-logs.components.script')