PHP Classes

File: Modules/Service/Resources/views/services/partials/top-show.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   Modules/Service/Resources/views/services/partials/top-show.blade.php   Download  
File: Modules/Service/Resources/views/services/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: 2 years ago
Size: 2,087 bytes
 

Contents

Class file image Download

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

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

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

    <!-- Column -->
    @if (Auth::user()->can('service.create'))
        <div class="col-md-6 col-lg-3 col-xlg-3 pointer" onclick="location.href='{{ route('admin.services.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 Service</h6>
                </div>
            </div>
        </div>
    @endif

</div>