[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2024-01-11 02:21:54 +00:00
parent 8e78111b67
commit da881d8bd2
No known key found for this signature in database
GPG key ID: B66B2D63282C190F
4 changed files with 39 additions and 34 deletions

View file

@ -14,7 +14,6 @@ function startStopBeacon() {
setModemBeacon(true); setModemBeacon(true);
} }
} }
</script> </script>
<template> <template>
<div class="fill h-100" style="width: calc(100% - 24px)"> <div class="fill h-100" style="width: calc(100% - 24px)">
@ -23,16 +22,15 @@ function startStopBeacon() {
@click="startStopBeacon" @click="startStopBeacon"
title="Enable/disable periodic beacons" title="Enable/disable periodic beacons"
>Beacon&nbsp; >Beacon&nbsp;
<span class="" role="status" <span
v-bind:class="{ class=""
'spinner-grow spinner-grow-sm': state.beacon_state === true, role="status"
'disabled': state.beacon_state === false, v-bind:class="{
}" 'spinner-grow spinner-grow-sm': state.beacon_state === true,
disabled: state.beacon_state === false,
}"
> >
</span> </span>
</a </a>
>
</div> </div>
</template> </template>

View file

@ -6,16 +6,25 @@ import pinia from "../../store/index";
setActivePinia(pinia); setActivePinia(pinia);
import { settingsStore } from "../../store/settingsStore.js"; import { settingsStore } from "../../store/settingsStore.js";
</script> </script>
<template> <template>
<div class="w-100"> <div class="w-100">
<div class="input-group input-group-sm" style="width: calc(100% - 24px);"> <div class="input-group input-group-sm" style="width: calc(100% - 24px)">
<input
<input type="text" class="form-control" disabled style="min-width: 3em;background-color:transparent;" v-model=settingsStore.remote.STATION.mycall> type="text"
<span class="input-group-text">-</span> class="form-control"
<input type="text" class="form-control" disabled style="min-width: 2em;max-width: 2.5em;background-color:transparent;" v-model=settingsStore.remote.STATION.myssid> disabled
</div> style="min-width: 3em; background-color: transparent"
</div> v-model="settingsStore.remote.STATION.mycall"
/>
<span class="input-group-text">-</span>
<input
type="text"
class="form-control"
disabled
style="min-width: 2em; max-width: 2.5em; background-color: transparent"
v-model="settingsStore.remote.STATION.myssid"
/>
</div>
</div>
</template> </template>

View file

@ -6,8 +6,6 @@ import pinia from "../../store/index";
setActivePinia(pinia); setActivePinia(pinia);
import { settingsStore } from "../../store/settingsStore.js"; import { settingsStore } from "../../store/settingsStore.js";
</script> </script>
<template> <template>
<div <div

View file

@ -11,15 +11,15 @@ function stopAllTransmissions() {
} }
</script> </script>
<template> <template>
<a <a
class="btn btn-outline-danger d-flex border justify-content-center align-items-center object-fill rounded w-100 h-100" class="btn btn-outline-danger d-flex border justify-content-center align-items-center object-fill rounded w-100 h-100"
id="stop_transmission_connection" id="stop_transmission_connection"
data-bs-toggle="tooltip" data-bs-toggle="tooltip"
data-bs-trigger="hover" data-bs-trigger="hover"
data-bs-html="false" data-bs-html="false"
@click="stopAllTransmissions()" @click="stopAllTransmissions()"
title="Abort session and stop transmissions" title="Abort session and stop transmissions"
> >
<i class="bi bi-sign-stop-fill h1"></i> <i class="bi bi-sign-stop-fill h1"></i>
</a> </a>
</template> </template>