mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-22 17:52:16 +00:00
Cleaned up Lotw Import
This commit is contained in:
parent
45c2179932
commit
9d6ce9194e
@ -1,28 +1,42 @@
|
||||
<div class="container">
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<?php $this->load->view('layout/messages'); ?>
|
||||
<div class="container lotw">
|
||||
|
||||
<?php echo form_open_multipart('lotw/import');?>
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type="radio" name="lotwimport" id="upload" value="upload" checked /> Upload a file</td>
|
||||
<td>
|
||||
<h1>LOTW Import</h1>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">Import Options</div>
|
||||
<div class="card-body">
|
||||
|
||||
<?php $this->load->view('layout/messages'); ?>
|
||||
|
||||
<?php echo form_open_multipart('lotw/import');?>
|
||||
|
||||
<div class="custom-control custom-radio">
|
||||
<input type="radio" id="lotwimport" name="lotwimport" class="custom-control-input">
|
||||
<label class="custom-control-label" for="lotwimport">Upload a file</label>
|
||||
<p>Upload the Exported ADIF file from LoTW from the <a href="https://p1k.arrl.org/lotwuser/qsos?qsoscmd=adif" target="_blank">Download Report</a> Area, to mark QSOs as confirmed on LOTW.</p>
|
||||
<p><span class="label important">Important</span> Log files must have the file type .adi</p>
|
||||
<input type="file" name="userfile" size="20" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input type="radio" name="lotwimport" id="fetch" value="fetch" /> Pull LoTW data for me</td>
|
||||
<td>
|
||||
<p>Cloudlog will use the LoTW username and password stored in your user profile to download a report from LoTW for you. The report Cloudlog downloads will have all confirmations since your last LoTW confirmation, up until now.</p>
|
||||
<div class="custom-file">
|
||||
<input type="file" class="custom-file-input" id="adiffile" name="userfile" size="20" />
|
||||
<label class="custom-file-label" for="adiffile">Choose file</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p><span class="badge badge-info">Important</span> You must have QSOs in the logbook before this option works, it will not populate your log from empty based on LoTW QSOs yet.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input class="btn primary" type="submit" value="Import" />
|
||||
<br><br>
|
||||
|
||||
</form>
|
||||
<div class="custom-control custom-radio">
|
||||
<input type="radio" name="lotwimport" id="fetch" class="custom-control-input" value="fetch" />
|
||||
<label class="custom-control-label" for="fetch">Pull LoTW data for me</label>
|
||||
</div>
|
||||
|
||||
|
||||
<p class="form-text text-muted">Cloudlog will use the LoTW username and password stored in your user profile to download a report from LoTW for you. The report Cloudlog downloads will have all confirmations since your last LoTW confirmation, up until now.</p>
|
||||
|
||||
<p class="form-text text-muted"><span class="badge badge-info">Important</span> You must have QSOs in the logbook before this option works, it will not populate your log from empty based on LoTW QSOs yet.</p>
|
||||
|
||||
<input class="btn primary" type="submit" value="Import" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
@ -34,6 +34,10 @@
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.adif {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.adif .alert p {
|
||||
margin-bottom: 0rem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user