Add restarting indicator to resources
This commit is contained in:
parent
3c623f13e2
commit
6b302ab786
@ -7,7 +7,7 @@ return [
|
|||||||
|
|
||||||
// The release version of your application
|
// The release version of your application
|
||||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
||||||
'release' => '4.0.0-beta.92',
|
'release' => '4.0.0-beta.93',
|
||||||
// When left empty or `null` the Laravel environment will be used
|
// When left empty or `null` the Laravel environment will be used
|
||||||
'environment' => config('app.env'),
|
'environment' => config('app.env'),
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return '4.0.0-beta.92';
|
return '4.0.0-beta.93';
|
||||||
|
@ -46,9 +46,11 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
@if (Str::of(data_get($application, 'status'))->startsWith('running'))
|
@if (Str::of(data_get($application, 'status'))->startsWith('running'))
|
||||||
<div class="absolute bg-green-400 -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>
|
||||||
@elseif (Str::of(data_get($application, 'status'))->startsWith('exited'))
|
@elseif (Str::of(data_get($application, 'status'))->startsWith('exited'))
|
||||||
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
||||||
|
@elseif (Str::of(data_get($application, 'status'))->startsWith('restarting'))
|
||||||
|
<div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>
|
||||||
@endif
|
@endif
|
||||||
</a>
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -60,9 +62,11 @@
|
|||||||
<div class="text-xs text-gray-400 group-hover:text-white">{{ $database->description }}</div>
|
<div class="text-xs text-gray-400 group-hover:text-white">{{ $database->description }}</div>
|
||||||
</div>
|
</div>
|
||||||
@if (Str::of(data_get($database, 'status'))->startsWith('running'))
|
@if (Str::of(data_get($database, 'status'))->startsWith('running'))
|
||||||
<div class="absolute bg-green-400 -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>
|
||||||
@elseif (Str::of(data_get($database, 'status'))->startsWith('exited'))
|
@elseif (Str::of(data_get($database, 'status'))->startsWith('exited'))
|
||||||
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
||||||
|
@elseif (Str::of(data_get($database, 'status'))->startsWith('restaring'))
|
||||||
|
<div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>
|
||||||
@endif
|
@endif
|
||||||
</a>
|
</a>
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -74,9 +78,9 @@
|
|||||||
<div class="text-xs text-gray-400 group-hover:text-white">{{ $service->description }}</div>
|
<div class="text-xs text-gray-400 group-hover:text-white">{{ $service->description }}</div>
|
||||||
</div>
|
</div>
|
||||||
@if (Str::of(serviceStatus($service))->startsWith('running'))
|
@if (Str::of(serviceStatus($service))->startsWith('running'))
|
||||||
<div class="absolute bg-green-400 -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-success -top-1 -left-1 badge badge-xs"></div>
|
||||||
@elseif (Str::of(serviceStatus($service))->startsWith('degraded'))
|
@elseif (Str::of(serviceStatus($service))->startsWith('degraded'))
|
||||||
<div class="absolute bg-yellow-400 -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-warning -top-1 -left-1 badge badge-xs"></div>
|
||||||
@elseif (Str::of(serviceStatus($service))->startsWith('exited'))
|
@elseif (Str::of(serviceStatus($service))->startsWith('exited'))
|
||||||
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
|
||||||
@endif
|
@endif
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"version": "3.12.36"
|
"version": "3.12.36"
|
||||||
},
|
},
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.92"
|
"version": "4.0.0-beta.93"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user