Skip to content

Commit

Permalink
feat: monitoring UI (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
andre8244 committed Sep 26, 2024
1 parent b7b78cd commit 19a28e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/standalone/monitoring/VpnMonitor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ function getTunnelName(tunnelId: string) {
<!-- connected tunnels -->
<NeCard
:title="t('standalone.real_time_monitor.connected_tunnels')"
class="sm:col-span-12 md:col-span-12 lg:col-span-12 xl:col-span-6 3xl:col-span-4"
class="sm:col-span-6 md:col-span-6 lg:col-span-4 xl:col-span-3 3xl:col-span-3"
>
<SimpleStat class="mt-1">
<span>{{ connectedTunnels.length }}/{{ allTunnels.length }}</span>
Expand All @@ -412,15 +412,15 @@ function getTunnelName(tunnelId: string) {
<ConfiguredTunnelsCard
:tunnels="allTunnels"
:tunnelDevices="tunnelDevices"
class="sm:col-span-12 md:col-span-12 lg:col-span-12 xl:col-span-6 3xl:col-span-4"
class="row-span-2 sm:col-span-12 md:col-span-12 lg:col-span-12 xl:col-span-9 3xl:col-span-5"
></ConfiguredTunnelsCard>
<!-- tunnels traffic -->
<InterfaceTrafficCard
v-for="(tunnelDevice, tunnelId) in tunnelDevices"
:key="tunnelDevice"
:iface="getTunnelName(tunnelId)"
:device="tunnelDevice"
class="sm:col-span-12 md:col-span-12 lg:col-span-12 xl:col-span-6 3xl:col-span-4"
class="row-span-2 sm:col-span-12 md:col-span-12 lg:col-span-12 xl:col-span-6 3xl:col-span-4"
/>
</template>
</div>
Expand Down

0 comments on commit 19a28e8

Please sign in to comment.