mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
71 lines
2.1 KiB
Vue
71 lines
2.1 KiB
Vue
<script setup lang="ts">
|
|
import { setConfig } from "../js/api";
|
|
|
|
import { setActivePinia } from "pinia";
|
|
import pinia from "../store/index";
|
|
setActivePinia(pinia);
|
|
|
|
import { settingsStore as settings } from "../store/settingsStore.js";
|
|
</script>
|
|
|
|
<template>
|
|
<div class="input-group input-group-sm mb-1">
|
|
<label class="input-group-text w-50">Enable FSK mode</label>
|
|
<label class="input-group-text w-50">
|
|
<div class="form-check form-switch form-check-inline ms-2">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="fskModeSwitch"
|
|
@change="setConfig"
|
|
v-model="settings.remote.MODEM.enable_fsk"
|
|
disabled
|
|
/>
|
|
<label class="form-check-label" for="fskModeSwitch"
|
|
>not available, yet</label
|
|
>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
<div class="input-group input-group-sm mb-1">
|
|
<label class="input-group-text w-50">Enable MESH protocol</label>
|
|
<label class="input-group-text w-50">
|
|
<div class="form-check form-switch form-check-inline ms-2">
|
|
<input
|
|
class="form-check-input"
|
|
type="checkbox"
|
|
id="enableMeshSwitch"
|
|
@change="setConfig"
|
|
v-model="settings.remote.MESH.enable_protocol"
|
|
/>
|
|
<label class="form-check-label" for="enableMeshSwitch"
|
|
>experimental! REALLY!</label
|
|
>
|
|
</div>
|
|
</label>
|
|
</div>
|
|
<div class="input-group input-group-sm mb-1">
|
|
<label class="input-group-text w-50">Database maintenance</label>
|
|
<label class="input-group-text w-50">
|
|
<button
|
|
class="btn btn-outline-secondary btn-sm w-50"
|
|
id="btnCleanDB"
|
|
type="button"
|
|
disabled
|
|
>
|
|
Clean</button
|
|
>
|
|
<div
|
|
class="spinner-border text-warning invisible"
|
|
role="status"
|
|
id="divCleanDBSpinner"
|
|
></div>
|
|
</label>
|
|
</div>
|
|
<div class="center">
|
|
<div class="badge text-bg-danger">
|
|
<i class="bi bi-shield-exclamation"></i> These options may not work and
|
|
are for experienced users only!
|
|
</div>
|
|
</div>
|
|
</template>
|