some css changes
This commit is contained in:
parent
fe53e2dbb4
commit
5e8e6b747f
|
|
@ -252,6 +252,9 @@ a {
|
|||
.modal-content-header {
|
||||
width: 100%;
|
||||
height: 55px;
|
||||
border-bottom: 1px solid #e9ecef;
|
||||
border-top-left-radius: 0.3rem;
|
||||
border-top-right-radius: 0.3rem;
|
||||
}
|
||||
|
||||
.modal-content-body {
|
||||
|
|
@ -556,10 +559,11 @@ input[type=submit]:hover {
|
|||
|
||||
.horizontal-line {
|
||||
height: 1px;
|
||||
margin: 0;
|
||||
margin: 5px 0px 25px 0px;
|
||||
padding: 0;
|
||||
background-color: lightgrey;
|
||||
background-color: #e9ecef;
|
||||
clear: both;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php require "../../includes/bootstrap.php"; ?>
|
||||
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id']); ?>
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
|
||||
<?php if ($station->isExistingObject()) : ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
|
||||
</div>
|
||||
|
||||
<div class="horizontal-line" style="margin-bottom: 15px;"> </div>
|
||||
<div class="horizontal-line"> </div>
|
||||
|
||||
<div class="overview-content-summary">
|
||||
<div>
|
||||
|
|
@ -449,8 +449,6 @@
|
|||
<!-- Related stations -->
|
||||
<?php $relatedStations = StationRepository::getInstance()->getRelatedObjectListByStationId($station->id, 15); ?>
|
||||
<?php if (count($relatedStations) > 1) : ?>
|
||||
<div class="overview-content-divider"></div>
|
||||
|
||||
<div>
|
||||
<?php $relatedStattionNote = true; ?>
|
||||
<div class="overview-content-summary-hr">Related stations/objects:</div>
|
||||
|
|
@ -464,15 +462,13 @@
|
|||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overview-content-divider"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<!-- Close by stations -->
|
||||
<?php $closeByStations = StationRepository::getInstance()->getCloseByObjectListByStationId($station->id, 15); ?>
|
||||
<?php if (count($closeByStations) > 1) : ?>
|
||||
|
||||
<div class="overview-content-divider"></div>
|
||||
|
||||
<div>
|
||||
<div class="overview-content-summary-hr">Nearby stations/objects:</div>
|
||||
<div class="overview-content-station-list" title="The closest stations/objects at the current position">
|
||||
|
|
@ -504,16 +500,14 @@
|
|||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="overview-content-divider"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="overview-content-divider"></div>
|
||||
</div>
|
||||
|
||||
<?php if (count($relatedStations) > 1 || count($closeByStations) > 1) : ?>
|
||||
<div class="horizontal-line"> </div>
|
||||
<?php endif; ?>
|
||||
|
||||
<br/>
|
||||
<div class="overview-content-explanations">
|
||||
<ul>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php require "../../includes/bootstrap.php"; ?>
|
||||
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id']); ?>
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
|
||||
<?php if ($station->isExistingObject()) : ?>
|
||||
|
||||
<?php
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
<span>Raw packets</span>
|
||||
</div>
|
||||
|
||||
<div class="horizontal-line" style="margin-bottom: 15px;"> </div>
|
||||
<div class="horizontal-line"> </div>
|
||||
|
||||
<p>
|
||||
This is the latest recevied packets stored in our database for station/object <?php echo $station->name; ?>. If no packets are shown the sender has not sent any packets the latest 24 hours.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php require "../../includes/bootstrap.php"; ?>
|
||||
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id']); ?>
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
|
||||
<?php if ($station->isExistingObject()) : ?>
|
||||
<?php $days = 10; ?>
|
||||
<?php $senderStats = PacketPathRepository::getInstance()->getSenderPacketPathSatistics($station->id, time() - (60*60*24*$days)); ?>
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
<a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
|
||||
</div>
|
||||
|
||||
<div class="horizontal-line" style="margin-bottom: 15px;"> </div>
|
||||
<div class="horizontal-line"> </div>
|
||||
|
||||
<p>
|
||||
The communication statistics that we show here may differ from similar communication statistics on other websites, the reason is probably that this website is not collecting packets from the same APRS servers. Each APRS server performes duplicate filtering, and which packet that is considered to be a duplicate may differ depending on which APRS server you receive your data from.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php require "../../includes/bootstrap.php"; ?>
|
||||
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id']); ?>
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
|
||||
<?php if ($station->isExistingObject()) : ?>
|
||||
<?php
|
||||
$maxDays = 10;
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
<a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
|
||||
</div>
|
||||
|
||||
<div class="horizontal-line" style="margin-bottom: 15px;"> </div>
|
||||
<div class="horizontal-line"> </div>
|
||||
|
||||
<?php if (count($telemetryPackets) > 0) : ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php require "../../includes/bootstrap.php"; ?>
|
||||
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id']); ?>
|
||||
<?php $station = StationRepository::getInstance()->getObjectById($_GET['id'] ?? null); ?>
|
||||
<?php if ($station->isExistingObject()) : ?>
|
||||
<?php
|
||||
$maxDays = 10;
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
<a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
|
||||
</div>
|
||||
|
||||
<div class="horizontal-line" style="margin-bottom: 15px;"> </div>
|
||||
<div class="horizontal-line"> </div>
|
||||
|
||||
<?php if (count($weatherPackets) > 0) : ?>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue