mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-22 19:22:19 +00:00
23 lines
859 B
PHP
23 lines
859 B
PHP
<x-card>
|
|
<x-slot name="title">{{ __("Installing") }}</x-slot>
|
|
<x-slot name="description">
|
|
{{ __("The server is being installed") }}
|
|
</x-slot>
|
|
<div
|
|
class="relative flex h-6 overflow-hidden rounded bg-primary-200 text-xs dark:bg-primary-500 dark:bg-opacity-10"
|
|
>
|
|
<div
|
|
style="width: {{ $server->progress }}%"
|
|
class="flex flex-col justify-center whitespace-nowrap bg-primary-500 text-center text-white shadow-none"
|
|
></div>
|
|
<span
|
|
class="{{ $server->progress >= 40 ? "text-white" : "text-black dark:text-white" }} absolute left-0 right-0 top-1 text-center font-semibold"
|
|
>
|
|
{{ $server->progress }}%
|
|
</span>
|
|
</div>
|
|
<div class="mt-3 text-center">
|
|
<span class="font-bold">{{ $server->progress_step }}</span>
|
|
</div>
|
|
</x-card>
|