~xdavidwu/uptime-monitor

b4612e8800c657d37e21e5f5c2425465f5e234b9 — xdavidwu 1 year, 6 months ago 9c7a0bb
increase time slot size to 60 mins
2 files changed, 2 insertions(+), 2 deletions(-)

M app/Http/Controllers/UptimeController.php
M resources/views/uptime.blade.php
M app/Http/Controllers/UptimeController.php => app/Http/Controllers/UptimeController.php +1 -1
@@ 13,7 13,7 @@ class UptimeController extends Controller
    {
        $to = Carbon::now();
        $from = Carbon::now()->subDays(7);
        $timeslot = CarbonInterval::minutes(90);
        $timeslot = CarbonInterval::minutes(60);
        $instances = ProbeInstance::all();
        $data = [];
        foreach ($instances as $instance) {

M resources/views/uptime.blade.php => resources/views/uptime.blade.php +1 -1
@@ 59,7 59,7 @@
                display: grid;
                column-gap: 1%;
                row-gap: 2px;
                grid-template-rows: repeat(4, 1fr);
                grid-template-rows: repeat(6, 1fr);
                grid-auto-flow: column;
                margin: 4px 0;
            }