kopia lustrzana https://github.com/magicbug/Cloudlog
Add icon link to qrz.com page
rodzic
1ba45fe622
commit
4b7ae76baf
|
@ -65,6 +65,10 @@
|
|||
<small id="callsign_info" class="badge badge-secondary"></small> <small id="lotw_info" class="badge badge-light"></small>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<small id="qrz_info" class="badge badge-secondary"></small>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-6">
|
||||
<label for="mode"><?php echo $this->lang->line('gen_hamradio_mode'); ?></label>
|
||||
|
|
|
@ -247,6 +247,7 @@ function reset_fields() {
|
|||
$('#locator_info').text("");
|
||||
$('#country').val("");
|
||||
$('#lotw_info').text("");
|
||||
$('#qrz_info').text("");
|
||||
$('#dxcc_id').val("");
|
||||
$('#cqz').val("");
|
||||
$('#name').val("");
|
||||
|
@ -352,6 +353,7 @@ $("#callsign").focusout(function() {
|
|||
if(result.lotw_member == "active") {
|
||||
$('#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>');
|
||||
|
||||
$('#dxcc_id').val(result.dxcc.adif);
|
||||
$('#cqz').val(result.dxcc.cqz);
|
||||
|
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 36 KiB |
Ładowanie…
Reference in New Issue