kuvia/resources/views/dashboard/reports.blade.php
2021-01-21 15:36:33 +01:00

28 lines
935 B
PHP

@extends('layout/template')
@section('content')
<div class="row" style="margin-top: 20px;">
<div class="col-md-12">
<h1>Reports</h1>
</div>
</div>
<div class="row">
<div class="col-md-12">
<ul class="list-group">
@foreach ($avalibleReports as $report)
<li class="list-group-item">
<a href="/s/reports/{{ $report["year"] }}/{{ $report["month"] }}/traffic" class="btn btn-sm btn-outline-primary" style="float: right;">Traffic</a>
<a href="/s/reports/{{ $report["year"] }}/{{ $report["month"] }}/space" class="btn btn-sm btn-outline-primary" style="float: right;margin-right: 5px;">Space</a>
Year: {{ $report["year"] }}<br>
Month: {{ $report["month"] }}
</li>
@endforeach
</ul>
</div>
</div>
@endsection