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
9d6ced4951
1 changed files with 24 additions and 23 deletions
|
@ -40,26 +40,27 @@ function pushToPing(origin) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getActivityInfo(activityType) {
|
function getActivityInfo(activityType) {
|
||||||
switch (activityType) {
|
switch (activityType) {
|
||||||
case "ARQ_SESSION_INFO":
|
case "ARQ_SESSION_INFO":
|
||||||
return { iconClass: "bi bi-info-circle", description: activityType };
|
return { iconClass: "bi bi-info-circle", description: activityType };
|
||||||
case "ARQ_SESSION_OPEN":
|
case "ARQ_SESSION_OPEN":
|
||||||
return { iconClass: "bi bi-link", description: activityType };
|
return { iconClass: "bi bi-link", description: activityType };
|
||||||
case "ARQ_SESSION_OPEN_ACK":
|
case "ARQ_SESSION_OPEN_ACK":
|
||||||
return { iconClass: "bi bi-link", description: activityType };
|
return { iconClass: "bi bi-link", description: activityType };
|
||||||
case "QRV":
|
case "QRV":
|
||||||
return { iconClass: "bi bi-person-raised-hand", description: activityType };
|
return {
|
||||||
case "CQ":
|
iconClass: "bi bi-person-raised-hand",
|
||||||
return { iconClass: "bi bi-megaphone", description: activityType };
|
description: activityType,
|
||||||
case "BEACON":
|
};
|
||||||
return { iconClass: "bi bi-globe", description: activityType };
|
case "CQ":
|
||||||
default:
|
return { iconClass: "bi bi-megaphone", description: activityType };
|
||||||
return { iconClass: "", description: activityType };
|
case "BEACON":
|
||||||
}
|
return { iconClass: "bi bi-globe", description: activityType };
|
||||||
|
default:
|
||||||
|
return { iconClass: "", description: activityType };
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="card h-100">
|
<div class="card h-100">
|
||||||
|
@ -106,10 +107,10 @@ function pushToPing(origin) {
|
||||||
<td>{{ getMaidenheadDistance(item.gridsquare) }} km</td>
|
<td>{{ getMaidenheadDistance(item.gridsquare) }} km</td>
|
||||||
<td>
|
<td>
|
||||||
<i
|
<i
|
||||||
:class="getActivityInfo(item.activity_type).iconClass"
|
:class="getActivityInfo(item.activity_type).iconClass"
|
||||||
data-bs-toggle="tooltip"
|
data-bs-toggle="tooltip"
|
||||||
:title="getActivityInfo(item.activity_type).description"
|
:title="getActivityInfo(item.activity_type).description"
|
||||||
></i>
|
></i>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ item.snr }}
|
{{ item.snr }}
|
||||||
|
|
Loading…
Reference in a new issue