some css changes

This commit is contained in:
Per Qvarforth 2022-01-25 21:59:17 +01:00
parent fe53e2dbb4
commit 5e8e6b747f
6 changed files with 18 additions and 20 deletions

View File

@ -252,6 +252,9 @@ a {
.modal-content-header { .modal-content-header {
width: 100%; width: 100%;
height: 55px; height: 55px;
border-bottom: 1px solid #e9ecef;
border-top-left-radius: 0.3rem;
border-top-right-radius: 0.3rem;
} }
.modal-content-body { .modal-content-body {
@ -556,10 +559,11 @@ input[type=submit]:hover {
.horizontal-line { .horizontal-line {
height: 1px; height: 1px;
margin: 0; margin: 5px 0px 25px 0px;
padding: 0; padding: 0;
background-color: lightgrey; background-color: #e9ecef;
clear: both; clear: both;
margin-top: 3px;
} }

View File

@ -1,6 +1,6 @@
<?php require "../../includes/bootstrap.php"; ?> <?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 if ($station->isExistingObject()) : ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <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> <a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
</div> </div>
<div class="horizontal-line" style="margin-bottom: 15px;">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<div class="overview-content-summary"> <div class="overview-content-summary">
<div> <div>
@ -449,8 +449,6 @@
<!-- Related stations --> <!-- Related stations -->
<?php $relatedStations = StationRepository::getInstance()->getRelatedObjectListByStationId($station->id, 15); ?> <?php $relatedStations = StationRepository::getInstance()->getRelatedObjectListByStationId($station->id, 15); ?>
<?php if (count($relatedStations) > 1) : ?> <?php if (count($relatedStations) > 1) : ?>
<div class="overview-content-divider"></div>
<div> <div>
<?php $relatedStattionNote = true; ?> <?php $relatedStattionNote = true; ?>
<div class="overview-content-summary-hr">Related stations/objects:</div> <div class="overview-content-summary-hr">Related stations/objects:</div>
@ -464,15 +462,13 @@
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div> </div>
<div class="overview-content-divider"></div>
<?php endif; ?> <?php endif; ?>
<!-- Close by stations --> <!-- Close by stations -->
<?php $closeByStations = StationRepository::getInstance()->getCloseByObjectListByStationId($station->id, 15); ?> <?php $closeByStations = StationRepository::getInstance()->getCloseByObjectListByStationId($station->id, 15); ?>
<?php if (count($closeByStations) > 1) : ?> <?php if (count($closeByStations) > 1) : ?>
<div class="overview-content-divider"></div>
<div> <div>
<div class="overview-content-summary-hr">Nearby stations/objects:</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"> <div class="overview-content-station-list" title="The closest stations/objects at the current position">
@ -504,16 +500,14 @@
<?php endforeach; ?> <?php endforeach; ?>
</div> </div>
</div> </div>
<div class="overview-content-divider"></div>
<?php endif; ?> <?php endif; ?>
<div class="overview-content-divider"></div>
</div> </div>
<?php if (count($relatedStations) > 1 || count($closeByStations) > 1) : ?> <?php if (count($relatedStations) > 1 || count($closeByStations) > 1) : ?>
<div class="horizontal-line">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<?php endif; ?> <?php endif; ?>
<br/>
<div class="overview-content-explanations"> <div class="overview-content-explanations">
<ul> <ul>

View File

@ -1,6 +1,6 @@
<?php require "../../includes/bootstrap.php"; ?> <?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 if ($station->isExistingObject()) : ?>
<?php <?php
@ -89,7 +89,7 @@
<span>Raw packets</span> <span>Raw packets</span>
</div> </div>
<div class="horizontal-line" style="margin-bottom: 15px;">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<p> <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. 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.

View File

@ -1,6 +1,6 @@
<?php require "../../includes/bootstrap.php"; ?> <?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 if ($station->isExistingObject()) : ?>
<?php $days = 10; ?> <?php $days = 10; ?>
<?php $senderStats = PacketPathRepository::getInstance()->getSenderPacketPathSatistics($station->id, time() - (60*60*24*$days)); ?> <?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> <a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
</div> </div>
<div class="horizontal-line" style="margin-bottom: 15px;">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<p> <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. 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.

View File

@ -1,6 +1,6 @@
<?php require "../../includes/bootstrap.php"; ?> <?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 if ($station->isExistingObject()) : ?>
<?php <?php
$maxDays = 10; $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> <a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
</div> </div>
<div class="horizontal-line" style="margin-bottom: 15px;">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<?php if (count($telemetryPackets) > 0) : ?> <?php if (count($telemetryPackets) > 0) : ?>

View File

@ -1,6 +1,6 @@
<?php require "../../includes/bootstrap.php"; ?> <?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 if ($station->isExistingObject()) : ?>
<?php <?php
$maxDays = 10; $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> <a title="Raw packets" href="/station/raw.php?id=<?php echo $station->id ?>&imperialUnits=<?php echo $_GET['imperialUnits'] ?? 0; ?>">Raw packets</a>
</div> </div>
<div class="horizontal-line" style="margin-bottom: 15px;">&nbsp;</div> <div class="horizontal-line">&nbsp;</div>
<?php if (count($weatherPackets) > 0) : ?> <?php if (count($weatherPackets) > 0) : ?>