mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
12c77d5c4c
5 changed files with 378 additions and 416 deletions
|
@ -15,13 +15,8 @@ import Dynamic_components from "./dynamic_components.vue";
|
||||||
import { getFreedataMessages } from "../js/api";
|
import { getFreedataMessages } from "../js/api";
|
||||||
import { getRemote } from "../store/settingsStore.js";
|
import { getRemote } from "../store/settingsStore.js";
|
||||||
import { loadAllData } from "../js/eventHandler";
|
import { loadAllData } from "../js/eventHandler";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<!-------------------------------- INFO TOASTS ---------------->
|
<!-------------------------------- INFO TOASTS ---------------->
|
||||||
<div aria-live="polite" aria-atomic="true" class="position-relative z-3">
|
<div aria-live="polite" aria-atomic="true" class="position-relative z-3">
|
||||||
|
@ -31,24 +26,22 @@ import { loadAllData } from "../js/eventHandler";
|
||||||
></div>
|
></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<!-- Collapsible Left Navbar -->
|
||||||
<!-- Collapsible Left Navbar -->
|
<div class="col-auto p-0 bg-body-secondary border-end">
|
||||||
<div class="col-auto p-0 bg-body-secondary border-end">
|
|
||||||
<div class="flex-shrink-0 p-3">
|
<div class="flex-shrink-0 p-3">
|
||||||
<div class="collapse collapse-horizontal show" id="collapseLeftNavbar">
|
<div
|
||||||
|
class="collapse collapse-horizontal show"
|
||||||
|
id="collapseLeftNavbar"
|
||||||
|
>
|
||||||
<main_left_navbar />
|
<main_left_navbar />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="col min-vh-100 m-0 p-0">
|
<div class="col min-vh-100 m-0 p-0">
|
||||||
<!--
|
<!--
|
||||||
<main_top_navbar />
|
<main_top_navbar />
|
||||||
-->
|
-->
|
||||||
<div class="tab-content" id="nav-tabContent-settings">
|
<div class="tab-content" id="nav-tabContent-settings">
|
||||||
|
@ -57,9 +50,7 @@ import { loadAllData } from "../js/eventHandler";
|
||||||
id="list-home"
|
id="list-home"
|
||||||
role="tabpanel"
|
role="tabpanel"
|
||||||
aria-labelledby="list-home-list"
|
aria-labelledby="list-home-list"
|
||||||
>
|
></div>
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="tab-pane fade d-none"
|
class="tab-pane fade d-none"
|
||||||
|
@ -70,7 +61,6 @@ import { loadAllData } from "../js/eventHandler";
|
||||||
<mesh />
|
<mesh />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="tab-pane fade show active"
|
class="tab-pane fade show active"
|
||||||
id="list-grid"
|
id="list-grid"
|
||||||
|
@ -89,13 +79,10 @@ import { loadAllData } from "../js/eventHandler";
|
||||||
<chat />
|
<chat />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<settings_view />
|
<settings_view />
|
||||||
<main_footer_navbar />
|
<main_footer_navbar />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!---------------------------------------------------------------------- FOOTER AREA ------------------------------------------------------------>
|
<!---------------------------------------------------------------------- FOOTER AREA ------------------------------------------------------------>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -8,9 +8,7 @@ const state = useStateStore(pinia);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav
|
<nav class="navbar navbar-expand-xl bg-body-tertiary border-top p-2">
|
||||||
class="navbar navbar-expand-xl bg-body-tertiary border-top p-2"
|
|
||||||
>
|
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="btn-toolbar" role="toolbar">
|
<div class="btn-toolbar" role="toolbar">
|
||||||
<div class="btn-group btn-group-sm me-1" role="group">
|
<div class="btn-group btn-group-sm me-1" role="group">
|
||||||
|
@ -173,10 +171,7 @@ const state = useStateStore(pinia);
|
||||||
type="button"
|
type="button"
|
||||||
title="Bytes transfered"
|
title="Bytes transfered"
|
||||||
>
|
>
|
||||||
<i
|
<i class="bi bi-file-earmark-binary" style="font-size: 1rem"></i>
|
||||||
class="bi bi-file-earmark-binary"
|
|
||||||
style="font-size: 1rem"
|
|
||||||
></i>
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
@ -201,10 +196,7 @@ const state = useStateStore(pinia);
|
||||||
data-bs-html="true"
|
data-bs-html="true"
|
||||||
data-bs-title="Current or last connected with station"
|
data-bs-title="Current or last connected with station"
|
||||||
>
|
>
|
||||||
<i
|
<i class="bi bi-file-earmark-binary" style="font-size: 1rem"></i>
|
||||||
class="bi bi-file-earmark-binary"
|
|
||||||
style="font-size: 1rem"
|
|
||||||
></i>
|
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
|
@ -223,10 +215,7 @@ const state = useStateStore(pinia);
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-4">
|
<div class="col-lg-4">
|
||||||
<div style="margin-right: 2px">
|
<div style="margin-right: 2px">
|
||||||
<div
|
<div class="progress w-100" style="height: 20px; min-width: 200px">
|
||||||
class="progress w-100"
|
|
||||||
style="height: 20px; min-width: 200px"
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
class="progress-bar progress-bar-striped bg-primary force-gpu"
|
class="progress-bar progress-bar-striped bg-primary force-gpu"
|
||||||
id="transmission_progress"
|
id="transmission_progress"
|
||||||
|
@ -269,5 +258,4 @@ const state = useStateStore(pinia);
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,28 +1,25 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from 'vue';
|
import { ref } from "vue";
|
||||||
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
import main_modem_healthcheck from "./main_modem_healthcheck.vue";
|
||||||
import { getOverallHealth } from "../js/eventHandler.js";
|
import { getOverallHealth } from "../js/eventHandler.js";
|
||||||
|
|
||||||
|
|
||||||
const isTextVisible = ref(false); // Initially, the text is invisible
|
const isTextVisible = ref(false); // Initially, the text is invisible
|
||||||
function toggleTextVisibility() {
|
function toggleTextVisibility() {
|
||||||
isTextVisible.value = !isTextVisible.value; // Toggle the visibility
|
isTextVisible.value = !isTextVisible.value; // Toggle the visibility
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
|
|
||||||
<!-- Button -->
|
<!-- Button -->
|
||||||
|
|
||||||
<div class="btn-group" role="group" aria-label="Basic example">
|
<div class="btn-group" role="group" aria-label="Basic example">
|
||||||
|
<button
|
||||||
<button class="btn btn-outline-secondary border-0 ms-2 mb-3" type="button" @click="toggleTextVisibility()">
|
class="btn btn-outline-secondary border-0 ms-2 mb-3"
|
||||||
<span class=" fw-semibold"><i class="bi bi-text-paragraph"></i></span>
|
type="button"
|
||||||
|
@click="toggleTextVisibility()"
|
||||||
|
>
|
||||||
|
<span class="fw-semibold"><i class="bi bi-text-paragraph"></i></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class="btn border btn-outline-secondary list-group-item rounded-3"
|
class="btn border btn-outline-secondary list-group-item rounded-3"
|
||||||
|
@ -39,7 +36,6 @@ function toggleTextVisibility() {
|
||||||
"
|
"
|
||||||
><i class="h3 bi bi-activity"></i>
|
><i class="h3 bi bi-activity"></i>
|
||||||
<span class="ms-2" v-if="isTextVisible">Healtcheck</span>
|
<span class="ms-2" v-if="isTextVisible">Healtcheck</span>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
@ -48,9 +44,7 @@ function toggleTextVisibility() {
|
||||||
role="tablist"
|
role="tablist"
|
||||||
style="margin-top: 100px"
|
style="margin-top: 100px"
|
||||||
@click="loadAllData"
|
@click="loadAllData"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
||||||
<a
|
<a
|
||||||
class="list-group-item list-group-item-dark list-group-item-action border-0 rounded-3 mb-2 active"
|
class="list-group-item list-group-item-dark list-group-item-action border-0 rounded-3 mb-2 active"
|
||||||
id="list-grid-list"
|
id="list-grid-list"
|
||||||
|
@ -103,6 +97,5 @@ function toggleTextVisibility() {
|
||||||
<i class="bi bi-gear-wide-connected h3"></i>
|
<i class="bi bi-gear-wide-connected h3"></i>
|
||||||
<span class="ms-2" v-if="isTextVisible">Settings</span>
|
<span class="ms-2" v-if="isTextVisible">Settings</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
<template>
|
<template></template>
|
||||||
</template>
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<nav>
|
<nav>
|
||||||
<div class="nav nav-tabs" id="nav-tab-mesh" role="tablist-mesh">
|
<div class="nav nav-tabs" id="nav-tab-mesh" role="tablist-mesh">
|
||||||
|
@ -117,11 +116,7 @@
|
||||||
aria-label="Input group"
|
aria-label="Input group"
|
||||||
aria-describedby="btnGroupAddon"
|
aria-describedby="btnGroupAddon"
|
||||||
/>
|
/>
|
||||||
<button
|
<button id="transmit_mesh_ping" type="button" class="btn btn-primary">
|
||||||
id="transmit_mesh_ping"
|
|
||||||
type="button"
|
|
||||||
class="btn btn-primary"
|
|
||||||
>
|
|
||||||
mesh ping
|
mesh ping
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue