server down screen pt 1
This commit is contained in:
21
src/routes/health-manager/+page.svelte
Normal file
21
src/routes/health-manager/+page.svelte
Normal file
@@ -0,0 +1,21 @@
|
||||
<script>
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
</script>
|
||||
|
||||
<div class="size-full p-4">
|
||||
<div class="flex flex-col gap-4 size-full justify-between">
|
||||
<div class="flex flex-col gap-2">
|
||||
<p class="text-md font-light">Something is not right...</p>
|
||||
<p class="opacity-70 text-3xl font-bold">
|
||||
Seems like the server is inaccessible. Check your network?
|
||||
</p>
|
||||
</div>
|
||||
<button
|
||||
class="btn"
|
||||
onclick={() => {
|
||||
console.log("Retrying server health detection");
|
||||
invoke("restart_app");
|
||||
}}>Try again</button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user