A dual band aprs digipeater with enhanced telemetry capabilities.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
2.1 KiB

<!DOCTYPE html>
<html>
<head>
<title>PE1RXF APRS server</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="refresh" content="600">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/popup.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
</head>
<body>
<?php
#Data format:
#0,1,2,3,4,5,6,7,8,9
# 0 = acces point off/on (0/1)
# 1 = station stal off/on (0/1)
# 2 = station tiny house off/on (0/1)
$status = array_map('str_getcsv', file("/home/marcel/ham/aprs_utils/5ghz/5ghz-status.dat"));
?>
<div class="header">
<a href="index.php" >
<h1><i class="fa fa-home" aria-hidden="true"></i>&nbsp; PE1RXF 5 GHz access point manager</h1>
</a>
</div>
<div class="row">
<div class="col-3 col-s-3 menu">
<ul>
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
</ul>
</div>
<div class="col-6 col-s-9" id="main_page">
<div class="col-6 col-s-12">
<a href="toggle_ap.php"><img src="images/power.svg" /></a>
<h1>Access Point</h1>
<a href="toggle_stal.php"><img src="images/power.svg" /></a>
<h1>Station Stal</h1>
</div>
<div class="col-6 col-s-12">
<a href="power_on_tinyhouse.php"><img src="images/power.svg" /></a>
<h1>Station Tiny house ON</h1>
<a href="power_off_tinyhouse.php"><img src="images/power.svg" /></a>
<h1>Station Tiny house OFF</h1>
</div>
</div>
<div class="col-3 col-s-12 menu">
<ul>
<li><h3>Access point: <?php if ($status[0][0] == 0) echo "OFF";else echo "ON" ?></h3></li>
<li><h3>Station stal: <?php if ($status[0][1] == 0) echo "OFF";else echo "ON" ?></h3></li>
<li><h3>Station tiny house: <?php if ($status[0][2] == 0) echo "OFF";else echo "ON" ?></h3></li>
</ul>
</div>
</div>
</body>
</html>