fixed lotw import style

这个提交包含在:
HB9HIL 2023-11-25 11:12:21 +01:00
父节点 ac0e3b7bc3
当前提交 823c44bfc1

查看文件

@ -2,67 +2,62 @@
<h2><?php echo lang('lotw_title'); ?> - <?php echo lang('lotw_title_adif_import'); ?></h2> <h2><?php echo lang('lotw_title'); ?> - <?php echo lang('lotw_title_adif_import'); ?></h2>
<div class="card"> <div class="card">
<div class="card-header"><?php echo lang('lotw_title_adif_import_options'); ?></div> <div class="card-header"><?php echo lang('lotw_title_adif_import_options'); ?></div>
<div class="card-body"> <div class="card-body">
<?php $this->load->view('layout/messages'); ?> <?php $this->load->view('layout/messages'); ?>
<?php echo form_open_multipart('lotw/import');?> <?php echo form_open_multipart('lotw/import'); ?>
<div class="form-check"> <div class="form-check">
<input type="radio" id="lotwimport" name="lotwimport" class="form-check-input"> <input type="radio" id="lotwimport" name="lotwimport" class="form-check-input">
<label class="form-check-label" for="lotwimport"><?php echo lang('lotw_input_a_file'); ?></label> <label class="form-check-label" for="lotwimport"><?php echo lang('lotw_input_a_file'); ?></label>
<br><br>
<p><?php echo lang('lotw_upload_exported_adif_file_from_lotw'); ?></p>
<p><span class="badge text-bg-info"><?php echo lang('general_word_important'); ?></span> <?php echo lang('lotw_upload_type_must_be_adi'); ?></p>
<p><?php echo lang('lotw_upload_exported_adif_file_from_lotw'); ?></p> <label class="visually-hidden" for="adiffile"><?php echo lang('general_word_choose_file'); ?></label>
<p><span class="badge text-bg-info"><?php echo lang('general_word_important'); ?></span> <?php echo lang('lotw_upload_type_must_be_adi'); ?></p> <input type="file" class="file-input mb-2 me-sm-2" id="adiffile" name="userfile" size="20" />
<div class="custom-file">
<input type="file" class="form-control" id="adiffile" name="userfile" size="20" />
<label class="form-label" for="adiffile"><?php echo lang('general_word_choose_file'); ?></label>
</div> </div>
<br><br> <br><br>
<div>
<br><br> <div class="form-check">
<input type="radio" name="lotwimport" id="fetch" class="form-check-input" value="fetch" checked="checked" />
<div class="form-check"> <label class="form-check-label" for="fetch"><?php echo lang('lotw_pull_lotw_data_for_me'); ?></label>
<input type="radio" name="lotwimport" id="fetch" class="form-check-input" value="fetch" checked="checked" /> <br><br>
<label class="form-check-label" for="fetch"><?php echo lang('lotw_pull_lotw_data_for_me'); ?></label> <p class="card-text"><?php echo lang('gen_from_date'); ?>:</p>
</div> <div class="row">
<div class="col-md-3">
<p class="card-text"><?php echo lang('gen_from_date'); ?>:</p> <input name="from" id="from" type="date" class="form-control w-auto">
<div class="row"> </div>
<div class="col-md-3">
<input name="from" id="from" type="date" class="form-control w-auto">
</div> </div>
</div> <br />
<br/> <div class="row">
<div class="row"> <div class="col-md-3">
<div class="col-md-4"> <label class="form-check-label" for="callsign"><?php echo lang('lotw_select_callsign'); ?></label>
<label class="form-check-label" for="callsign"><?php echo lang('lotw_select_callsign'); ?></label> <?php
<?php $options = [];
$options = []; foreach ($callsigns->result() as $call) {
foreach ($callsigns->result() as $call) { $options[$call->callsign] = $call->callsign;
$options[$call->callsign] = $call->callsign; }
} ksort($options);
ksort($options); array_unshift($options, 'All');
array_unshift($options, 'All'); echo form_dropdown('callsign', $options, 'All');
echo form_dropdown('callsign', $options, 'All'); ?>
?> </div>
</div> </div>
</div> <br />
<br />
<p class="form-text text-muted"><?php echo lang('lotw_report_download_overview_helptext'); ?></p> <p class="form-text text-muted"><?php echo lang('lotw_report_download_overview_helptext'); ?></p>
</div>
<input class="btn btn-primary" type="submit" value="<?php echo lang('lotw_btn_import_matches'); ?>" />
</form>
</div>
</div> </div>
<input class="btn btn-primary" type="submit" value="<?php echo lang('lotw_btn_import_matches'); ?>" /> </div>
</form>
</div>
</div>
</div>