4 <div v-if="status" class="status" :class="status">
12 import service from "@/mixins/service.js";
13 import Generic from "./Generic.vue";
31 fetchStatus: async function () {
32 this.fetch("/", { method: "HEAD", cache: "no-cache" }, false)
34 this.status = "online";
37 this.status = "offline";
44 <style scoped lang="scss">
47 color: var(--text-title);
50 background-color: #94e185;
51 border-color: #78d965;
52 box-shadow: 0 0 5px 1px #94e185;
56 background-color: #c9404d;
57 border-color: #c42c3b;
58 box-shadow: 0 0 5px 1px #c9404d;
63 display: inline-block;
67 border: 1px solid #000;