Some cosmetics on webpage, tnx Ron, VE1AIC
This commit is contained in:
parent
ac523d6248
commit
0410c1e73e
4 changed files with 10 additions and 10 deletions
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -12,15 +12,15 @@ function format_time($seconds) {
|
|||
}
|
||||
if ($hours > 0) {
|
||||
$uptimeString .= (($days > 0) ? ", " : "") . $hours;
|
||||
$uptimeString .= (($hours == 1) ? " hour" : " hours");
|
||||
$uptimeString .= (($hours == 1) ? " hr" : " hrs");
|
||||
}
|
||||
if ($mins > 0) {
|
||||
$uptimeString .= (($days > 0 || $hours > 0) ? ", " : "") . $mins;
|
||||
$uptimeString .= (($mins == 1) ? " minute" : " minutes");
|
||||
$uptimeString .= (($mins == 1) ? " min" : " mins");
|
||||
}
|
||||
if ($secs > 0) {
|
||||
$uptimeString .= (($days > 0 || $hours > 0 || $mins > 0) ? ", " : "") . $secs;
|
||||
$uptimeString .= (($secs == 1) ? " second" : " seconds");
|
||||
$uptimeString .= (($secs == 1) ? " s" : " s");
|
||||
}
|
||||
return $uptimeString;
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue