FreeDATA/gui/src/components/main_top_navbar.vue

27 lines
745 B
Vue
Raw Normal View History

2023-09-10 06:23:40 +00:00
<script setup lang="ts">
2023-10-03 13:15:17 +00:00
import { setActivePinia } from "pinia";
import pinia from "../store/index";
2023-09-10 06:23:40 +00:00
setActivePinia(pinia);
2023-10-03 13:15:17 +00:00
import { useStateStore } from "../store/stateStore.js";
2023-09-10 06:23:40 +00:00
const state = useStateStore(pinia);
2023-11-18 16:12:05 +00:00
import { settingsStore as settings } from "../store/settingsStore.js";
2023-09-10 06:23:40 +00:00
</script>
<template>
2023-10-03 13:15:17 +00:00
<nav class="navbar bg-body-tertiary border-bottom">
<div class="mx-auto">
<span class="badge bg-secondary me-4">
Modem Connection {{ state.modem_connection }}
</span>
<span class="badge bg-secondary me-4">
2023-11-13 17:50:46 +00:00
Modem {{ state.is_modem_running }}
</span>
<span class="badge bg-secondary me-4">
RIG Control {{ state.rigctld_started }}
</span>
2023-10-03 13:15:17 +00:00
</div>
</nav>
2023-10-03 13:15:17 +00:00
</template>