Merge pull request #2608 from HB9HIL/kml-export-dateinput-style

KML, DX Atlas, SOTA Export  - Style synced and translation
This commit is contained in:
Peter Goodhall
2023-10-24 16:51:25 +01:00
committed by GitHub
20 changed files with 428 additions and 137 deletions

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,23 @@ $lang['export_kml_description'] = "Exportiere dein Logbuch als KML Datei um dies
$lang['export_kml_grisquare_warning'] = "Nur QSO mit einem definierten Planquadrat werden auch exportiert!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Exportiere dein Logbuch nach DX Atlas um gearbeitete und bestätigte Planquadrate anzuzeigen.";
$lang['export_dxatlas_gridsquare_warning'] = "Nur QSO mit einem definierten Planquadrat werden auch exportiert!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Exportiere dein Logbuch um es in SOTA hochzuladen.";
$lang['export_sota_info_warning'] = "Es werden nur QSO exportiert, welche SOTA Informationen enthalten!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -13,5 +13,24 @@ $lang['export_kml_description'] = "Export your logbook to a KML file for use in
$lang['export_kml_grisquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
DX Atlas Export
___________________________________________________________________________________________
*/
$lang['export_dxatlas_header'] = "DX Atlas Export";
$lang['export_dxatlas_description'] = "Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.";
$lang['export_dxatlas_gridsquare_warning'] = "Only QSOs with a gridsquare defined will be exported!";
/*
___________________________________________________________________________________________
SOTA Export
___________________________________________________________________________________________
*/
$lang['export_sota_header'] = "SOTA CSV Export";
$lang['export_sota_description'] = "Export your logbook for SOTA uploads.";
$lang['export_sota_info_warning'] = "Only QSOs with SOTA information will be exported!";

View File

@@ -1,14 +1,14 @@
<div class="container">
<br>
<h2><?php echo $page_title; ?></h2>
<h2><?php echo lang('export_sota_header'); ?></h2>
<div class="card">
<div class="card-header">
Export your logbook for SOTA uploads.
<?php echo lang('export_sota_description'); ?>
</div>
<div class="alert alert-warning" role="alert">
Only QSOs with SOTA information will be exported!
<?php echo lang('export_sota_info_warning'); ?>
</div>
<div class="card-body">
@@ -18,9 +18,9 @@
<div class="form-group col-md-3">
<label for="station_profile"><?php echo lang('cloudlog_station_profile'); ?></label>
<select name="station_profile" class="station_id custom-select">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php foreach ($station_profile->result() as $station) { ?>
<option value="<?php echo $station->station_id; ?>">Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
<option value="<?php echo $station->station_id; ?>"><?php echo lang('gen_hamradio_callsign') . ": "; ?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
<?php } ?>
</select>
</div>
@@ -28,9 +28,9 @@
<div class="form-row">
<div class="form-group col-md-3">
<label for="band">Band</label>
<label for="band"><?php echo lang('gen_hamradio_band'); ?></label>
<select id="band" name="band" class="custom-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> >Every band</option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -39,9 +39,9 @@
</select>
</div>
<div class="form-group col-md-3">
<label for="mode">Mode</label>
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-control custom-select">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -55,12 +55,16 @@
</div>
<div class="form-group col-md-4">
<label for="dxcc_id">DXCC</label>
<label for="dxcc_id"><?php echo lang('gen_hamradio_dxcc'); ?></label>
<select class="custom-select" id="dxcc_id" name="dxcc_id">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($dxcc as $d){
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower(($d->name))) . '</option>';
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower($d->name), "- (/");
if ($d->Enddate != null) {
echo ' ('.lang('gen_hamradio_deleted_dxcc').')';
}
echo '</option>';
}
?>
@@ -73,9 +77,9 @@
<div class="form-row">
<div class="form-group col-md-3">
<label for="cqz">CQ Zone</label>
<label for="cqz"><?php echo lang('gen_hamradio_cq_zone'); ?></label>
<select class="custom-select" id="cqz" name="cqz">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
for ($i = 1; $i<=40; $i++) {
echo '<option value="'. $i . '">'. $i .'</option>';
@@ -85,9 +89,9 @@
</div>
<div class="form-group col-md-5">
<label for="selectPropagation">Propagation Mode</label>
<label for="selectPropagation"><?php echo lang('gen_hamradio_propagation_mode'); ?></label>
<select class="custom-select" id="selectPropagation" name="prop_mode">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<option value="AS">Aircraft Scatter</option>
<option value="AUR">Aurora</option>
<option value="AUE">Aurora-E</option>
@@ -111,8 +115,8 @@
</div>
<div class="form-row">
<div class="form-group col-md-3">
<label for="datetimepicker1">From date:</label>
<div class="csvdatepicker input-group date col-md-12" id="datetimepicker1" data-target-input="nearest">
<label for="datetimepicker1"><?php echo lang('gen_from_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker1" data-target-input="nearest">
<input name="fromdate" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>
<div class="input-group-append" data-target="#datetimepicker1" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
@@ -121,9 +125,9 @@
</div>
<div class="form-group col-md-3">
<label for="datetimepicker2">To date:</label>
<div class="csvdatepicker input-group date col-md-12" id="datetimepicker2" data-target-input="nearest">
<input name="todate" "totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<label for="datetimepicker2"><?php echo lang('gen_to_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker2" data-target-input="nearest">
<input name="todate" totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<div class="input-group-append" data-target="#datetimepicker2" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
@@ -131,7 +135,7 @@
</div>
</div>
<br>
<button type="submit" class="btn btn-primary mb-2" value="Export">Export</button>
<button type="submit" class="btn btn-primary mb-2" value="Export"><?php echo lang('general_word_export'); ?></button>
</form>
</div>
</div>

View File

@@ -1,14 +1,14 @@
<div class="container">
<br>
<h2><?php echo $page_title; ?></h2>
<h2><?php echo lang('export_dxatlas_header'); ?></h2>
<div class="card">
<div class="card-header">
Export your logbook for use in DX Atlas to display worked / confirmed gridsquares.
<?php echo lang('export_dxatlas_description'); ?>
</div>
<div class="alert alert-warning" role="alert">
Only QSOs with a gridsquare defined will be exported!
<?php echo lang('export_dxatlas_gridsquare_warning'); ?>
</div>
<div class="card-body">
@@ -18,9 +18,9 @@
<div class="form-group col-md-3">
<label for="station_profile"><?php echo lang('cloudlog_station_profile'); ?></label>
<select name="station_profile" class="station_id custom-select">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php foreach ($station_profile->result() as $station) { ?>
<option value="<?php echo $station->station_id; ?>">Callsign: <?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
<option value="<?php echo $station->station_id; ?>"><?php echo lang('gen_hamradio_callsign') . ": "; ?><?php echo $station->station_callsign; ?> (<?php echo $station->station_profile_name; ?>)</option>
<?php } ?>
</select>
</div>
@@ -28,9 +28,9 @@
<div class="form-row">
<div class="form-group col-md-3">
<label for="band">Band</label>
<label for="band"><?php echo lang('gen_hamradio_band'); ?></label>
<select id="band" name="band" class="custom-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> >Every band</option>
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
@@ -39,9 +39,9 @@
</select>
</div>
<div class="form-group col-md-3">
<label for="mode">Mode</label>
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-control custom-select">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
@@ -55,9 +55,9 @@
</div>
<div class="form-group col-md-4">
<label for="dxcc_id">DXCC</label>
<label for="dxcc_id"><?php echo lang('gen_hamradio_dxcc'); ?></label>
<select class="custom-select" id="dxcc_id" name="dxcc_id">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($dxcc as $d){
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower($d->name), "- (/");
@@ -77,9 +77,9 @@
<div class="form-row">
<div class="form-group col-md-3">
<label for="cqz">CQ Zone</label>
<label for="cqz"><?php echo lang('gen_hamradio_cq_zone'); ?></label>
<select class="custom-select" id="cqz" name="cqz">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
for ($i = 1; $i<=40; $i++) {
echo '<option value="'. $i . '">'. $i .'</option>';
@@ -89,9 +89,9 @@
</div>
<div class="form-group col-md-5">
<label for="selectPropagation">Propagation Mode</label>
<label for="selectPropagation"><?php echo lang('gen_hamradio_propagation_mode'); ?></label>
<select class="custom-select" id="selectPropagation" name="prop_mode">
<option value="All">All</option>
<option value="All"><?php echo lang('general_word_all'); ?></option>
<option value="AS">Aircraft Scatter</option>
<option value="AUR">Aurora</option>
<option value="AUE">Aurora-E</option>
@@ -115,8 +115,8 @@
</div>
<div class="form-row">
<div class="form-group col-md-3">
<label for="datetimepicker1">From date:</label>
<div class="dxatlasdatepicker input-group date col-md-12" id="datetimepicker1" data-target-input="nearest">
<label for="datetimepicker1"><?php echo lang('gen_from_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker1" data-target-input="nearest">
<input name="fromdate" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>
<div class="input-group-append" data-target="#datetimepicker1" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
@@ -125,9 +125,9 @@
</div>
<div class="form-group col-md-3">
<label for="datetimepicker2">To date:</label>
<div class="dxatlasdatepicker input-group date col-md-12" id="datetimepicker2" data-target-input="nearest">
<input name="todate" "totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<label for="datetimepicker2"><?php echo lang('gen_to_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker2" data-target-input="nearest">
<input name="todate" totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<div class="input-group-append" data-target="#datetimepicker2" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
@@ -135,7 +135,7 @@
</div>
</div>
<br>
<button type="submit" class="btn btn-primary mb-2" value="Export">Export</button>
<button type="submit" class="btn btn-primary mb-2" value="Export"><?php echo lang('general_word_export'); ?></button>
</form>
</div>
</div>

View File

@@ -2284,7 +2284,7 @@ $(document).ready(function(){
</script>
<?php } ?>
<?php if ($this->uri->segment(1) == "kml") { ?>
<?php if ($this->uri->segment(1) == "kmlexport") { ?>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/moment.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/tempusdominus-bootstrap-4.min.js"></script>
<script type="text/javascript">

View File

@@ -14,108 +14,111 @@
<div class="card-body">
<form class="form" action="<?php echo site_url('kmlexport/export'); ?>" method="post" enctype="multipart/form-data">
<div class="form-row">
<div class="form-group col-md-3">
<label for="band"><?php echo lang('gen_hamradio_band'); ?></label>
<select id="band" name="band" class="custom-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
echo '>' . $band . '</option>'."\n";
} ?>
</select>
</div>
<div class="form-group">
<label for="band"><?php echo lang('gen_hamradio_band'); ?></label>
<select id="band" name="band" class="custom-select">
<option value="All" <?php if ($this->input->post('band') == "All" || $this->input->method() !== 'post') echo ' selected'; ?> ><?php echo lang('general_word_all'); ?></option>
<?php foreach($worked_bands as $band) {
echo '<option value="' . $band . '"';
if ($this->input->post('band') == $band) echo ' selected';
echo '>' . $band . '</option>'."\n";
} ?>
</select>
</div>
<div class="form-group">
<label for="dxcc_id"><?php echo lang('gen_hamradio_dxcc'); ?></label>
<select class="custom-select" id="dxcc_id" name="dxcc_id">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($dxcc as $d){
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower($d->name), "- (/");
if ($d->Enddate != null) {
echo ' ('.lang('gen_hamradio_deleted_dxcc').')';
<div class="form-group col-md-3">
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-control custom-select">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
echo '<option value="' . $mode->mode . '">'. $mode->mode . '</option>'."\n";
} else {
echo '<option value="' . $mode->submode . '">' . $mode->submode . '</option>'."\n";
}
echo '</option>';
}
?>
?>
</select>
</div>
</select>
</div>
<div class="form-group col-md-4">
<label for="dxcc_id"><?php echo lang('gen_hamradio_dxcc'); ?></label>
<select class="custom-select" id="dxcc_id" name="dxcc_id">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($dxcc as $d){
echo '<option value=' . $d->adif . '>' . $d->prefix . ' - ' . ucwords(strtolower($d->name), "- (/");
if ($d->Enddate != null) {
echo ' ('.lang('gen_hamradio_deleted_dxcc').')';
}
echo '</option>';
}
?>
<div class="form-group">
<label for="mode"><?php echo lang('gen_hamradio_mode'); ?></label>
<select id="mode" name="mode" class="form-control custom-select">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
foreach($modes->result() as $mode){
if ($mode->submode == null) {
echo '<option value="' . $mode->mode . '">'. $mode->mode . '</option>'."\n";
} else {
echo '<option value="' . $mode->submode . '">' . $mode->submode . '</option>'."\n";
}
}
?>
</select>
</div>
<div class="form-group">
<label for="cqz"><?php echo lang('gen_hamradio_cq_zone'); ?></label>
<select class="custom-select" id="cqz" name="cqz">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
for ($i = 1; $i<=40; $i++) {
echo '<option value="'. $i . '">'. $i .'</option>';
}
?>
</select>
</div>
<div class="form-group">
<label for="selectPropagation"><?php echo lang('gen_hamradio_propagation_mode'); ?></label>
<select class="custom-select" id="selectPropagation" name="prop_mode">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<option value="AS">Aircraft Scatter</option>
<option value="AUR">Aurora</option>
<option value="AUE">Aurora-E</option>
<option value="BS">Back scatter</option>
<option value="ECH">EchoLink</option>
<option value="EME">Earth-Moon-Earth</option>
<option value="ES">Sporadic E</option>
<option value="FAI">Field Aligned Irregularities</option>
<option value="F2">F2 Reflection</option>
<option value="INTERNET">Internet-assisted</option>
<option value="ION">Ionoscatter</option>
<option value="IRL">IRLP</option>
<option value="MS">Meteor scatter</option>
<option value="RPT">Terrestrial or atmospheric repeater or transponder</option>
<option value="RS">Rain scatter</option>
<option value="SAT">Satellite</option>
<option value="TEP">Trans-equatorial</option>
<option value="TR">Tropospheric ducting</option>
</select>
</div>
<p class="card-text"><?php echo lang('gen_from_date') . ':'; ?></p>
<div class="row">
<div class="input-group date col-md-3" id="datetimepicker1" data-target-input="nearest">
<input name="fromdate" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>
<div class="input-group-append" data-target="#datetimepicker1" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
</select>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-3">
<label for="cqz"><?php echo lang('gen_hamradio_cq_zone'); ?></label>
<select class="custom-select" id="cqz" name="cqz">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<?php
for ($i = 1; $i<=40; $i++) {
echo '<option value="'. $i . '">'. $i .'</option>';
}
?>
</select>
</div>
<p class="card-text"><?php echo lang('gen_to_date') . ':'; ?></p>
<div class="row">
<div class="input-group date col-md-3" id="datetimepicker2" data-target-input="nearest">
<input name="todate" "totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<div class="input-group-append" data-target="#datetimepicker2" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
<div class="form-group col-md-5">
<label for="selectPropagation"><?php echo lang('gen_hamradio_propagation_mode'); ?></label>
<select class="custom-select" id="selectPropagation" name="prop_mode">
<option value="All"><?php echo lang('general_word_all'); ?></option>
<option value="AS">Aircraft Scatter</option>
<option value="AUR">Aurora</option>
<option value="AUE">Aurora-E</option>
<option value="BS">Back scatter</option>
<option value="ECH">EchoLink</option>
<option value="EME">Earth-Moon-Earth</option>
<option value="ES">Sporadic E</option>
<option value="FAI">Field Aligned Irregularities</option>
<option value="F2">F2 Reflection</option>
<option value="INTERNET">Internet-assisted</option>
<option value="ION">Ionoscatter</option>
<option value="IRL">IRLP</option>
<option value="MS">Meteor scatter</option>
<option value="RPT">Terrestrial or atmospheric repeater or transponder</option>
<option value="RS">Rain scatter</option>
<option value="SAT">Satellite</option>
<option value="TEP">Trans-equatorial</option>
<option value="TR">Tropospheric ducting</option>
</select>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-3">
<label for="datetimepicker1"><?php echo lang('gen_from_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker1" data-target-input="nearest">
<input name="fromdate" type="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>
<div class="input-group-append" data-target="#datetimepicker1" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
</div>
</div>
<div class="form-group col-md-3">
<label for="datetimepicker2"><?php echo lang('gen_to_date') . ':'; ?></label>
<div class="exportdatepicker input-group date col-md-12" id="datetimepicker2" data-target-input="nearest">
<input name="todate" totype="text" placeholder="DD/MM/YYYY" class="form-control datetimepicker-input" data-target="#datetimepicker2"/>
<div class="input-group-append" data-target="#datetimepicker2" data-toggle="datetimepicker">
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
</div>
</div>
</div>
</div>
<br>
<button type="submit" class="btn btn-primary mb-2" value="Export"><?php echo lang('general_word_export'); ?></button>
</form>

View File

@@ -313,7 +313,7 @@ color: #ffffff;
/*
* Timepicker alignment
*/
.dxatlasdatepicker {
.exportdatepicker {
padding-right: 0;
padding-left: 0;
}