kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
add POTA checkbox and defaults, empty hunt POTA in processRosterHunting needs fleshed out
rodzic
14c8c6ed18
commit
aee8c8bb97
|
@ -170,6 +170,11 @@
|
|||
<div>
|
||||
<label><input type="checkbox" id="huntPX" onchange="wantedChanged(this);" /> WPX</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Parks On The Air">
|
||||
<input type="checkbox" id="huntPOTA" onchange="wantedChanged(this);" /> POTA
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label title="Off-Air Message Service Users">
|
||||
<input type="checkbox" id="huntOAMS" onchange="wantedChanged(this);" /> OAMS
|
||||
|
|
|
@ -100,6 +100,7 @@ var g_defaultSettings = {
|
|||
huntCounty: false,
|
||||
huntCont: false,
|
||||
huntPX: false,
|
||||
huntPOTA: false,
|
||||
huntQRZ: true,
|
||||
huntOAMS: false
|
||||
},
|
||||
|
@ -112,6 +113,7 @@ var g_defaultSettings = {
|
|||
Flag: true,
|
||||
State: true,
|
||||
County: true,
|
||||
POTA: false,
|
||||
Cont: true,
|
||||
dB: true,
|
||||
Freq: false,
|
||||
|
|
|
@ -427,6 +427,12 @@ function processRosterHunting(callRoster, rosterSettings)
|
|||
}
|
||||
}
|
||||
|
||||
// Hunting for POTAs
|
||||
if (huntPOTA.checked == true && g_mapSettings.offlineMode == false)
|
||||
{
|
||||
// find and highlight POTAs
|
||||
}
|
||||
|
||||
// Hunting for CQ Zones
|
||||
if (huntCQz.checked == true)
|
||||
{
|
||||
|
@ -666,6 +672,7 @@ function processRosterHunting(callRoster, rosterSettings)
|
|||
colorObject.dxcc = "style='" + dxccConf + "background-color:" + dxccBg + ";color:" + dxcc + "'";
|
||||
colorObject.state = "style='" + stateConf + "background-color:" + stateBg + ";color:" + state + "'";
|
||||
colorObject.cnty = "style='" + cntyConf + "background-color:" + cntyBg + ";color:" + cnty + "'";
|
||||
colorObject.pota = "style='" + potoConf + "background-color:" + potoBg + ";color:" + poto + "'";
|
||||
colorObject.cont = "style='" + contConf + "background-color:" + contBg + ";color:" + cont + "'";
|
||||
colorObject.cqz = "style='" + cqzConf + "background-color:" + cqzBg + ";color:" + cqz + "'";
|
||||
colorObject.ituz = "style='" + ituzConf + "background-color:" + ituzBg + ";color:" + ituz + "'";
|
||||
|
|
Ładowanie…
Reference in New Issue