diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 9701c613..627ec1cb 100755 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -372,10 +372,15 @@ -
- - - lang->line('qso_sota_ref_helptext'); ?> +
+
+ + + lang->line('qso_sota_ref_helptext'); ?> +
+
+ +
diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index 701ffcf6..8b2a4859 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -78,6 +78,11 @@ $( document ).ready(function() { } }); + $('#sota_ref').change(function(){ + $('#sota_info').html(''); + $('#sota_info').attr('title', 'Lookup '+$('#sota_ref').val()+' summit info on sota.org.uk'); + }); + $('#darc_dok').selectize({ maxItems: 1, closeAfterSelect: true, @@ -249,12 +254,14 @@ function reset_fields() { $('#lotw_info').text(""); $('#qrz_info').text(""); $('#hamqth_info').text(""); + $('#sota_info').text(""); $('#dxcc_id').val(""); $('#cqz').val(""); $('#name').val(""); $('#qth').val(""); $('#locator').val(""); $('#iota_ref').val(""); + $('#sota_ref').val(""); $("#locator").removeClass("workedGrid"); $("#locator").removeClass("newGrid"); $("#callsign").removeClass("workedGrid"); @@ -452,6 +459,7 @@ $("#callsign").focusout(function() { $('#qth').val(""); $('#locator').val(""); $('#iota_ref').val(""); + $('#sota_ref').val(""); $("#locator").removeClass("workedGrid"); $("#locator").removeClass("newGrid"); $("#callsign").removeClass("workedGrid"); diff --git a/images/icons/sota.org.uk.png b/images/icons/sota.org.uk.png new file mode 100644 index 00000000..f47c899e Binary files /dev/null and b/images/icons/sota.org.uk.png differ