+
-
-
{{ remainingPercentText }}
+
+
+ {{ item.remainingPercentText }}
+
+
+ libre
+
-
{{ usedText }} / {{ totalText }}
+
+ {{ item.usedText }}
+ /
+ {{ item.totalText }}
+
@@ -40,24 +53,69 @@ import BlockSkeleton from "~/components/skeleton/BlockSkeleton.vue"
import TextSkeleton from "~/components/skeleton/TextSkeleton.vue"
defineProps<{
- loading: boolean
- hostName: string
- statusColorClass: string
- chartRadius: number
- chartCircumference: number
- chartOffset: number
- remainingPercentText: string
- usedText: string
- totalText: string
+ item: {
+ loading: boolean
+ hostName: string
+ statusColorClass: string
+ chartRadius: number
+ chartCircumference: number
+ chartOffset: number
+ remainingPercentText: string
+ usedText: string
+ totalText: string
+ }
}>()
diff --git a/components/MessageDiscord.vue b/components/MessageDiscord.vue
index aedb3ec..6c82c53 100644
--- a/components/MessageDiscord.vue
+++ b/components/MessageDiscord.vue
@@ -1,19 +1,108 @@
-
-
-
- Speedtest
+
+
+
+
+
+
+ Aucun message
-
-
-
{{ m.author.username }}
-
{{ m.content }}
+
+
+
+
+
+ {{ m.author.username.charAt(0).toUpperCase() }}
+
+
+
+ {{ m.author.username }}
+
+
+ {{ m.content }}
+
+
+
-
-
-
\ No newline at end of file
+
+
+
diff --git a/components/Speedtest.vue b/components/Speedtest.vue
index c5c766b..582e20e 100644
--- a/components/Speedtest.vue
+++ b/components/Speedtest.vue
@@ -1,103 +1,64 @@
-
-
-
- Speedtest
-
-
+
-
-
-
-
-
-
-
-
- {{ download !== null ? `${download}` : "--" }}
+
+
+
+
-
-
-
-
+
-
+
-
- {{ upload !== null ? `${upload}` : "--" }}
-
-
- Mbps
-
-
-
-
-
-
-
-
+
+
+ {{ metric.value !== null ? metric.value : "--" }}
+
-
- {{ ping !== null ? `${ping}` : "--" }}
-
-
- Ms
-
+ {{ metric.unit }}
+
+
+
diff --git a/components/StatusSite.vue b/components/StatusSite.vue
index 1d34571..507a585 100644
--- a/components/StatusSite.vue
+++ b/components/StatusSite.vue
@@ -1,49 +1,45 @@
-
-
- Status
-
+
+
+
-
-
-
- {{ row.label }}
-
-
-
-
- {{ statusLabel(row.status) }}
+
+
+
+ {{ row.label }}
+
+ {{ statusLabel(row.status) }}
+
+
+
diff --git a/layouts/default.vue b/layouts/default.vue
index 73ecca8..be8768a 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -1,41 +1,223 @@