Added hamqth.com and some tooltips

pull/1342/head
phl0 2021-12-19 22:07:51 +01:00 zatwierdzone przez Peter Goodhall
rodzic a292ce2b28
commit 8d6466334b
3 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -60,13 +60,14 @@
<!-- Callsign Input -->
<div class="form-row">
<div class="form-group col-md-9">
<div class="form-group col-md-7">
<label for="callsign"><?php echo $this->lang->line('gen_hamradio_callsign'); ?></label>
<input type="text" class="form-control" id="callsign" name="callsign" required>
<small id="callsign_info" class="badge badge-secondary"></small> <small id="lotw_info" class="badge badge-light"></small>
</div>
<div class="form-group col-md-1 align-self-center">
<div class="form-group col-md-3 align-self-center">
<small id="qrz_info" class="badge badge-secondary"></small>
<small id="hamqth_info" class="badge badge-secondary"></small>
</div>
</div>

Wyświetl plik

@ -248,6 +248,7 @@ function reset_fields() {
$('#country').val("");
$('#lotw_info').text("");
$('#qrz_info').text("");
$('#hamqth_info').text("");
$('#dxcc_id').val("");
$('#cqz').val("");
$('#name').val("");
@ -354,6 +355,9 @@ $("#callsign").focusout(function() {
$('#lotw_info').text("LoTW");
}
$('#qrz_info').html('<a target="_blank" href="https://www.qrz.com/db/'+find_callsign+'"><img width="32" height="32" src="/images/icons/qrz.com.png"></a>');
$('#qrz_info').attr('title', 'Lookup '+find_callsign+' info on qrz.com');
$('#hamqth_info').html('<a target="_blank" href="https://www.hamqth.com/'+find_callsign+'"><img width="32" height="32" src="/images/icons/hamqth.com.png"></a>');
$('#hamqth_info').attr('title', 'Lookup '+find_callsign+' info on hamqth.com');
$('#dxcc_id').val(result.dxcc.adif);
$('#cqz').val(result.dxcc.cqz);

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 36 KiB