Cloudlog/application/views/gridmap/index.php

95 wiersze
3.3 KiB
PHP
Czysty Zwykły widok Historia

2023-06-19 09:03:29 +00:00
<style>
/*Legend specific*/
.legend {
padding: 6px 8px;
font: 14px Arial, Helvetica, sans-serif;
background: white;
background: rgba(255, 255, 255, 0.8);
line-height: 24px;
color: #555;
}
.legend h4 {
text-align: center;
font-size: 16px;
margin: 2px 12px 8px;
color: #777;
}
.legend span {
position: relative;
bottom: 3px;
}
.legend i {
width: 18px;
height: 18px;
float: left;
margin: 0 8px 0 0;
opacity: 0.7;
}
</style>
<div class="container">
<br>
<h2><?php echo $page_title; ?></h2>
<form class="form-inline">
<label class="my-1 mr-2" for="band"><?php echo lang('gen_band_selection'); ?></label>
<select class="custom-select my-1 mr-sm-2" id="band">
<option value="All">All</option>
<?php foreach($bands as $band) {
echo '<option value="' . $band . '"' . '>' . $band . '</option>'."\n";
} ?>
</select>
2023-06-19 09:29:46 +00:00
<?php if (count($sats_available) != 0) { ?>
<label class="my-1 mr-2" for="distplot_sats">Satellite</label>
<select class="custom-select my-1 mr-sm-2" id="sats" disabled>
<option value="All">All</option>
<?php foreach($sats_available as $sat) {
echo '<option value="' . $sat . '"' . '>' . $sat . '</option>'."\n";
} ?>
</select>
<?php } else { ?>
<input id="sats" type="hidden" value="All"></input>
<?php } ?>
<label class="my-1 mr-2" for="mode">Mode selection</label>
<select class="custom-select my-1 mr-sm-2" id="mode">
<option value="All">All</option>
2023-06-19 09:29:46 +00:00
<?php
foreach($modes as $mode){
if ($mode->submode == null) {
echo '<option value="' . $mode . '">' . strtoupper($mode) . '</option>'."\n";
}
}
?>
</select>
<label class="my-1 mr-2">Confirmation</label>
<div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="qsl" id="qsl" checked>
<label class="form-check-label" for="qsl">QSL</label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="lotw" id="lotw" checked>
<label class="form-check-label" for="lotw">LoTW</label>
</div>
<div class="form-check-inline">
<input class="form-check-input" type="checkbox" name="eqsl" id="eqsl">
<label class="form-check-label" for="eqsl">eQSL</label>
</div>
</div>
<button id="plot" type="button" name="plot" class="btn btn-primary" onclick="gridPlot(this.form)">Plot</button>
</form>
<?php if($this->session->flashdata('message')) { ?>
<!-- Display Message -->
<div class="alert-message error">
<p><?php echo $this->session->flashdata('message'); ?></p>
</div>
<?php } ?>
</div>
<div id="gridmapcontainer">
<div id="gridsquare_map" style="width: 100%; height: 800px"></div>
</div>
<script>var gridsquaremap = true;</script>