mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Add icon link to qrz.com page
This commit is contained in:
@@ -65,6 +65,10 @@
|
|||||||
<small id="callsign_info" class="badge badge-secondary"></small> <small id="lotw_info" class="badge badge-light"></small>
|
<small id="callsign_info" class="badge badge-secondary"></small> <small id="lotw_info" class="badge badge-light"></small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<small id="qrz_info" class="badge badge-secondary"></small>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
<label for="mode"><?php echo $this->lang->line('gen_hamradio_mode'); ?></label>
|
<label for="mode"><?php echo $this->lang->line('gen_hamradio_mode'); ?></label>
|
||||||
|
|||||||
@@ -247,6 +247,7 @@ function reset_fields() {
|
|||||||
$('#locator_info').text("");
|
$('#locator_info').text("");
|
||||||
$('#country').val("");
|
$('#country').val("");
|
||||||
$('#lotw_info').text("");
|
$('#lotw_info').text("");
|
||||||
|
$('#qrz_info').text("");
|
||||||
$('#dxcc_id').val("");
|
$('#dxcc_id').val("");
|
||||||
$('#cqz').val("");
|
$('#cqz').val("");
|
||||||
$('#name').val("");
|
$('#name').val("");
|
||||||
@@ -352,6 +353,7 @@ $("#callsign").focusout(function() {
|
|||||||
if(result.lotw_member == "active") {
|
if(result.lotw_member == "active") {
|
||||||
$('#lotw_info').text("LoTW");
|
$('#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);
|
$('#dxcc_id').val(result.dxcc.adif);
|
||||||
$('#cqz').val(result.dxcc.cqz);
|
$('#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 |
Reference in New Issue
Block a user