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

45 lines
1.7 KiB
PHP
Raw Permalink 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">
2024-08-25 08:26:29 +00:00
<span class="info-box-icon bg-info elevation-1"><i class="fas fa-camera"></i></span>
2019-11-08 12:51:47 +00:00
<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>
2020-01-06 09:01:04 +00:00
<tr><td>Duplicate</td><td>{{ \App\Models\Photo::Duplicates()->count() }}</td></tr>
2019-11-23 01:51:30 +00:00
<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">
2024-08-25 08:26:29 +00:00
<span class="info-box-icon bg-info elevation-1"><i class="fas fa-video"></i></span>
2019-11-08 12:51:47 +00:00
<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>
2020-01-06 09:01:04 +00:00
<tr><td>Duplicate</td><td>{{ \App\Models\Video::Duplicates()->count() }}</td></tr>
2019-11-23 01:51:30 +00:00
<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>