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="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="-my-2 py-2 overflow-x-auto sm:-mx-6 sm:px-6 lg:-mx-8 lg:px-8">
<div <div
class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200"> class="align-middle inline-block min-w-full shadow overflow-hidden rounded-lg border-b border-gray-200">
<table class="min-w-full"> <table class="min-w-full">
<tbody> <tbody>
<tr class="bg-white"> <tr class="bg-white">
<td <td
class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900"> class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900">
Name Name
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-semibold text-gray-900">
Cron Cron
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5font-semibold text-gray-900"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5font-semibold text-gray-900">
Last Ping Last Ping
</td> </td>
</tr> </tr>
@foreach ($tasks as $task) @foreach ($tasks as $task)
<tr class="bg-gray-50"> <tr class="bg-gray-50">
<td <td
class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900"> class="px-6 py-4 whitespace-no-wrap text-sm leading-5 font-medium text-gray-900">
{{$task->name}} {{$task->name}}
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
{{$task->cron}} {{$task->cron}}
</td> </td>
<td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500"> <td class="px-6 py-4 whitespace-no-wrap text-sm leading-5 text-gray-500">
{{$task->last_ping_at->diffforHumans()}} {{$task->last_ping_at->diffforHumans()}}
</td> </td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
</table> </table>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</x-app-layout> </x-app-layout>