Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add restarting indicator to resources

Andras Bacsai6b302ab78611
diff --git a/config/sentry.php b/config/sentry.php
index 4a096757fd..263e642b1f 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// 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
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index d889b7a6c2..1b3ce03c5a 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.92';
+return '4.0.0-beta.93';
diff --git a/resources/views/project/resources.blade.php b/resources/views/project/resources.blade.php
index db8ad2fc80..d268954c62 100644
--- a/resources/views/project/resources.blade.php
+++ b/resources/views/project/resources.blade.php
@@ -46,9 +46,11 @@
</div>
@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'))
<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
</a>
@endforeach
@@ -60,9 +62,11 @@
<div class="text-xs text-gray-400 group-hover:text-white">{{ $database->description }}</div>
</div>
@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'))
<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
</a>
@endforeach
@@ -74,9 +78,9 @@
<div class="text-xs text-gray-400 group-hover:text-white">{{ $service->description }}</div>
</div>
@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'))
- <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'))
<div class="absolute bg-error -top-1 -left-1 badge badge-xs"></div>
@endif
diff --git a/versions.json b/versions.json
index a78a28277a..c4f05a469d 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.92"
+ "version": "4.0.0-beta.93"
}
}
}