mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Show error message in case ant el is (too) negative
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
var lang_dxccsummary_for = "<?= __("DXCC Summary for "); ?>";
|
||||
var lang_lotw_upload_day_ago = "<?= __("LoTW User. Last upload was 1 day ago."); ?>";
|
||||
var lang_lotw_upload_days_ago = "<?= __("LoTW User. Last upload was %x days ago."); ?>"; // due to the way the string is built (PHP to JS), %x is replaced with the number of days
|
||||
var lang_invalid_ant_el = "<?= __("Invalid value for antenna elevation:"); ?>";
|
||||
var latlng=[<?php echo $lat.','.$lng;?>];
|
||||
</script>
|
||||
|
||||
@@ -604,7 +605,7 @@
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="ant_el"><?= __("Antenna Elevation (°)"); ?></label>
|
||||
<input type="number" inputmode="decimal" step="0.1" min="-5" max="90" class="form-control" id="ant_el" name="ant_el" />
|
||||
<input type="number" inputmode="decimal" step="0.1" min="-5" max="90" class="form-control" id="ant_el" name="ant_el" onInvalid="invalidAntEl()" />
|
||||
<small id="elHelp" class="form-text text-muted"><?= __("Antenna elevation in decimal degrees."); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user