diff --git a/HamAlert/www/css/index.css b/HamAlert/www/css/index.css index 9931da8..58e834d 100644 --- a/HamAlert/www/css/index.css +++ b/HamAlert/www/css/index.css @@ -107,6 +107,9 @@ ons-list-item.spot.daychange { .spotTag.wwff, .spotTag.pota { background: #724b25 !important; } +.spotTag.wwbota { + background: #2c39aa !important; +} .spotTag.pskr { background: #fffd38 !important; color: #000 !important; diff --git a/HamAlert/www/js/app.js b/HamAlert/www/js/app.js index cdf1572..4406651 100644 --- a/HamAlert/www/js/app.js +++ b/HamAlert/www/js/app.js @@ -42,6 +42,13 @@ var spotDetailsMap = { else return [spot.wwffProgram.toUpperCase(), htmlEscape(text)]; }, + wwbotaRef: function(spot) { + var text = spot.wwbotaRef; + if (spot.wwbotaName) { + text += " (" + spot.wwbotaName + ")"; + } + return ['Bunker', htmlEscape(text)]; + }, iotaGroupRef: function(spot) { var text = spot.iotaGroupRef; if (spot.iotaGroupName) { @@ -230,6 +237,9 @@ function formatSpots() { else spotTag = 'wwff'; title += " in " + spot.wwffRef; + } else if (spot.wwbotaRef) { + spotTag = 'wwbota'; + title += " in " + spot.wwbotaRef; } else if (spot.iotaGroupRef) { spotTag = 'iota'; title += " on " + spot.iotaGroupRef;