c3lf-system-3/templates/dashboard.php

122 lines
4.6 KiB
PHP
Raw Normal View History

2018-12-27 04:24:44 +00:00
<?php
/**
* Created by PhpStorm.
* User: jedi
* Date: 12/27/18
* Time: 4:46 AM
*/
?>
2018-12-27 18:51:29 +00:00
<?php
$stats = get_stats();
?>
2018-12-27 04:24:44 +00:00
2018-12-27 07:27:47 +00:00
<div class="container-fluid">
2018-12-27 04:24:44 +00:00
2018-12-27 07:27:47 +00:00
<!-- Breadcrumbs-->
<ol class="breadcrumb">
2018-12-27 18:51:29 +00:00
<li class="breadcrumb-item active">
2018-12-27 20:59:17 +00:00
<a href="#">Dashboard</a>
2018-12-27 07:27:47 +00:00
</li>
</ol>
2018-12-27 04:24:44 +00:00
2018-12-27 07:27:47 +00:00
<!-- Icon Cards-->
<div class="row">
<div class="col-xl-3 col-sm-6 mb-3">
2018-12-27 18:51:29 +00:00
<div class="card text-white bg-warning o-hidden h-100">
2018-12-27 07:27:47 +00:00
<div class="card-body">
<div class="card-body-icon">
2018-12-27 18:51:29 +00:00
<i class="fas fa-fw fa-list"></i>
2018-12-27 07:27:47 +00:00
</div>
2018-12-27 18:51:29 +00:00
<div class="mr-5"><?php echo $stats["lost"]; ?> Lost Items</div>
2018-12-27 07:27:47 +00:00
</div>
2018-12-30 05:38:05 +00:00
<a class="card-footer text-white clearfix small z-1" href="/lost/">
2018-12-27 07:27:47 +00:00
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
2018-12-27 04:24:44 +00:00
</div>
2018-12-27 07:27:47 +00:00
<div class="col-xl-3 col-sm-6 mb-3">
2018-12-27 18:51:29 +00:00
<div class="card text-white bg-primary o-hidden h-100">
2018-12-27 07:27:47 +00:00
<div class="card-body">
<div class="card-body-icon">
<i class="fas fa-fw fa-list"></i>
</div>
2018-12-27 18:51:29 +00:00
<div class="mr-5"><?php echo $stats["found"]; ?> Found Items</div>
2018-12-27 07:27:47 +00:00
</div>
2018-12-30 05:38:05 +00:00
<a class="card-footer text-white clearfix small z-1" href="/table/">
2018-12-27 07:27:47 +00:00
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
2018-12-27 04:24:44 +00:00
</div>
2018-12-27 07:27:47 +00:00
<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">
2018-12-27 18:51:29 +00:00
<i class="fas fa-fw fa-check"></i>
2018-12-27 07:27:47 +00:00
</div>
2018-12-27 18:51:29 +00:00
<div class="mr-5"><?php echo $stats["match"]; ?> Matched Items</div>
2018-12-27 07:27:47 +00:00
</div>
2018-12-30 05:38:05 +00:00
<a class="card-footer text-white clearfix small z-1" href="/matches/">
2018-12-27 07:27:47 +00:00
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
2018-12-27 04:24:44 +00:00
</div>
2018-12-27 07:27:47 +00:00
<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">
2018-12-27 18:51:29 +00:00
<i class="fas fa-fw fa-comments"></i>
2018-12-27 07:27:47 +00:00
</div>
2018-12-28 11:59:59 +00:00
<div class="mr-5"><?php echo $stats["unmatched"]; ?> Unmatched Items</div>
2018-12-27 07:27:47 +00:00
</div>
2018-12-30 05:38:05 +00:00
<a class="card-footer text-white clearfix small z-1" href="/tinder/">
2018-12-27 07:27:47 +00:00
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
2018-12-27 04:24:44 +00:00
</div>
2018-12-27 07:27:47 +00:00
</div>
2018-12-27 04:24:44 +00:00
2018-12-27 07:27:47 +00:00
<!-- Area Chart Example-->
2018-12-27 20:31:06 +00:00
<!--div class="card mb-3">
2018-12-27 07:27:47 +00:00
<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>
2018-12-27 20:31:06 +00:00
</div-->
2018-12-27 04:24:44 +00:00
2018-12-27 07:27:47 +00:00
</div>
<!-- /.container-fluid -->
2018-12-27 04:24:44 +00:00
<!-- Bootstrap core JavaScript-->
2018-12-27 07:27:47 +00:00
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
2018-12-27 04:24:44 +00:00
<!-- Core plugin JavaScript-->
2018-12-27 07:27:47 +00:00
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
2018-12-27 04:24:44 +00:00
<!-- Page level plugin JavaScript-->
2018-12-27 07:27:47 +00:00
<script src="vendor/chart.js/Chart.min.js"></script>
2018-12-27 04:24:44 +00:00
<!-- Custom scripts for all pages-->
2018-12-27 07:27:47 +00:00
<script src="js/sb-admin.min.js"></script>
2018-12-27 04:24:44 +00:00
<!-- Demo scripts for this page-->
2018-12-27 07:27:47 +00:00
<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>