mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 00:07:14 +00:00
Add icon link to qrz.com page
This commit is contained in:
parent
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);
|
||||
|
BIN
images/icons/qrz.com.png
Normal file
BIN
images/icons/qrz.com.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 36 KiB |
Loading…
Reference in New Issue
Block a user