mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 03:32:15 +01:00
Add update lookup and telemetry, Add version and build to app config
This commit is contained in:
committed by
Gregor Vostrak
parent
f147fb9725
commit
2372ee0622
28
resources/views/filament/widgets/server-overview.blade.php
Normal file
28
resources/views/filament/widgets/server-overview.blade.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<x-filament-widgets::widget>
|
||||
<x-filament::section>
|
||||
<div>
|
||||
<span class="text-gray-950 font-bold">Version</span> <span>v{{ $version }}</span><br>
|
||||
<span class="text-gray-950 font-bold">Build</span> {{ $build }}
|
||||
</div>
|
||||
|
||||
@if ($currentVersion !== null)
|
||||
<div class="mt-4 inline-flex items-center justify-center gap-1">
|
||||
@if ($needsUpdate)
|
||||
<span>
|
||||
<x-filament::icon
|
||||
icon="heroicon-o-exclamation-triangle"
|
||||
class="h-5 w-5 text-orange-500 dark:text-orange-400"
|
||||
/>
|
||||
</span>
|
||||
<span>Update available (v{{ $currentVersion }})</span>
|
||||
@else
|
||||
<x-filament::icon
|
||||
icon="heroicon-o-check-circle"
|
||||
class="h-5 w-5 text-green-500 dark:text-green-400"
|
||||
/>
|
||||
<span>Current version</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
</x-filament::section>
|
||||
</x-filament-widgets::widget>
|
||||
Reference in New Issue
Block a user