4 <div v-if="status" class="status" :class="status">
12 import Generic from "./Generic.vue";
29 fetchStatus: async function () {
30 const url = `${this.item.url}`;
34 credentials: "include",
38 throw Error(response.statusText);
40 this.status = "online";
43 this.status = "offline";
50 <style scoped lang="scss">
53 color: var(--text-title);
56 background-color: #94e185;
57 border-color: #78d965;
58 box-shadow: 0 0 5px 1px #94e185;
62 background-color: #c9404d;
63 border-color: #c42c3b;
64 box-shadow: 0 0 5px 1px #c9404d;
69 display: inline-block;
73 border: 1px solid #000;