Update monitor.blade.php

This commit is contained in:
2020-09-17 15:21:07 +05:00
parent bece63d2d4
commit cce1081704

View File

@@ -5,50 +5,54 @@
</h2> </h2>
</x-slot> </x-slot>
<div class="mt-6 sm:mt-0"> <div class="container mx-auto">
<h2 class="text-2xl font-bold leading-tight text-gray-900"> <div class="mt-6 sm:mt-0">
Total Visitors and Page Views (Last 7 days) <h2 class="text-2xl font-bold leading-tight text-gray-900">
</h2> Total Visitors and Page Views (Last 7 days)
</h2>
<div class="flex flex-col mt-6">
<div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8"> <div class="flex flex-col mt-6">
<div <div class="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8">
class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200"> <div
<table class="min-w-full"> class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200">
<tbody> <table class="min-w-full">
<tr class="bg-white"> <tbody>
<td <tr class="bg-white">
class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900"> <td
Name class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900">
</td> Name
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900"> </td>
Cron <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900">
</td> Cron
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5font-semibold text-gray-900"> </td>
Last Ping <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5font-semibold text-gray-900">
</td> Last Ping
</tr> </td>
@foreach ($tasks as $task) </tr>
<tr class="bg-gray-50"> @foreach ($tasks as $task)
<td <tr class="bg-gray-50">
class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> <td
{{$task->name}} class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
</td> {{$task->name}}
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> </td>
{{$task->cron}} <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
</td> {{$task->cron}}
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> </td>
{{$task->last_ping_at->diffforHumans()}} <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
</td> {{$task->last_ping_at->diffforHumans()}}
</tr> </td>
@endforeach </tr>
@endforeach
</tbody>
</table> </tbody>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</x-app-layout> </x-app-layout>