mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
35 lines
766 B
Vue
35 lines
766 B
Vue
<script setup lang="ts">
|
|
import type { Heartbeat } from "@/stores/heartbeat";
|
|
|
|
defineProps<{ watcher: Heartbeat["WATCHER"] }>();
|
|
</script>
|
|
<template>
|
|
<v-col
|
|
cols="12"
|
|
md="4"
|
|
sm="4"
|
|
lg="4"
|
|
:class="{
|
|
'status-item d-flex': true,
|
|
disabled: !watcher?.ENABLED,
|
|
}"
|
|
>
|
|
<v-icon
|
|
:class="watcher?.ENABLED ? 'text-romm-accent-1' : ''"
|
|
:icon="
|
|
watcher?.ENABLED ? 'mdi-file-check-outline' : 'mdi-file-remove-outline'
|
|
"
|
|
/>
|
|
<div class="ml-3">
|
|
<span
|
|
class="font-weight-bold text-body-1"
|
|
:class="watcher?.ENABLED ? 'text-romm-accent-1' : ''"
|
|
>{{ watcher?.TITLE }}</span
|
|
>
|
|
<p class="mt-1">
|
|
{{ watcher?.MESSAGE }}
|
|
</p>
|
|
</div>
|
|
</v-col>
|
|
</template>
|