PHP Classes

File: resources/views/backend/pages/admins/partials/top-show.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   resources/views/backend/pages/admins/partials/top-show.blade.php   Download  
File: resources/views/backend/pages/admins/partials/top-show.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 1 year ago
Size: 1,986 bytes
 

Contents

Class file image Download

<!-- ============================================================== -->
<!-- Top Show Data of User List Page -->
<!-- ============================================================== -->
<div class="row mt-1">
    <!-- Column -->
    <div class="col-md-6 col-lg-3 col-xlg-3 pointer" onclick="location.href='{{ route('admin.admins.index') }}'">
        <div class="card card-hover">
            <div class="box bg-info text-center">
                <h1 class="font-light text-white">{{ $count_admins }}</h1>
                <h6 class="text-white">Total Users</h6>
            </div>
        </div>
    </div>

    <!-- Column -->
    <div class="col-md-6 col-lg-3 col-xlg-3 pointer" onclick="location.href='{{ route('admin.admins.index') }}'">
        <div class="card card-hover">
            <div class="box bg-success text-center">
                <h1 class="font-light text-white">{{ $count_active_admins }}</h1>
                <h6 class="text-white">Active Users</h6>
            </div>
        </div>
    </div>

    <!-- Column -->
    <div class="col-md-6 col-lg-3 col-xlg-3 pointer" onclick="location.href='{{ route('admin.admins.trashed') }}'">
        <div class="card card-hover">
            <div class="box bg-primary text-center">
                <h1 class="font-light text-white">{{ $count_admins - $count_active_admins }} / {{ $count_trashed_admins }} </h1>
                <h6 class="text-white">Inactive/Trashed Users</h6>
            </div>
        </div>
    </div>

    @if (Auth::user()->can('user.create'))
    <div class="col-md-6 col-lg-3 col-xlg-3 pointer" onclick="location.href='{{ route('admin.admins.create') }}'">
        <div class="card card-hover">
            <div class="box bg-info text-center">
                <h1 class="font-light text-white">
                    <i class="fa fa-plus-circle"></i>
                </h1>
                <h6 class="text-white">Create New User</h6>
            </div>
        </div>
    </div>
    @endif

</div>