Changed Warning Color

pull/2571/head
HB9HIL 2023-10-16 10:51:04 +02:00
rodzic 983ad2c233
commit cf540407c8
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -547,7 +547,7 @@ document.getElementById('dxcc_select').addEventListener('change', function() {
var isDeleted = selectedOption.textContent.includes("<?php echo lang('gen_hamradio_deleted_dxcc'); ?>"); var isDeleted = selectedOption.textContent.includes("<?php echo lang('gen_hamradio_deleted_dxcc'); ?>");
if (isDeleted) { if (isDeleted) {
this.style.border = '2px solid red'; this.style.border = '2px solid rgb(217, 83, 79)';
warningMessage.innerText = lang_station_location_dxcc_warning; warningMessage.innerText = lang_station_location_dxcc_warning;
} else { } else {
this.style.border = ''; this.style.border = '';

Wyświetl plik

@ -62,7 +62,7 @@
</select> </select>
<?php } ?> <?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo lang("station_location_dxcc_hint"); ?></small> <small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo lang("station_location_dxcc_hint"); ?></small>
<div id="warningMessage" style="color: red;"></div> <div id="warningMessage" style="color: rgb(217, 83, 79);"></div>
</div> </div>
<div class="form-group"> <div class="form-group">

Wyświetl plik

@ -88,7 +88,7 @@
</select> </select>
<?php } ?> <?php } ?>
<small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo lang("station_location_dxcc_hint"); ?></small> <small id="stationDXCCInputHelp" class="form-text text-muted"><?php echo lang("station_location_dxcc_hint"); ?></small>
<div id="warningMessage" style="color: red;"></div> <div id="warningMessage" style="color: rgb(217, 83, 79);"></div>
</div> </div>
<!-- City --> <!-- City -->