When you have selected "SAT" in WAS it will show button to show map

pull/1013/head
Peter Goodhall 2021-04-29 23:50:45 +01:00
rodzic 23ecffafd0
commit 2b9dc45b02
3 zmienionych plików z 33 dodań i 1 usunięć

Wyświetl plik

@ -64,6 +64,15 @@
</fieldset>
</form>
<?php if ($this->input->post('band') == "SAT") { ?>
<a href="#" onclick="load_was_map();" class="btn btn-primary">Show WAS Map</a><br><br>
<br>
<?php } ?>
<?php
if ($was_array) {
$i = 1;

Wyświetl plik

@ -18,6 +18,19 @@
var icon_dot_url = "<?php echo base_url();?>assets/images/dot.png";
</script>
<script>
function load_was_map() {
BootstrapDialog.show({
title: 'Worked All States Map',
cssClass: 'was-map-dialog',
message: $('<div></div>').load(site_url + '/awards/was_map')
});
}
</script>
<?php if ($this->uri->segment(1) == "adif") { ?>
<!-- Javascript used for ADIF Import and Export Areas -->
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/moment.min.js"></script>

Wyświetl plik

@ -232,4 +232,14 @@ color: #ffffff;
.debug_main .card {
margin-bottom: 10px;
}
}
.was-map-dialog .modal-dialog {
width: 100%;
}
@media (min-width: 576px) {
.was-map-dialog .modal-dialog {
max-width: 70% !important;
}
}