flexisip-account-manager/flexiapi/resources/views/admin/statistics/show_day.blade.php
Timothée Jaussoin 4f11deeaf9 Add some basic subscriptions statistics
Move the statistics to a specific Library
Show some subscriptions charts in the admin panel
Inject the browser user agent to the database if available
Split statistics in different view (day/week/month)
Install cron scripts
Update the dependencies
2021-10-05 14:27:23 +02:00

37 lines
No EOL
898 B
PHP

@extends('layouts.account')
@section('breadcrumb')
<li class="breadcrumb-item active" aria-current="page">
Statistics
</li>
@endsection
@section('content')
<ul class="nav justify-content-center">
<li class="nav-item">
<a class="nav-link disabled" href="#">Day</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ route('admin.statistics.show.week') }}">Week</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ route('admin.statistics.show.month') }}">Month</a>
</li>
</ul>
<h2>Statistics</h2>
@include('admin.statistics.parts.legend')
<h3>Day</h3>
<div class="columns">
@foreach ($day as $key => $hour)
<div class="column" data-value="{{ substr($key, -2, 2) }}:00">
@include('admin.statistics.parts.columns', ['slice' => $hour, 'max' => $max_day])
</div>
@endforeach
</div>
@endsection