Devices view: Remote devices and servers

This commit is contained in:
Jesse Malotaux 2025-03-23 18:22:07 +01:00
parent 6029549cde
commit e9e6f9e798
3 changed files with 135 additions and 0 deletions

View file

@ -0,0 +1,21 @@
<template>
<div id="devices-view" class="panel">
<h1 class="panel__title">
Devices <span class="text-sm">{{ isLocal() ? 'remote' : 'servers' }}</span>
</h1>
<div class="panel__content">
<DeviceOverview v-if="!isLocal()" />
<ServerOverview v-else />
</div>
</div>
</template>
<script setup>
import DeviceOverview from '@/components/devices/DeviceOverview.vue'
import ServerOverview from '@/components/devices/ServerOverview.vue'
import { isLocal } from '@/services/ApiService'
</script>
<style scoped>
@reference "@/assets/main.css";
</style>