photo/resources/views/widgets/summary/boxes.blade.php

45 lines
1.7 KiB
PHP
Raw Normal View History

2019-11-08 12:51:47 +00:00
<div class="col-12 col-sm-6 col-md-3">
2019-11-23 01:51:30 +00:00
<div class="info-box bg-gradient-info">
2019-11-08 12:51:47 +00:00
<span class="info-box-icon bg-info elevation-1"><i class="fa fa-camera"></i></span>
<div class="info-box-content">
<span class="info-box-text">Photos</span>
<span class="info-box-number">{{ \App\Models\Photo::count() }}</span>
2019-11-23 01:51:30 +00:00
<div class="progress">
<span class="progress-bar" style="width: 100%"></span>
</div>
<span class="progress-description">
<table class="table table-borderless table-sm small">
<tr><td>To Scan</td><td>{{ \App\Models\Photo::NotScanned()->count() }}</td></tr>
<tr><td>Duplicate</td><td>{{ \App\Models\Photo::where('duplicate',TRUE)->count() }}</td></tr>
<tr><td>To Delete</td><td>{{ \App\Models\Photo::where('remove',TRUE)->count() }}</td></tr>
</table>
</span>
2019-11-08 12:51:47 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<div class="col-12 col-sm-6 col-md-3">
2019-11-23 01:51:30 +00:00
<div class="info-box bg-gradient-info">
2019-11-08 12:51:47 +00:00
<span class="info-box-icon bg-info elevation-1"><i class="fa fa-video-camera"></i></span>
<div class="info-box-content">
<span class="info-box-text">Videos</span>
<span class="info-box-number">{{ \App\Models\Video::count() }}</span>
2019-11-23 01:51:30 +00:00
<div class="progress">
<span class="progress-bar" style="width: 100%"></span>
</div>
<span class="progress-description">
<table class="table table-borderless table-sm small">
<tr><td>To Scan</td><td>{{ \App\Models\Video::NotScanned()->count() }}</td></tr>
<tr><td>Duplicate</td><td>{{ \App\Models\Video::where('duplicate',TRUE)->count() }}</td></tr>
<tr><td>To Delete</td><td>{{ \App\Models\Video::where('remove',TRUE)->count() }}</td></tr>
</table>
</span>
2019-11-08 12:51:47 +00:00
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>