127 lines
No EOL
4.7 KiB
PHP
127 lines
No EOL
4.7 KiB
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: jedi
|
|
* Date: 12/27/18
|
|
* Time: 4:46 AM
|
|
*/
|
|
?>
|
|
<?php
|
|
$stats = get_stats();
|
|
?>
|
|
<div id="content-wrapper">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<!-- Breadcrumbs-->
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item active">
|
|
<a href="#">Dashboard</a>
|
|
</li>
|
|
</ol>
|
|
|
|
<!-- Icon Cards-->
|
|
<div class="row">
|
|
<div class="col-xl-3 col-sm-6 mb-3">
|
|
<div class="card text-white bg-warning o-hidden h-100">
|
|
<div class="card-body">
|
|
<div class="card-body-icon">
|
|
<i class="fas fa-fw fa-list"></i>
|
|
</div>
|
|
<div class="mr-5"><?php echo $stats["lost"]; ?> Lost Items</div>
|
|
</div>
|
|
<a class="card-footer text-white clearfix small z-1" href="/?page=lost">
|
|
<span class="float-left">View Details</span>
|
|
<span class="float-right">
|
|
<i class="fas fa-angle-right"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-3 col-sm-6 mb-3">
|
|
<div class="card text-white bg-primary o-hidden h-100">
|
|
<div class="card-body">
|
|
<div class="card-body-icon">
|
|
<i class="fas fa-fw fa-list"></i>
|
|
</div>
|
|
<div class="mr-5"><?php echo $stats["found"]; ?> Found Items</div>
|
|
</div>
|
|
<a class="card-footer text-white clearfix small z-1" href="/?page=table">
|
|
<span class="float-left">View Details</span>
|
|
<span class="float-right">
|
|
<i class="fas fa-angle-right"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-3 col-sm-6 mb-3">
|
|
<div class="card text-white bg-success o-hidden h-100">
|
|
<div class="card-body">
|
|
<div class="card-body-icon">
|
|
<i class="fas fa-fw fa-check"></i>
|
|
</div>
|
|
<div class="mr-5"><?php echo $stats["match"]; ?> Matched Items</div>
|
|
</div>
|
|
<a class="card-footer text-white clearfix small z-1" href="/?page=matches">
|
|
<span class="float-left">View Details</span>
|
|
<span class="float-right">
|
|
<i class="fas fa-angle-right"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="col-xl-3 col-sm-6 mb-3">
|
|
<div class="card text-white bg-danger o-hidden h-100">
|
|
<div class="card-body">
|
|
<div class="card-body-icon">
|
|
<i class="fas fa-fw fa-comments"></i>
|
|
</div>
|
|
<div class="mr-5"><?php echo $stats["lost"]+$stats["found"]-2*$stats["matched"]; ?> Unmatched Items</div>
|
|
</div>
|
|
<a class="card-footer text-white clearfix small z-1" href="/?page=tinder">
|
|
<span class="float-left">View Details</span>
|
|
<span class="float-right">
|
|
<i class="fas fa-angle-right"></i>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Area Chart Example-->
|
|
<!--div class="card mb-3">
|
|
<div class="card-header">
|
|
<i class="fas fa-chart-area"></i>
|
|
Area Chart Example</div>
|
|
<div class="card-body">
|
|
<canvas id="myAreaChart" width="100%" height="30"></canvas>
|
|
</div>
|
|
<div class="card-footer small text-muted">Updated yesterday at 11:59 PM</div>
|
|
</div-->
|
|
|
|
</div>
|
|
<!-- /.container-fluid -->
|
|
|
|
|
|
</div>
|
|
<!-- /.content-wrapper -->
|
|
|
|
|
|
|
|
<!-- Bootstrap core JavaScript-->
|
|
<script src="vendor/jquery/jquery.min.js"></script>
|
|
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Core plugin JavaScript-->
|
|
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
|
|
|
|
<!-- Page level plugin JavaScript-->
|
|
<script src="vendor/chart.js/Chart.min.js"></script>
|
|
|
|
<!-- Custom scripts for all pages-->
|
|
<script src="js/sb-admin.min.js"></script>
|
|
|
|
<!-- Demo scripts for this page-->
|
|
<script src="js/demo/chart-area-demo.js"></script>
|
|
<script src="js/demo/chart-bar-demo.js"></script>
|
|
<script src="js/demo/chart-pie-demo.js"></script>
|