kopia lustrzana https://github.com/magicbug/Cloudlog
Changed Warning Color
rodzic
983ad2c233
commit
cf540407c8
|
@ -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 = '';
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
Ładowanie…
Reference in New Issue