Some cosmetics on webpage, tnx Ron, VE1AIC

This commit is contained in:
dg9vh 2016-05-09 15:46:49 +02:00
parent ac523d6248
commit 0410c1e73e
4 changed files with 10 additions and 10 deletions

View file

@ -3,10 +3,10 @@ $lastHeard = getLastHeard($logLines);
?>
<div class="panel panel-default">
<!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Last Heard List</div>
<div class="panel-body">
<div class="panel-heading">Last Heard List of today's <?php echo LHLINES; ?> callsigns.</div>
<!--<div class="panel-body">
<p>In the following table you will find a maximum of the last <?php echo LHLINES; ?> callsigns heard on this repeater for the current day</p>
</div>
</div>-->
<!-- Tabelle -->
<table class="table">

View file

@ -1,9 +1,9 @@
<div class="panel panel-default">
<!-- Standard-Panel-Inhalt -->
<div class="panel-heading">Repeater Info</div>
<div class="panel-body">
<!--<div class="panel-body">
<p>Some info about link states</p>
</div>
</div>-->
<!-- Tabelle -->
<table class="table">

View file

@ -12,15 +12,15 @@ function format_time($seconds) {
}
if ($hours > 0) {
$uptimeString .= (($days > 0) ? ", " : "") . $hours;
$uptimeString .= (($hours == 1) ? "&nbsp;hour" : "&nbsp;hours");
$uptimeString .= (($hours == 1) ? "&nbsp;hr" : "&nbsp;hrs");
}
if ($mins > 0) {
$uptimeString .= (($days > 0 || $hours > 0) ? ", " : "") . $mins;
$uptimeString .= (($mins == 1) ? "&nbsp;minute" : "&nbsp;minutes");
$uptimeString .= (($mins == 1) ? "&nbsp;min" : "&nbsp;mins");
}
if ($secs > 0) {
$uptimeString .= (($days > 0 || $hours > 0 || $mins > 0) ? ", " : "") . $secs;
$uptimeString .= (($secs == 1) ? "&nbsp;second" : "&nbsp;seconds");
$uptimeString .= (($secs == 1) ? "&nbsp;s" : "&nbsp;s");
}
return $uptimeString;
}

View file

@ -25,7 +25,7 @@ include "include/functions.php";
</head>
<body>
<div class="page-header">
<h1><small>MMDVM-Dashboard by DG9VH</small> Repeater: <?php echo REPEATERCALLSIGN?></h1>
<h1><small>MMDVM-Dashboard by DG9VH for Repeater:</small> <?php echo REPEATERCALLSIGN?></h1>
</div>
<?php
include "include/sysinfo.php";
@ -34,7 +34,7 @@ include "include/lh.php";
?>
<div class="panel panel-info">
<?php
$datum = date("d.m.Y");
$datum = date("Y-m-d");
$uhrzeit = date("H:i:s");
echo "Last Update $datum, $uhrzeit";
$time = microtime();