tooltip fumetto refresh wip
This commit is contained in:
1 parent
531b4c0dc9
commit
a6fc328669
18 files changed
+123
-39
No files matched your search
@@ -3,16 +3,16 @@
|
||||
<div>{{ $label }}</div>
|
||||
@endforeach
|
||||
<div>Margin</div>
|
||||
<div>Lastcheck</div>
|
||||
<div>Check</div>
|
||||
|
||||
@if($twice)
|
||||
@if ($twice)
|
||||
|
||||
<div></div>
|
||||
<div>Book</div>
|
||||
@foreach ($labels as $label)
|
||||
<div>{{ $label }}</div>
|
||||
@endforeach
|
||||
<div>Margin</div>
|
||||
<div>Lastcheck</div>
|
||||
<div></div>
|
||||
<div>Book</div>
|
||||
@foreach ($labels as $label)
|
||||
<div>{{ $label }}</div>
|
||||
@endforeach
|
||||
<div>Margin</div>
|
||||
<div>Check</div>
|
||||
|
||||
@endif
|
||||
@endif
|
||||
@@ -1,5 +1,18 @@
|
||||
@php
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Carbon;
|
||||
$lastcheck_5min = Carbon::createFromDate($lastcheck)->addMinutes(5);
|
||||
$lastcheck_30min = Carbon::createFromDate($lastcheck)->addMinutes(30);
|
||||
$now = Carbon::now();
|
||||
@endphp
|
||||
|
||||
<div class="text-nowrap text-xs">{{Carbon::createFromDate($lastcheck)->format('d.m H:i')}}</div>
|
||||
@if ($lastcheck_30min->lt($now))
|
||||
<div class="text-xs text-nowrap bg-red-600/20 rounded shadow">
|
||||
{{ Carbon::createFromDate($lastcheck)->format('H:i') }}
|
||||
</div>
|
||||
@elseif ($lastcheck_5min->lt($now))
|
||||
<div class="text-xs text-nowrap bg-blue-600/20 rounded">
|
||||
{{ Carbon::createFromDate($lastcheck)->format('H:i') }}
|
||||
</div>
|
||||
@else
|
||||
<div class="text-xs text-nowrap">{{ Carbon::createFromDate($lastcheck)->format('H:i') }}</div>
|
||||
@endif
|
||||
@@ -1,17 +1,14 @@
|
||||
<div class="mb-0.5 ml-0.5
|
||||
<div
|
||||
class="mb-0.5 ml-0.5
|
||||
|
||||
@if($max)
|
||||
bg-green-600/25 rounded
|
||||
@endif
|
||||
@if ($max) bg-green-600/25 rounded shadow @endif
|
||||
|
||||
@if($min)
|
||||
bg-blue-600/25 rounded
|
||||
@endif
|
||||
@if ($min) bg-blue-600/25 rounded shadow @endif
|
||||
|
||||
">
|
||||
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $dec) }}
|
||||
@endif
|
||||
@if (isset($odd))
|
||||
{{ number_format($odd, $dec) }}
|
||||
@endif
|
||||
|
||||
</div>
|
||||
Reference in new issue
Block a user